wok annotate gst-plugins-base-1.0/receipt @ rev 24592
.bin files don't have .note.gnu.property section
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 01 10:06:20 2022 +0000 (2022-03-01) |
parents | 6831608a1b2a |
children |
rev | line source |
---|---|
pankso@16446 | 1 # SliTaz package receipt. |
pankso@16446 | 2 |
pankso@16446 | 3 PACKAGE="gst-plugins-base-1.0" |
Hans-G?nter@22889 | 4 VERSION="1.16.2" |
pascal@24113 | 5 SERIES="1.0" |
pankso@16446 | 6 CATEGORY="multimedia" |
Hans-G?nter@22889 | 7 SHORT_DESC="GStreamer Base Plugins." |
pankso@16465 | 8 MAINTAINER="pankso@slitaz.org" |
pankso@16446 | 9 LICENSE="GPL2" |
Hans-G?nter@22889 | 10 WEB_SITE="https://gstreamer.freedesktop.org/" |
Hans-G?nter@22889 | 11 |
pankso@16446 | 12 SOURCE="gst-plugins-base" |
pankso@16446 | 13 TARBALL="$SOURCE-$VERSION.tar.xz" |
pankso@16446 | 14 WGET_URL="${WEB_SITE}src/gst-plugins-base/$TARBALL" |
Hans-G?nter@22889 | 15 |
Hans-G?nter@22889 | 16 DEPENDS="alsa-lib gstreamer-1.0 libogg libtheora libtheora-enc |
Hans-G?nter@22889 | 17 libvorbis opus orc pango udev vorbis-tools xorg xorg-libXv |
Hans-G?nter@22889 | 18 xorg-libXvMC" |
Hans-G?nter@23756 | 19 BUILD_DEPENDS="alsa-lib-dev automake gstreamer-1.0-dev libogg-dev libtheora-dev |
Hans-G?nter@22889 | 20 libtheora-enc libvorbis-dev opus-dev orc-dev pango-dev udev-dev |
Hans-G?nter@22889 | 21 util-linux-uuid-dev xorg-libXv-dev xorg-libXvMC-dev" |
Hans-G?nter@22889 | 22 |
pankso@16465 | 23 HOST_ARCH="i486 arm" |
pankso@16446 | 24 |
pankso@16465 | 25 # Arch install |
pankso@16465 | 26 case "$SLITAZ_ARCH" in |
pankso@16465 | 27 i?86) DEPENDS="$DEPENDS cdparanoia-III orc" ; |
pankso@16465 | 28 esac |
pankso@16465 | 29 |
pankso@16465 | 30 # Cross compilation |
pankso@16465 | 31 case "$ARCH" in |
pankso@16465 | 32 i?86) BUILD_DEPENDS="$BUILD_DEPENDS cdparanoia-III-dev orc-dev" ; |
pankso@16465 | 33 esac |
pankso@16446 | 34 |
pascal@24070 | 35 current_version() |
pascal@24070 | 36 { |
pascal@24070 | 37 wget -O - https://gstreamer.freedesktop.org/src/${PACKAGE%-1.0}/ 2>/dev/null | \ |
pascal@24070 | 38 sed '/tar/!d;s|.*'${PACKAGE%-1.0}'-||;s|.tar.*||' | sed '$!d' |
pascal@24070 | 39 } |
pascal@24070 | 40 |
pankso@16446 | 41 # Rules to configure and make the package. |
pankso@16446 | 42 compile_rules() |
pankso@16446 | 43 { |
pankso@16465 | 44 sysroot="/cross/arm/sysroot" |
pankso@16465 | 45 libs="/usr/lib" |
pankso@16465 | 46 incl="/usr/include" |
Hans-G?nter@22889 | 47 sed -i '/set ERROR_C/d' configure |
pascal@24078 | 48 grep -rl '\\n\\#include' . | xargs sed -i 's|\\n\\#include|\\n#include|' |
Hans-G?nter@22889 | 49 |
Hans-G?nter@22889 | 50 ./configure \ |
Hans-G?nter@22889 | 51 --prefix=/usr \ |
Hans-G?nter@22889 | 52 --sysconfdir=/etc \ |
Hans-G?nter@22889 | 53 --localstatedir=/var \ |
Hans-G?nter@22889 | 54 --enable-experimental \ |
Hans-G?nter@22889 | 55 --disable-static \ |
Hans-G?nter@22889 | 56 --disable-debug \ |
Hans-G?nter@22889 | 57 --disable-gnome-vfs \ |
Hans-G?nter@22889 | 58 --disable-libvisual \ |
Hans-G?nter@22889 | 59 --disable-vorbisidec \ |
Hans-G?nter@22889 | 60 --enable-introspection=no \ |
Hans-G?nter@22889 | 61 --with-package-name="GStreamer Base Plugins ($SERIES)" \ |
Hans-G?nter@22889 | 62 --with-package-origin="http://www.slitaz.org/" \ |
psychomaniak@19519 | 63 $CONFIGURE_ARGS | grep -v 'vorbisidec' && |
Hans-G?nter@22889 | 64 make $MAKEFLAGS && |
Hans-G?nter@22889 | 65 make install 2>/dev/null |
pankso@16446 | 66 } |
pankso@16446 | 67 |
pankso@16446 | 68 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16446 | 69 genpkg_rules() |
pankso@16446 | 70 { |
Hans-G?nter@22889 | 71 mkdir -p $fs/usr/lib/gstreamer-$SERIES |
Hans-G?nter@22889 | 72 mkdir -p $fs/usr/share/locale |
Hans-G?nter@22889 | 73 |
Hans-G?nter@22889 | 74 mv $install/usr/bin $fs/usr |
Hans-G?nter@22889 | 75 mv $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@22889 | 76 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES |
pankso@16446 | 77 } |