Annotation of /trunk/todo/libmustux/libmustux-0.20.2-r6.smage2
Parent Directory | Revision Log
Revision 2446 -
(hide annotations)
(download)
Thu Jul 9 20:02:01 2009 UTC (15 years, 2 months ago) by niro
File size: 1157 byte(s)
Thu Jul 9 20:02:01 2009 UTC (15 years, 2 months ago) by niro
File size: 1157 byte(s)
-moved to 'todo'
1 | niro | 2 | # $Header: /magellan-cvs/smage/libmustux/libmustux-0.20.2-r6.smage2,v 1.2 2008/02/07 14:23:44 niro Exp $ |
2 | |||
3 | PNAME="libmustux" | ||
4 | PVER="0.20.2" | ||
5 | PBUILD="r6" | ||
6 | |||
7 | PCATEGORIE="media-libs" | ||
8 | STATE="testing" | ||
9 | |||
10 | DESCRIPTION="libmustux for protux." | ||
11 | HOMEPAGE="http://www.nongnu.org/protux" | ||
12 | |||
13 | DEPEND=">= media-libs/alsa-lib-1.0.14 | ||
14 | >= x11-libs/libXt-1 | ||
15 | >= x11-libs/qt-3" | ||
16 | |||
17 | SDEPEND=">= sys-dev/automake-1.7.2 | ||
18 | >= sys-dev/autoconf-2.57" | ||
19 | |||
20 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
21 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
22 | |||
23 | sminclude mbuild | ||
24 | |||
25 | SRC_URI=( | ||
26 | mirror://${PNAME}/${SRCFILE} | ||
27 | mirror://${PNAME}/${PNAME}-${PVER}-gcc4.patch | ||
28 | ) | ||
29 | |||
30 | ## global QT options ## | ||
31 | export QTDIR=/usr | ||
32 | export QT_MOC=${QTDIR}/bin/moc | ||
33 | |||
34 | src_prepare() | ||
35 | { | ||
36 | munpack ${SRCFILE} || die | ||
37 | cd ${SRCDIR} | ||
38 | |||
39 | # fix gcc4 compile issues | ||
40 | mpatch ${PNAME}-${PVER}-gcc4.patch || die | ||
41 | |||
42 | # fix libdir in mustux-config | ||
43 | sed -i "s:-L\${exec_prefix}/lib:-L\${exec_prefix}/$(mlibdir):g" mustux-config.in || die | ||
44 | |||
45 | autoreconf --force --install || die | ||
46 | |||
47 | # fix missing .so extensions | ||
48 | mlibtoolize || die | ||
49 | } | ||
50 | |||
51 | src_compile() | ||
52 | { | ||
53 | cd ${SRCDIR} | ||
54 | |||
55 | mconfigure \ | ||
56 | --with-gnu-ld \ | ||
57 | --enable-static=no \ | ||
58 | --with-qt-lib-dir=/usr/$(mlibdir) \ | ||
59 | || die | ||
60 | |||
61 | mmake || die | ||
62 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |