# HG changeset patch # User Aleksej Bobylev # Date 1404936952 -10800 # Node ID 58cf8cd855e3208ae8a3c49d76a21a64c4850de6 # Parent 345677019f4eb8c5bce0d0c0c0eaf3ec317f9ec2 Add qastools, qasmixer. diff -r 345677019f4e -r 58cf8cd855e3 qasmixer/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qasmixer/receipt Wed Jul 09 23:15:52 2014 +0300 @@ -0,0 +1,22 @@ +# SliTaz package receipt. + +PACKAGE="qasmixer" +VERSION="0.17.2" +CATEGORY="multimedia" +SHORT_DESC="Qt based ALSA mixer" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPL3" +WEB_SITE="http://xwmw.org/qastools/index.html" + +WANTED="qastools" +DEPENDS="alsa-lib libQtCore libQtGui libQtNetwork libQtSvg" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + for file in $(cat $WOK/$WANTED/stuff/qasmixer.files); do + mkdir -p $fs$(dirname $file) + cp -a $install$file $fs$file + done + ln -s /usr/share/licenses/gpl.txt $fs/usr/share/qastools/COPYING +} diff -r 345677019f4e -r 58cf8cd855e3 qastools/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qastools/receipt Wed Jul 09 23:15:52 2014 +0300 @@ -0,0 +1,36 @@ +# SliTaz package receipt. + +PACKAGE="qastools" +VERSION="0.17.2" +CATEGORY="multimedia" +SHORT_DESC="QasTools is a collection of desktop applications for the ALSA" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPL3" +WEB_SITE="http://xwmw.org/qastools/index.html" +TARBALL="${PACKAGE}_$VERSION.tar.xz" +WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" +GENERIC_MENUS="no" + +DEPENDS="alsa-lib libQtCore libQtGui libQtNetwork libQtSvg qasmixer" +BUILD_DEPENDS="cmake Qt4-dev qmake alsa-lib-dev" + +# Rules to configure and make the package. +compile_rules() +{ + mkdir build; cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr .. && + make && + make DESTDIR=$install install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs + rm -rf $fs/usr/share/man $fs/usr/share/qastools/COPYING + + # separate qasmixer + for file in $(cat $stuff/qasmixer.files); do + rm -f $fs$file + done +} diff -r 345677019f4e -r 58cf8cd855e3 qastools/stuff/qasmixer.files --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qastools/stuff/qasmixer.files Wed Jul 09 23:15:52 2014 +0300 @@ -0,0 +1,9 @@ +/usr/bin/qasmixer +/usr/share/applications/qasmixer.desktop +/usr/share/icons/hicolor/16x16/apps/qasmixer.png +/usr/share/icons/hicolor/32x32/apps/qasmixer.png +/usr/share/icons/hicolor/48x48/apps/qasmixer.png +/usr/share/icons/hicolor/64x64/apps/qasmixer.png +/usr/share/icons/hicolor/scalable/apps/qasmixer.svg +/usr/share/qastools/icons/show-capture.svg +/usr/share/qastools/icons/show-playback.svg