# HG changeset patch # User Christophe Lincoln # Date 1398106239 -7200 # Node ID 4c9e6fbf820715979c88558a4203f15100201d66 # Parent 5534e6a526a5323702ece215866d49c0dcc73ec7 ARM: add gstreamer-1.0, gst-plugins-base-1.0, pkg-config, sed diff -r 5534e6a526a5 -r 4c9e6fbf8207 gst-plugins-base-1.0-dev/receipt --- a/gst-plugins-base-1.0-dev/receipt Mon Apr 21 21:30:10 2014 +0300 +++ b/gst-plugins-base-1.0-dev/receipt Mon Apr 21 20:50:39 2014 +0200 @@ -7,12 +7,13 @@ SHORT_DESC="gst-plugins-base devel files" MAINTAINER="jozee@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://gstreamer.freedesktop.org/" +HOST_ARCH="i486 arm" + WANTED="gst-plugins-base-1.0" -WEB_SITE="http://gstreamer.freedesktop.org/" - -DEPENDS="gstreamer-1.0-dev pango-dev gobject-introspection-dev alsa-lib-dev \ -libogg-dev libvorbis-dev libtheora-dev libtheora-enc udev-dev xorg-dev \ -xorg-libXv-dev xorg-libXvMC-dev cdparanoia-III-dev orc-dev pkg-config" +DEPENDS="gstreamer-1.0-dev pango-dev alsa-lib-dev libogg-dev \ +libvorbis-dev libtheora-dev libtheora-enc udev-dev xorg-dev \ +xorg-libXv-dev xorg-libXvMC-dev orc-dev pkg-config" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() diff -r 5534e6a526a5 -r 4c9e6fbf8207 gst-plugins-base-1.0/receipt --- a/gst-plugins-base-1.0/receipt Mon Apr 21 21:30:10 2014 +0300 +++ b/gst-plugins-base-1.0/receipt Mon Apr 21 20:50:39 2014 +0200 @@ -5,23 +5,36 @@ SERIES="1.0" CATEGORY="multimedia" SHORT_DESC="GStreamer Base Plugins" -MAINTAINER="jozee@slitaz.org" +MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" SOURCE="gst-plugins-base" TARBALL="$SOURCE-$VERSION.tar.xz" WEB_SITE="http://gstreamer.freedesktop.org/" WGET_URL="${WEB_SITE}src/gst-plugins-base/$TARBALL" -LOCALES="da de es fr id it pt_BR ru zh_CN" +HOST_ARCH="i486 arm" DEPENDS="gstreamer-1.0 pango alsa-lib libogg libtheora libtheora-enc \ -libvorbis vorbis-tools udev xorg xorg-libXv xorg-libXvMC cdparanoia-III orc" +libvorbis vorbis-tools udev xorg xorg-libXv xorg-libXvMC orc" BUILD_DEPENDS="gstreamer-1.0-dev pango-dev alsa-lib-dev libogg-dev \ libtheora-dev libtheora-enc libvorbis-dev udev-dev xorg-libXv-dev \ -xorg-libXvMC-dev cdparanoia-III-dev orc-dev util-linux-uuid-dev" +xorg-libXvMC-dev util-linux-uuid-dev orc-dev" + +# Arch install +case "$SLITAZ_ARCH" in + i?86) DEPENDS="$DEPENDS cdparanoia-III orc" ; +esac + +# Cross compilation +case "$ARCH" in + i?86) BUILD_DEPENDS="$BUILD_DEPENDS cdparanoia-III-dev orc-dev" ; +esac # Rules to configure and make the package. compile_rules() { + sysroot="/cross/arm/sysroot" + libs="/usr/lib" + incl="/usr/include" ./configure \ --prefix=/usr \ --sysconfdir=/etc \ @@ -29,13 +42,13 @@ --enable-experimental \ --disable-static \ --disable-debug \ - --disable-gnome_vfs \ + --disable-gnome-vfs \ + --disable-libvisual \ --enable-introspection=no \ --with-package-name="GStreamer Base Plugins ($SERIES)" \ --with-package-origin="http://www.slitaz.org/" \ $CONFIGURE_ARGS && make $MAKEFLAGS && make install - } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -45,7 +58,4 @@ mv $install/usr/bin $fs/usr mv $install/usr/lib/*.so* $fs/usr/lib mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES - for locale in $LOCALES; do - mv $install/usr/share/locale/$locale $fs/usr/share/locale - done } diff -r 5534e6a526a5 -r 4c9e6fbf8207 gstreamer-1.0-dev/receipt --- a/gstreamer-1.0-dev/receipt Mon Apr 21 21:30:10 2014 +0300 +++ b/gstreamer-1.0-dev/receipt Mon Apr 21 20:50:39 2014 +0200 @@ -4,12 +4,13 @@ VERSION="1.2.3" SERIES="1.0" CATEGORY="development" -SHORT_DESC="gstreamer devel files" -MAINTAINER="jozee@slitaz.org" +SHORT_DESC="The gstreamer-1.0 devel files" +MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2" +WEB_SITE="http://gstreamer.freedesktop.org/" +HOST_ARCH="i486 arm" + WANTED="gstreamer-1.0" -WEB_SITE="http://gstreamer.freedesktop.org/" - DEPENDS="gstreamer-1.0 glib-dev libgio-dev libxml2-dev pkg-config" # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 5534e6a526a5 -r 4c9e6fbf8207 gstreamer-1.0/receipt --- a/gstreamer-1.0/receipt Mon Apr 21 21:30:10 2014 +0300 +++ b/gstreamer-1.0/receipt Mon Apr 21 20:50:39 2014 +0200 @@ -5,17 +5,21 @@ SERIES="1.0" CATEGORY="multimedia" SHORT_DESC="GStreamer Multimedia Framework" -MAINTAINER="jozee@slitaz.org" +MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2" SOURCE="gstreamer" TARBALL="$SOURCE-$VERSION.tar.xz" WEB_SITE="http://gstreamer.freedesktop.org/" WGET_URL="$WEB_SITE/src/gstreamer/$TARBALL" +HOST_ARCH="i486 arm" -LOCALES="da de es fr id it pt_BR ru zh_CN" DEPENDS="glib libgio libxml2" -BUILD_DEPENDS="glib-dev libgio-dev libxml2-dev pkg-config bison flex \ -python-dev valgrind" +BUILD_DEPENDS="glib-dev libgio-dev libxml2-dev pkg-config" + +# Handle cross compilation +case "$ARCH" in + i?86) BUILD_DEPENDS="$BUILD_DEPENDS python-dev valgrind" ;; +esac # Rules to configure and make the package. compile_rules() diff -r 5534e6a526a5 -r 4c9e6fbf8207 orc/receipt --- a/orc/receipt Mon Apr 21 21:30:10 2014 +0300 +++ b/orc/receipt Mon Apr 21 20:50:39 2014 +0200 @@ -14,7 +14,6 @@ # Rules to configure and make the package. compile_rules() { - cd $src ./configure \ --libexecdir=/usr/lib \ --disable-static \ diff -r 5534e6a526a5 -r 4c9e6fbf8207 pkg-config/receipt --- a/pkg-config/receipt Mon Apr 21 21:30:10 2014 +0300 +++ b/pkg-config/receipt Mon Apr 21 20:50:39 2014 +0200 @@ -9,7 +9,7 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://pkgconfig.freedesktop.org/wiki/" WGET_URL="http://pkgconfig.freedesktop.org/releases/$TARBALL" -#HOST_ARCH="i486 arm" +HOST_ARCH="i486 arm" DEPENDS="glibc-base" BUILD_DEPENDS="gcc libtool" diff -r 5534e6a526a5 -r 4c9e6fbf8207 sed/receipt --- a/sed/receipt Mon Apr 21 21:30:10 2014 +0300 +++ b/sed/receipt Mon Apr 21 20:50:39 2014 +0200 @@ -9,20 +9,16 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.gnu.org/software/sed/" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" +HOST_ARCH="i486 arm" DEPENDS="acl" # Rules to configure and make the package. compile_rules() { - cd $src ./configure \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ $CONFIGURE_ARGS && - make $MAKEFLAGS && - make DESTDIR=$DESTDIR install + make $MAKEFLAGS && make install } # Rules to gen a SliTaz package suitable for Tazpkg.