Magellan Linux

Contents of /branches/R11-unstable/extras/aqemu/aqemu-0.8.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 25116 - (show annotations) (download)
Tue Nov 25 03:04:13 2014 UTC (9 years, 5 months ago) by niro
File size: 1379 byte(s)
-release branches/R11-unstable
1 # $Id$
2
3 PNAME="aqemu"
4 PVER="0.8.2"
5 PBUILD="r1"
6
7 PCAT="app-emulation"
8
9 DESCRIPTION="Full-featured QT4 front-end for the Qemu x86 PC emulator."
10 HOMEPAGE="http://aqemu.sourceforge.net/"
11
12 DEPEND=">= virtual/qemu
13 >= sys-libs/libstdc++-4.6
14 >= net-libs/libvncserver-0.9
15 >= x11-libs/qt4-core-4.8
16 >= x11-libs/qt4-gui-4.8
17 >= x11-libs/qt4-test-4.8
18 >= x11-libs/qt4-xmlpatterns-4.8"
19
20 SRCFILE="${PNAME}-${PVER}.tar.bz2"
21 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
22
23 sminclude cmake qt4
24
25 SRC_URI=(
26 sourceforge://${PNAME}/${SRCFILE}
27 mirror://${PNAME}/${SRCFILE}
28 mirror://${PNAME}/${PNAME}-${PVER}-sigsev-properties.patch
29 mirror://${PNAME}/${PNAME}-${PVER}-qt48.patch
30 mirror://${PNAME}/${PNAME}-${PVER}-desktop-file.patch
31 )
32
33 UP2DATE="updatecmd_sourceforge ${PNAME}"
34
35 src_prepare()
36 {
37 munpack ${SRCFILE} || die
38 cd ${SRCDIR}
39
40 # fix a crash of the device-manager
41 mpatch ${PNAME}-${PVER}-sigsev-properties.patch || die
42
43 # fix build against qt >=4.8
44 mpatch ${PNAME}-${PVER}-qt48.patch || die
45
46 # fix desktop file and localization
47 mpatch ${PNAME}-${PVER}-desktop-file.patch || die
48 }
49
50 src_compile()
51 {
52 # build outside of the source dir
53 install -d ${BUILDDIR}/build || die
54 cd ${BUILDDIR}/build
55
56 # without_embedded_display=off to enable the vnc embeded display
57 cmake_configure \
58 $(cmake_opt MAN_PAGE_COMPRESSOR "") \
59 $(cmake_opt WITHOUT_EMBEDDED_DISPLAY OFF) \
60 || die
61
62 mmake || die
63 }