wok-undigest rev 888
Add gmerlin and guvcview
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Nov 14 21:40:57 2012 +0100 (2012-11-14) |
parents | bfcc391b139c |
children | bf97159088b2 |
files | gmerlin/receipt guvcview/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gmerlin/receipt Wed Nov 14 21:40:57 2012 +0100 1.3 @@ -0,0 +1,40 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gmerlin" 1.7 +VERSION="1.2.0" 1.8 +CATEGORY="multimedia" 1.9 +SHORT_DESC="Gmerlin is a multimedia architecture for linux." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://gmerlin.sourceforge.net/" 1.13 +WGET_URL="$SF_MIRROR/project/gmerlin/gmerlin/$VERSION/$TARBALL" 1.14 + 1.15 +DEPENDS="libxml2 expat gavl gtk+ alsa-lib libpng" 1.16 +BUILD_DEPENDS="texinfo libxml2-dev expat-dev gavl-dev gtk+-dev alsa-lib-dev \ 1.17 +libpng-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + rm -rf cpuinfo.sh 1.24 + ./configure \ 1.25 + --without-doxygen \ 1.26 + $CONFIGURE_ARGS && 1.27 + sed -i 's|LIBS = -lgavl|LIBS = -lgavl -ldl -lpthread -lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lxml2 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lX11|' apps/*/Makefile && 1.28 + sed -i 's|LIBS = -lgavl|LIBS = -lgavl -ldl -lpthread -lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lxml2 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lX11|' lib/Makefile && 1.29 + sed -i 's|LIBS = -lgavl|LIBS = -lgavl -ldl -lpthread -lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lxml2 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lX11|' tests/Makefile && 1.30 + sed -i 's|ln -sf $(DESTDIR)$(pkgdatadir)|ln -sf $(pkgdatadir)|' icons/Makefile && 1.31 + make && make install 1.32 +} 1.33 + 1.34 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 +genpkg_rules() 1.36 +{ 1.37 + mkdir -p $fs/usr/share $fs/usr/lib/gmerlin/plugins 1.38 + cp -a $install/usr/bin $fs/usr 1.39 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.40 + cp -a $install/usr/lib/gmerlin/plugins/*.so* $fs/usr/lib/gmerlin/plugins 1.41 + cp -a $install/usr/share/gmerlin $fs/usr/share 1.42 + cp -a $install/usr/share/icons $fs/usr/share 1.43 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/guvcview/receipt Wed Nov 14 21:40:57 2012 +0100 2.3 @@ -0,0 +1,29 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="guvcview" 2.7 +VERSION="1.6.1" 2.8 +CATEGORY="multimedia" 2.9 +SHORT_DESC="Gmerlin is a multimedia architecture for linux." 2.10 +MAINTAINER="devel@slitaz.org" 2.11 +TARBALL="${PACKAGE}-src-${VERSION}.tar.gz" 2.12 +WEB_SITE="http://guvcview.sourceforge.net/" 2.13 +WGET_URL="$SF_MIRROR/project/guvcview/source/$TARBALL" 2.14 + 2.15 +DEPENDS="gtk+ libsdl" 2.16 +BUILD_DEPENDS="gtk+-dev libsdl-dev" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + cd $src 2.22 + ./configure \ 2.23 + $CONFIGURE_ARGS && 2.24 + make && make install 2.25 +} 2.26 + 2.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.28 +genpkg_rules() 2.29 +{ 2.30 + mkdir -p $fs/usr 2.31 + echo "TODO" 2.32 +}