wok annotate gst-plugins-bad/receipt @ rev 21489
posixovl: update xattr.h path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 01 16:45:54 2019 +0200 (2019-05-01) |
parents | a78610b2eb47 |
children | 3cdc90c472a2 |
rev | line source |
---|---|
jozee@2674 | 1 # SliTaz package receipt. |
jozee@2674 | 2 |
jozee@2674 | 3 PACKAGE="gst-plugins-bad" |
domcox@14021 | 4 VERSION="0.10.23" |
domcox@14021 | 5 SERIES="0.10" |
jozee@2674 | 6 CATEGORY="multimedia" |
jozee@2674 | 7 SHORT_DESC="GStreamer Bad Plugins" |
jozee@2674 | 8 MAINTAINER="jozee@slitaz.org" |
pascal@15000 | 9 LICENSE="GPL2" |
domcox@14021 | 10 SUGGESTED="libsdl schroedinger" |
domcox@14021 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@20669 | 12 WEB_SITE="https://gstreamer.freedesktop.org/" |
slaxemulator@6757 | 13 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL" |
domcox@14021 | 14 LOCALES="da de es fr id it pt_BR ru zh_CN" |
jozee@2674 | 15 |
domcox@14480 | 16 DEPENDS="gst-plugins-base faac libpng libvpx openssl xvidcore |
domcox@14480 | 17 faad2 jasper libmms libmodplug libsndfile mjpegtools neon" |
domcox@14480 | 18 BUILD_DEPENDS="gstreamer-dev gst-plugins-base-dev |
domcox@14480 | 19 faac-dev libpng-dev libvpx-dev openssl-dev xvidcore-dev jpeg-dev |
domcox@14480 | 20 faad2-dev jasper-dev libmms-dev libmodplug-dev libsndfile-dev libsdl-dev |
pascal@17762 | 21 mjpegtools-dev neon-dev schroedinger-dev expat-dev flac-dev" |
pascal@14037 | 22 |
jozee@2674 | 23 # Rules to configure and make the package. |
jozee@2674 | 24 compile_rules() |
jozee@2674 | 25 { |
pascal@21405 | 26 sed -i 's|ndef VPX_|def |' ext/vp8/gstvp8utils.h |
pascal@21405 | 27 sed -i 's|stdafx.h|libmodplug/&|' ext/modplug/gstmodplug.cc |
domcox@14021 | 28 ./configure \ |
domcox@14021 | 29 --prefix=/usr \ |
domcox@14021 | 30 --sysconfdir=/etc \ |
domcox@14021 | 31 --localstatedir=/var \ |
domcox@14021 | 32 --disable-static \ |
domcox@14021 | 33 --disable-debug \ |
domcox@14021 | 34 --enable-experimental \ |
domcox@14021 | 35 --with-package-name="GStreamer Bad Plugins ($SERIES)" \ |
domcox@14021 | 36 --with-package-origin="http://www.slitaz.org/" \ |
pascal@15265 | 37 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 38 make $MAKEFLAGS && |
domcox@14021 | 39 make install |
jozee@2674 | 40 } |
jozee@2674 | 41 |
jozee@2674 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2674 | 43 genpkg_rules() |
jozee@2674 | 44 { |
domcox@14021 | 45 mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale |
domcox@14021 | 46 mv $install/usr/lib/*.so* $fs/usr/lib |
domcox@14021 | 47 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES |
domcox@14021 | 48 for locale in $LOCALES; do |
domcox@14021 | 49 mv $install/usr/share/locale/$locale $fs/usr/share/locale |
domcox@14021 | 50 done |
jozee@2674 | 51 } |