wok-next annotate gstreamer1/receipt @ rev 20573
More fix libtool
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 13 17:21:19 2018 +0300 (2018-04-13) |
parents | c4e53a39395a |
children | 342b30daff76 |
rev | line source |
---|---|
al@19804 | 1 # SliTaz package receipt v2. |
pankso@16446 | 2 |
al@19816 | 3 PACKAGE="gstreamer1" |
al@19804 | 4 VERSION="1.10.3" |
pankso@16446 | 5 CATEGORY="multimedia" |
pankso@16446 | 6 SHORT_DESC="GStreamer Multimedia Framework" |
pankso@16465 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16446 | 8 LICENSE="LGPL2" |
al@19804 | 9 WEB_SITE="https://gstreamer.freedesktop.org/" |
pankso@16446 | 10 |
al@19804 | 11 TARBALL="gstreamer-$VERSION.tar.xz" |
al@19804 | 12 WGET_URL="https://gstreamer.freedesktop.org/src/gstreamer/$TARBALL" |
pankso@16465 | 13 |
al@20573 | 14 BUILD_DEPENDS_arm="glib-dev libxml2-dev pkg-config" |
al@19804 | 15 BUILD_DEPENDS="gettext perl valgrind-dev" |
al@19816 | 16 SPLIT="gstreamer1-dev" |
pankso@16446 | 17 |
al@20573 | 18 COOKOPTS="skip-log-errors" |
al@20573 | 19 |
al@20573 | 20 compile_rules() { |
pankso@16446 | 21 ./configure \ |
al@19804 | 22 --with-package-name="GStreamer (1.0)" \ |
pankso@16446 | 23 --with-package-origin="http://www.slitaz.org/" \ |
pankso@16446 | 24 $CONFIGURE_ARGS && |
al@20573 | 25 fix libtool && |
al@20573 | 26 make $MAKEFLAGS && |
al@20573 | 27 make install || return 1 |
al@19804 | 28 |
al@19804 | 29 ln -s gstreamer-1.0/gst $install/usr/include/gst |
pankso@16446 | 30 } |
pankso@16446 | 31 |
al@20573 | 32 genpkg_rules() { |
al@19804 | 33 case $PACKAGE in |
al@19816 | 34 gstreamer1) |
al@19804 | 35 copy @std |
al@19804 | 36 DEPENDS="glib libffi pcre" |
al@19804 | 37 ;; |
al@19804 | 38 *-dev) |
al@19804 | 39 copy @dev |
al@19816 | 40 DEPENDS="gstreamer1 glib-dev libffi-dev pcre-dev zlib-dev" |
al@19804 | 41 ;; |
al@19804 | 42 esac |
pankso@16446 | 43 } |