wok-6.x rev 16809

Add qastools, qasmixer.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jul 09 23:15:52 2014 +0300 (2014-07-09)
parents 345677019f4e
children eedd51c40dc3
files qasmixer/receipt qastools/receipt qastools/stuff/qasmixer.files
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/qasmixer/receipt	Wed Jul 09 23:15:52 2014 +0300
     1.3 @@ -0,0 +1,22 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="qasmixer"
     1.7 +VERSION="0.17.2"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="Qt based ALSA mixer"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL3"
    1.12 +WEB_SITE="http://xwmw.org/qastools/index.html"
    1.13 +
    1.14 +WANTED="qastools"
    1.15 +DEPENDS="alsa-lib libQtCore libQtGui libQtNetwork libQtSvg"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	for file in $(cat $WOK/$WANTED/stuff/qasmixer.files); do
    1.21 +		mkdir -p $fs$(dirname $file)
    1.22 +		cp -a $install$file $fs$file
    1.23 +	done
    1.24 +	ln -s /usr/share/licenses/gpl.txt $fs/usr/share/qastools/COPYING
    1.25 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/qastools/receipt	Wed Jul 09 23:15:52 2014 +0300
     2.3 @@ -0,0 +1,36 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="qastools"
     2.7 +VERSION="0.17.2"
     2.8 +CATEGORY="multimedia"
     2.9 +SHORT_DESC="QasTools is a collection of desktop applications for the ALSA"
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +LICENSE="GPL3"
    2.12 +WEB_SITE="http://xwmw.org/qastools/index.html"
    2.13 +TARBALL="${PACKAGE}_$VERSION.tar.xz"
    2.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
    2.15 +GENERIC_MENUS="no"
    2.16 +
    2.17 +DEPENDS="alsa-lib libQtCore libQtGui libQtNetwork libQtSvg qasmixer"
    2.18 +BUILD_DEPENDS="cmake Qt4-dev qmake alsa-lib-dev"
    2.19 +
    2.20 +# Rules to configure and make the package.
    2.21 +compile_rules()
    2.22 +{
    2.23 +	mkdir build; cd build
    2.24 +	cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
    2.25 +	make &&
    2.26 +	make DESTDIR=$install install
    2.27 +}
    2.28 +
    2.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.30 +genpkg_rules()
    2.31 +{
    2.32 +	cp -a $install/* $fs
    2.33 +	rm -rf $fs/usr/share/man $fs/usr/share/qastools/COPYING
    2.34 +
    2.35 +	# separate qasmixer
    2.36 +	for file in $(cat $stuff/qasmixer.files); do
    2.37 +		rm -f $fs$file
    2.38 +	done
    2.39 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/qastools/stuff/qasmixer.files	Wed Jul 09 23:15:52 2014 +0300
     3.3 @@ -0,0 +1,9 @@
     3.4 +/usr/bin/qasmixer
     3.5 +/usr/share/applications/qasmixer.desktop
     3.6 +/usr/share/icons/hicolor/16x16/apps/qasmixer.png
     3.7 +/usr/share/icons/hicolor/32x32/apps/qasmixer.png
     3.8 +/usr/share/icons/hicolor/48x48/apps/qasmixer.png
     3.9 +/usr/share/icons/hicolor/64x64/apps/qasmixer.png
    3.10 +/usr/share/icons/hicolor/scalable/apps/qasmixer.svg
    3.11 +/usr/share/qastools/icons/show-capture.svg
    3.12 +/usr/share/qastools/icons/show-playback.svg