wok-next view gmerlin/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5669e8b3be70
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gmerlin"
4 VERSION="1.2.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Multimedia architecture for Linux"
7 MAINTAINER="devel@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 gtk2-dev alsa-lib-dev \
15 libpng16-dev mesa-dev xorg-libxshmfence-dev gettext-dev"
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 || return 1
26 fix libtool
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|' \
28 apps/*/Makefile lib/Makefile tests/Makefile
29 sed -i 's|ln -sf $(DESTDIR)$(pkgdatadir)|ln -sf $(pkgdatadir)|' icons/Makefile
31 make &&
32 make -j1 install
33 }
35 genpkg_rules() {
36 copy @std
37 DEPENDS="libxml2 expat gavl gtk2 alsa-lib libpng16"
38 }