wok view gmerlin/receipt @ rev 16613
libjreen: update QT4_CREATE_MOC_COMMAND in jreenMacros.cmake
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 08 16:42:02 2014 +0000 (2014-05-08) |
parents | f4c22f009037 |
children | 981422765846 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gmerlin"
4 VERSION="1.2.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Gmerlin is a multimedia architecture for linux."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://gmerlin.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/project/gmerlin/gmerlin/$VERSION/$TARBALL"
13 DEPENDS="libxml2 expat gavl gtk+ alsa-lib libpng"
14 BUILD_DEPENDS="texinfo libxml2-dev expat-dev gavl-dev gtk+-dev alsa-lib-dev \
15 libpng-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 rm -rf cpuinfo.sh
22 {
23 ./configure \
24 --without-doxygen \
25 $CONFIGURE_ARGS &&
26 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 &&
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|' lib/Makefile &&
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|' tests/Makefile &&
29 sed -i 's|ln -sf $(DESTDIR)$(pkgdatadir)|ln -sf $(pkgdatadir)|' icons/Makefile &&
30 make && make install
31 } 2>&1 | sed 's/: No such file/: no such file/'
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share $fs/usr/lib/gmerlin/plugins
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/lib/gmerlin/plugins/*.so* $fs/usr/lib/gmerlin/plugins
41 cp -a $install/usr/share/gmerlin $fs/usr/share
42 cp -a $install/usr/share/applications $fs/usr/share
43 }