Magellan Linux

Annotation of /trunk/todo/protux/protux-0.20.2-r6.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2527 - (hide annotations) (download)
Thu Jul 9 20:27:02 2009 UTC (14 years, 11 months ago) by niro
File size: 962 byte(s)
-moved to 'todo'
1 niro 2 # $Header: /magellan-cvs/smage/protux/protux-0.20.2-r6.smage2,v 1.2 2008/02/07 14:23:52 niro Exp $
2    
3     PNAME="protux"
4     PVER="0.20.2"
5     PBUILD="r6"
6    
7     PCATEGORIE="media-sound"
8     STATE="testing"
9    
10     DESCRIPTION="Protux, the multitrack audio recorder/editor for Linux."
11     HOMEPAGE="http://www.nongnu.org/protux"
12    
13     DEPEND=">= media-libs/libmustux-0.20.2
14     >= x11-libs/libXt-1
15     >= x11-libs/qt-3"
16    
17     SRCFILE="${PNAME}-${PVER}.tar.gz"
18     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
19    
20     sminclude mbuild
21    
22     SRC_URI=(
23     mirror://${PNAME}/${SRCFILE}
24     mirror://${PNAME}/${PNAME}-${PVER}-gcc34.patch
25     )
26    
27     ## global QT options ##
28     export QTDIR=/usr
29     export QT_MOC=${QTDIR}/bin/moc
30    
31     src_prepare()
32     {
33     munpack ${SRCFILE} || die
34     cd ${SRCDIR}
35    
36     # fixes compilation with >=gcc34
37     mpatch ${PNAME}-${PVER}-gcc34.patch || die
38     }
39    
40     src_compile()
41     {
42     cd ${SRCDIR}
43    
44     mconfigure \
45     --with-gnu-ld \
46     --enable-static=no \
47     --with-qt-lib-dir=/usr/$(mlibdir) \
48     --with-mustux-lib-dir=/usr/$(mlibdir) \
49     || die
50    
51     mmake || die
52     }

Properties

Name Value
svn:keywords Id