# $Header: /magellan-cvs/smage/protux/protux-0.20.2-r6.smage2,v 1.2 2008/02/07 14:23:52 niro Exp $ PNAME="protux" PVER="0.20.2" PBUILD="r6" PCATEGORIE="media-sound" STATE="testing" DESCRIPTION="Protux, the multitrack audio recorder/editor for Linux." HOMEPAGE="http://www.nongnu.org/protux" DEPEND=">= media-libs/libmustux-0.20.2 >= x11-libs/libXt-1 >= x11-libs/qt-3" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-${PVER}-gcc34.patch ) ## global QT options ## export QTDIR=/usr export QT_MOC=${QTDIR}/bin/moc src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # fixes compilation with >=gcc34 mpatch ${PNAME}-${PVER}-gcc34.patch || die } src_compile() { cd ${SRCDIR} mconfigure \ --with-gnu-ld \ --enable-static=no \ --with-qt-lib-dir=/usr/$(mlibdir) \ --with-mustux-lib-dir=/usr/$(mlibdir) \ || die mmake || die }