wok-next annotate gstreamer1/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 | 5b905cdf92e6 |
children | 23982d05637c |
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" |
al@21020 | 7 MAINTAINER="devel@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@21020 | 14 BUILD_DEPENDS="gettext-dev perl valgrind-dev glib-dev" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
pankso@16446 | 16 |
al@20573 | 17 COOKOPTS="skip-log-errors" |
al@20573 | 18 |
al@20573 | 19 compile_rules() { |
pankso@16446 | 20 ./configure \ |
al@19804 | 21 --with-package-name="GStreamer (1.0)" \ |
pankso@16446 | 22 --with-package-origin="http://www.slitaz.org/" \ |
pankso@16446 | 23 $CONFIGURE_ARGS && |
al@20573 | 24 fix libtool && |
al@20573 | 25 make $MAKEFLAGS && |
al@20573 | 26 make install || return 1 |
al@19804 | 27 |
al@19804 | 28 ln -s gstreamer-1.0/gst $install/usr/include/gst |
pankso@16446 | 29 } |
pankso@16446 | 30 |
al@20573 | 31 genpkg_rules() { |
al@19804 | 32 case $PACKAGE in |
al@19816 | 33 gstreamer1) |
al@19804 | 34 copy @std |
al@20749 | 35 DEPENDS="glib" |
al@19804 | 36 ;; |
al@19804 | 37 *-dev) |
al@19804 | 38 copy @dev |
al@20749 | 39 DEPENDS="gstreamer1 glib-dev" |
al@19804 | 40 ;; |
al@19804 | 41 esac |
pankso@16446 | 42 } |