wok view gst-plugins-bad/receipt @ rev 23160

updated lzsa (0.5.6 -> 1.2.0)
author Hans-G?nter Theisgen
date Tue Mar 17 14:14:41 2020 +0100 (2020-03-17)
parents a78610b2eb47
children 3cdc90c472a2
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 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|ndef VPX_|def |' ext/vp8/gstvp8utils.h
27 sed -i 's|stdafx.h|libmodplug/&|' ext/modplug/gstmodplug.cc
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 --localstatedir=/var \
32 --disable-static \
33 --disable-debug \
34 --enable-experimental \
35 --with-package-name="GStreamer Bad Plugins ($SERIES)" \
36 --with-package-origin="http://www.slitaz.org/" \
37 $CONFIGURE_ARGS &&
38 make $MAKEFLAGS &&
39 make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
46 mv $install/usr/lib/*.so* $fs/usr/lib
47 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
48 for locale in $LOCALES; do
49 mv $install/usr/share/locale/$locale $fs/usr/share/locale
50 done
51 }