Magellan Linux

Annotation of /trunk/extras/aqemu/aqemu-0.8.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12552 - (hide annotations) (download)
Sat Jun 9 11:21:17 2012 UTC (12 years ago) by niro
File size: 1379 byte(s)
auto added: ver bump to 0.8.2-r1
1 niro 12552 # $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     }