wok-6.x view gst-plugins-bad/receipt @ rev 24070

Up harfbuzz (2.8.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 06 14:28:49 2021 +0000 (2021-07-06)
parents 9bab80489afc
children 9258333ebe34
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-plugins-bad"
4 VERSION="0.10.23"
5 SERIES="0.10"
6 CATEGORY="multimedia"
7 SHORT_DESC="GStreamer Bad Plugins"
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="GPL2"
10 SUGGESTED="libsdl schroedinger"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WEB_SITE="https://gstreamer.freedesktop.org/"
13 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
14 LOCALES="da de es fr id it pt_BR ru zh_CN"
16 DEPENDS="gst-plugins-base faac libpng libvpx openssl xvidcore
17 faad2 jasper libmms libmodplug libsndfile mjpegtools neon"
18 BUILD_DEPENDS="gstreamer-dev gst-plugins-base-dev
19 faac-dev libpng-dev libvpx-dev openssl-dev xvidcore-dev jpeg-dev
20 faad2-dev jasper-dev libmms-dev libmodplug-dev libsndfile-dev libsdl-dev
21 mjpegtools-dev neon-dev schroedinger-dev expat-dev flac-dev"
23 current_version()
24 {
25 wget -O - https://gstreamer.freedesktop.org/src/$PACKAGE/ 2>/dev/null | \
26 sed '/tar/!d;s|.*'$PACKAGE'-||;s|.tar.*||' | sed '$!d'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 sed -i 's|ndef VPX_|def |' ext/vp8/gstvp8utils.h
33 sed -i 's|stdafx.h|libmodplug/&|' ext/modplug/gstmodplug.cc
34 ./configure \
35 --prefix=/usr \
36 --sysconfdir=/etc \
37 --localstatedir=/var \
38 --disable-static \
39 --disable-debug \
40 --enable-experimental \
41 --with-package-name="GStreamer Bad Plugins ($SERIES)" \
42 --with-package-origin="http://www.slitaz.org/" \
43 $CONFIGURE_ARGS &&
44 make $MAKEFLAGS &&
45 make install
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
52 mv $install/usr/lib/*.so* $fs/usr/lib
53 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
54 for locale in $LOCALES; do
55 mv $install/usr/share/locale/$locale $fs/usr/share/locale
56 done
57 }