wok-next view 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
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gstreamer1"
4 VERSION="1.10.3"
5 CATEGORY="multimedia"
6 SHORT_DESC="GStreamer Multimedia Framework"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="https://gstreamer.freedesktop.org/"
11 TARBALL="gstreamer-$VERSION.tar.xz"
12 WGET_URL="https://gstreamer.freedesktop.org/src/gstreamer/$TARBALL"
14 BUILD_DEPENDS="gettext-dev perl valgrind-dev glib-dev"
15 SPLIT="$PACKAGE-dev"
17 COOKOPTS="skip-log-errors"
19 compile_rules() {
20 ./configure \
21 --with-package-name="GStreamer (1.0)" \
22 --with-package-origin="http://www.slitaz.org/" \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make $MAKEFLAGS &&
26 make install || return 1
28 ln -s gstreamer-1.0/gst $install/usr/include/gst
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 gstreamer1)
34 copy @std
35 DEPENDS="glib"
36 ;;
37 *-dev)
38 copy @dev
39 DEPENDS="gstreamer1 glib-dev"
40 ;;
41 esac
42 }