wok-next rev 16465
ARM: add gstreamer-1.0, gst-plugins-base-1.0, pkg-config, sed
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 21 20:50:39 2014 +0200 (2014-04-21) |
parents | 5534e6a526a5 |
children | 84d4534a5de3 |
files | gst-plugins-base-1.0-dev/receipt gst-plugins-base-1.0/receipt gstreamer-1.0-dev/receipt gstreamer-1.0/receipt orc/receipt pkg-config/receipt sed/receipt |
line diff
1.1 --- a/gst-plugins-base-1.0-dev/receipt Mon Apr 21 21:30:10 2014 +0300 1.2 +++ b/gst-plugins-base-1.0-dev/receipt Mon Apr 21 20:50:39 2014 +0200 1.3 @@ -7,12 +7,13 @@ 1.4 SHORT_DESC="gst-plugins-base devel files" 1.5 MAINTAINER="jozee@slitaz.org" 1.6 LICENSE="GPL2" 1.7 +WEB_SITE="http://gstreamer.freedesktop.org/" 1.8 +HOST_ARCH="i486 arm" 1.9 + 1.10 WANTED="gst-plugins-base-1.0" 1.11 -WEB_SITE="http://gstreamer.freedesktop.org/" 1.12 - 1.13 -DEPENDS="gstreamer-1.0-dev pango-dev gobject-introspection-dev alsa-lib-dev \ 1.14 -libogg-dev libvorbis-dev libtheora-dev libtheora-enc udev-dev xorg-dev \ 1.15 -xorg-libXv-dev xorg-libXvMC-dev cdparanoia-III-dev orc-dev pkg-config" 1.16 +DEPENDS="gstreamer-1.0-dev pango-dev alsa-lib-dev libogg-dev \ 1.17 +libvorbis-dev libtheora-dev libtheora-enc udev-dev xorg-dev \ 1.18 +xorg-libXv-dev xorg-libXvMC-dev orc-dev pkg-config" 1.19 1.20 # Rules to gen a SliTaz package suitable for Tazpkg. 1.21 genpkg_rules()
2.1 --- a/gst-plugins-base-1.0/receipt Mon Apr 21 21:30:10 2014 +0300 2.2 +++ b/gst-plugins-base-1.0/receipt Mon Apr 21 20:50:39 2014 +0200 2.3 @@ -5,23 +5,36 @@ 2.4 SERIES="1.0" 2.5 CATEGORY="multimedia" 2.6 SHORT_DESC="GStreamer Base Plugins" 2.7 -MAINTAINER="jozee@slitaz.org" 2.8 +MAINTAINER="pankso@slitaz.org" 2.9 LICENSE="GPL2" 2.10 SOURCE="gst-plugins-base" 2.11 TARBALL="$SOURCE-$VERSION.tar.xz" 2.12 WEB_SITE="http://gstreamer.freedesktop.org/" 2.13 WGET_URL="${WEB_SITE}src/gst-plugins-base/$TARBALL" 2.14 -LOCALES="da de es fr id it pt_BR ru zh_CN" 2.15 +HOST_ARCH="i486 arm" 2.16 2.17 DEPENDS="gstreamer-1.0 pango alsa-lib libogg libtheora libtheora-enc \ 2.18 -libvorbis vorbis-tools udev xorg xorg-libXv xorg-libXvMC cdparanoia-III orc" 2.19 +libvorbis vorbis-tools udev xorg xorg-libXv xorg-libXvMC orc" 2.20 BUILD_DEPENDS="gstreamer-1.0-dev pango-dev alsa-lib-dev libogg-dev \ 2.21 libtheora-dev libtheora-enc libvorbis-dev udev-dev xorg-libXv-dev \ 2.22 -xorg-libXvMC-dev cdparanoia-III-dev orc-dev util-linux-uuid-dev" 2.23 +xorg-libXvMC-dev util-linux-uuid-dev orc-dev" 2.24 + 2.25 +# Arch install 2.26 +case "$SLITAZ_ARCH" in 2.27 + i?86) DEPENDS="$DEPENDS cdparanoia-III orc" ; 2.28 +esac 2.29 + 2.30 +# Cross compilation 2.31 +case "$ARCH" in 2.32 + i?86) BUILD_DEPENDS="$BUILD_DEPENDS cdparanoia-III-dev orc-dev" ; 2.33 +esac 2.34 2.35 # Rules to configure and make the package. 2.36 compile_rules() 2.37 { 2.38 + sysroot="/cross/arm/sysroot" 2.39 + libs="/usr/lib" 2.40 + incl="/usr/include" 2.41 ./configure \ 2.42 --prefix=/usr \ 2.43 --sysconfdir=/etc \ 2.44 @@ -29,13 +42,13 @@ 2.45 --enable-experimental \ 2.46 --disable-static \ 2.47 --disable-debug \ 2.48 - --disable-gnome_vfs \ 2.49 + --disable-gnome-vfs \ 2.50 + --disable-libvisual \ 2.51 --enable-introspection=no \ 2.52 --with-package-name="GStreamer Base Plugins ($SERIES)" \ 2.53 --with-package-origin="http://www.slitaz.org/" \ 2.54 $CONFIGURE_ARGS && 2.55 make $MAKEFLAGS && make install 2.56 - 2.57 } 2.58 2.59 # Rules to gen a SliTaz package suitable for Tazpkg. 2.60 @@ -45,7 +58,4 @@ 2.61 mv $install/usr/bin $fs/usr 2.62 mv $install/usr/lib/*.so* $fs/usr/lib 2.63 mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES 2.64 - for locale in $LOCALES; do 2.65 - mv $install/usr/share/locale/$locale $fs/usr/share/locale 2.66 - done 2.67 }
3.1 --- a/gstreamer-1.0-dev/receipt Mon Apr 21 21:30:10 2014 +0300 3.2 +++ b/gstreamer-1.0-dev/receipt Mon Apr 21 20:50:39 2014 +0200 3.3 @@ -4,12 +4,13 @@ 3.4 VERSION="1.2.3" 3.5 SERIES="1.0" 3.6 CATEGORY="development" 3.7 -SHORT_DESC="gstreamer devel files" 3.8 -MAINTAINER="jozee@slitaz.org" 3.9 +SHORT_DESC="The gstreamer-1.0 devel files" 3.10 +MAINTAINER="pankso@slitaz.org" 3.11 LICENSE="LGPL2" 3.12 +WEB_SITE="http://gstreamer.freedesktop.org/" 3.13 +HOST_ARCH="i486 arm" 3.14 + 3.15 WANTED="gstreamer-1.0" 3.16 -WEB_SITE="http://gstreamer.freedesktop.org/" 3.17 - 3.18 DEPENDS="gstreamer-1.0 glib-dev libgio-dev libxml2-dev pkg-config" 3.19 3.20 # Rules to gen a SliTaz package suitable for Tazpkg.
4.1 --- a/gstreamer-1.0/receipt Mon Apr 21 21:30:10 2014 +0300 4.2 +++ b/gstreamer-1.0/receipt Mon Apr 21 20:50:39 2014 +0200 4.3 @@ -5,17 +5,21 @@ 4.4 SERIES="1.0" 4.5 CATEGORY="multimedia" 4.6 SHORT_DESC="GStreamer Multimedia Framework" 4.7 -MAINTAINER="jozee@slitaz.org" 4.8 +MAINTAINER="pankso@slitaz.org" 4.9 LICENSE="LGPL2" 4.10 SOURCE="gstreamer" 4.11 TARBALL="$SOURCE-$VERSION.tar.xz" 4.12 WEB_SITE="http://gstreamer.freedesktop.org/" 4.13 WGET_URL="$WEB_SITE/src/gstreamer/$TARBALL" 4.14 +HOST_ARCH="i486 arm" 4.15 4.16 -LOCALES="da de es fr id it pt_BR ru zh_CN" 4.17 DEPENDS="glib libgio libxml2" 4.18 -BUILD_DEPENDS="glib-dev libgio-dev libxml2-dev pkg-config bison flex \ 4.19 -python-dev valgrind" 4.20 +BUILD_DEPENDS="glib-dev libgio-dev libxml2-dev pkg-config" 4.21 + 4.22 +# Handle cross compilation 4.23 +case "$ARCH" in 4.24 + i?86) BUILD_DEPENDS="$BUILD_DEPENDS python-dev valgrind" ;; 4.25 +esac 4.26 4.27 # Rules to configure and make the package. 4.28 compile_rules()
5.1 --- a/orc/receipt Mon Apr 21 21:30:10 2014 +0300 5.2 +++ b/orc/receipt Mon Apr 21 20:50:39 2014 +0200 5.3 @@ -14,7 +14,6 @@ 5.4 # Rules to configure and make the package. 5.5 compile_rules() 5.6 { 5.7 - cd $src 5.8 ./configure \ 5.9 --libexecdir=/usr/lib \ 5.10 --disable-static \
6.1 --- a/pkg-config/receipt Mon Apr 21 21:30:10 2014 +0300 6.2 +++ b/pkg-config/receipt Mon Apr 21 20:50:39 2014 +0200 6.3 @@ -9,7 +9,7 @@ 6.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 6.5 WEB_SITE="http://pkgconfig.freedesktop.org/wiki/" 6.6 WGET_URL="http://pkgconfig.freedesktop.org/releases/$TARBALL" 6.7 -#HOST_ARCH="i486 arm" 6.8 +HOST_ARCH="i486 arm" 6.9 6.10 DEPENDS="glibc-base" 6.11 BUILD_DEPENDS="gcc libtool"
7.1 --- a/sed/receipt Mon Apr 21 21:30:10 2014 +0300 7.2 +++ b/sed/receipt Mon Apr 21 20:50:39 2014 +0200 7.3 @@ -9,20 +9,16 @@ 7.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 7.5 WEB_SITE="http://www.gnu.org/software/sed/" 7.6 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 7.7 +HOST_ARCH="i486 arm" 7.8 7.9 DEPENDS="acl" 7.10 7.11 # Rules to configure and make the package. 7.12 compile_rules() 7.13 { 7.14 - cd $src 7.15 ./configure \ 7.16 - --prefix=/usr \ 7.17 - --infodir=/usr/share/info \ 7.18 - --mandir=/usr/share/man \ 7.19 $CONFIGURE_ARGS && 7.20 - make $MAKEFLAGS && 7.21 - make DESTDIR=$DESTDIR install 7.22 + make $MAKEFLAGS && make install 7.23 } 7.24 7.25 # Rules to gen a SliTaz package suitable for Tazpkg.