# $Id$ PNAME="alsa-tools" PVER="1.1.7" PBUILD="r1" PCAT="media-sound" LICENSE="gpl-2" DESCRIPTION="Advanced Linux Sound Architecture OSS Layer Tools." HOMEPAGE="http://www.alsa-project.org/" DEPEND=">= media-libs/alsa-lib-${PVER} >= x11-libs/gtk2+-2.24 >= x11-libs/gtk3+-3.22 >= sys-libs/libstdc++-8.2" SRCFILE="${PNAME}-${PVER/_/}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}" # checks not working msetfeature "!check" sminclude mbuild SRC_URI=( http://dl.ambiweb.de/mirrors/ftp.alsa-project.org/tools/${SRCFILE} ftp://ftp.alsa-project.org/pub/tools/${SRCFILE} http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd ftp://ftp.alsa-project.org/pub/${PNAME/alsa-/} | highesttarball" src_compile() { cd ${SRCDIR} local i for i in $(find ${SRCDIR} -type f -name configure) do # exclude qlo10k1; needs qt and qt-checks are broken [[ $(basename $(dirname ${i})) = qlo10k1 ]] && continue # exclude hdspmixer; needs fltk [[ $(basename $(dirname ${i})) = hdspmixer ]] && continue # exclude hdspconf; needs fltk too [[ $(basename $(dirname ${i})) = hdspconf ]] && continue echo echo "Compiling $(dirname ${i}) ..." echo cd $(dirname ${i}) mconfigure --with-gtk2 || die mmake || die done } src_install() { cd ${SRCDIR} local i for i in $(find ${SRCDIR} -type f -name configure) do # exclude qlo10k1; needs qt and qt-checks are broken [[ $(basename $(dirname ${i})) = qlo10k1 ]] && continue # exclude hdspmixer; needs fltk [[ $(basename $(dirname ${i})) = hdspmixer ]] && continue # exclude hdspconf; needs fltk too [[ $(basename $(dirname ${i})) = hdspconf ]] && continue echo echo "Installing $(dirname ${i}) ..." echo cd $(dirname ${i}) mmake DESTDIR=${BINDIR} install || die done }