wok-next view gmerlin/receipt @ rev 20718

paulstretch: fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 15:09:21 2018 +0300 (2018-05-27)
parents 41f7b84e8b0c
children f48456621a9d
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://gmerlin.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="texinfo libxml2-dev expat-dev gavl-dev gtk+-dev alsa-lib-dev \
15 libpng16-dev mesa-dev xorg-libxshmfence-dev gettext"
16 COOKOPTS="skip-log-errors"
18 compile_rules() {
19 sed -i 's|@table @bullet|@table @b|' $src/doc/gmerlin.texi
20 rm -f cpuinfo.sh
22 ./configure \
23 --without-doxygen \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
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|' \
27 apps/*/Makefile lib/Makefile tests/Makefile &&
28 sed -i 's|ln -sf $(DESTDIR)$(pkgdatadir)|ln -sf $(pkgdatadir)|' icons/Makefile &&
29 make &&
30 make -j 1 install
31 }
33 genpkg_rules() {
34 copy @std
35 DEPENDS="libxml2 expat gavl gtk+ alsa-lib libpng16"
36 }