wok view gst-plugins-bad/receipt @ rev 25001
updated nnn (4.0 -> 4.5)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 14:07:26 2022 +0100 (2022-05-16) |
parents | 9258333ebe34 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gst-plugins-bad"
4 VERSION="0.10.23"
5 SERIES="${VERSION%.*}" # first two numbers from version
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 grep -rl '\\n\\#include' . | xargs sed -i 's|\\n\\#include|\\n#include|'
33 sed -i 's|ndef VPX_|def |' ext/vp8/gstvp8utils.h
34 sed -i 's|stdafx.h|libmodplug/&|' ext/modplug/gstmodplug.cc
35 ./configure \
36 --prefix=/usr \
37 --sysconfdir=/etc \
38 --localstatedir=/var \
39 --disable-static \
40 --disable-debug \
41 --enable-experimental \
42 --with-package-name="GStreamer Bad Plugins ($SERIES)" \
43 --with-package-origin="http://www.slitaz.org/" \
44 $CONFIGURE_ARGS &&
45 make $MAKEFLAGS &&
46 make install
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
53 mv $install/usr/lib/*.so* $fs/usr/lib
54 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
55 for locale in $LOCALES; do
56 mv $install/usr/share/locale/$locale $fs/usr/share/locale
57 done
58 }