wok-next annotate 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 |
rev | line source |
---|---|
al@20473 | 1 # SliTaz package receipt v2. |
pascal@13740 | 2 |
pascal@13740 | 3 PACKAGE="gmerlin" |
pascal@13740 | 4 VERSION="1.2.0" |
pascal@13740 | 5 CATEGORY="multimedia" |
al@21020 | 6 SHORT_DESC="Multimedia architecture for Linux" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15201 | 8 LICENSE="GPL3" |
al@20473 | 9 WEB_SITE="http://gmerlin.sourceforge.net/" |
al@20473 | 10 |
pascal@13740 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20473 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@13740 | 13 |
al@21017 | 14 BUILD_DEPENDS="texinfo libxml2-dev expat-dev gavl-dev gtk2-dev alsa-lib-dev \ |
al@21020 | 15 libpng16-dev mesa-dev xorg-libxshmfence-dev gettext-dev" |
al@20473 | 16 COOKOPTS="skip-log-errors" |
pascal@13740 | 17 |
al@20473 | 18 compile_rules() { |
al@20511 | 19 sed -i 's|@table @bullet|@table @b|' $src/doc/gmerlin.texi |
al@20503 | 20 rm -f cpuinfo.sh |
al@20511 | 21 |
pascal@13740 | 22 ./configure \ |
pascal@13740 | 23 --without-doxygen \ |
al@21017 | 24 $CONFIGURE_ARGS || return 1 |
al@21017 | 25 |
al@21017 | 26 fix libtool |
al@20473 | 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|' \ |
al@21017 | 28 apps/*/Makefile lib/Makefile tests/Makefile |
al@21017 | 29 sed -i 's|ln -sf $(DESTDIR)$(pkgdatadir)|ln -sf $(pkgdatadir)|' icons/Makefile |
al@21017 | 30 |
al@20570 | 31 make && |
al@21017 | 32 make -j1 install |
pascal@13740 | 33 } |
pascal@13740 | 34 |
al@20473 | 35 genpkg_rules() { |
al@20473 | 36 copy @std |
al@21017 | 37 DEPENDS="libxml2 expat gavl gtk2 alsa-lib libpng16" |
pascal@13740 | 38 } |