wok-6.x rev 16168
ARM: add enna media player
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 29 23:45:46 2014 +0100 (2014-03-29) |
parents | 6ebbb23fa7c2 |
children | d504756dc474 |
files | enlightenment/receipt enna/receipt ffmpeg-compat-dev/receipt ffmpeg-compat/receipt libplayer-dev/receipt libplayer/receipt libsqlite/receipt libvalhalla-dev/receipt libvalhalla/receipt |
line diff
1.1 --- a/enlightenment/receipt Sat Mar 29 13:56:21 2014 +0100 1.2 +++ b/enlightenment/receipt Sat Mar 29 23:45:46 2014 +0100 1.3 @@ -13,8 +13,8 @@ 1.4 HOST_ARCH="i486 arm" 1.5 1.6 LOCALES="da de es fr fr_CH it pt_BR ru zh_CN zh_TW" 1.7 -DEPENDS="emotion efreet edbus alsa-lib xcb-util-keysyms" 1.8 -BUILD_DEPENDS="emotion-dev efreet-dev edbus-dev alsa-lib-dev \ 1.9 +DEPENDS="ecore emotion efreet edbus alsa-lib xcb-util-keysyms" 1.10 +BUILD_DEPENDS="ecore-dev emotion-dev efreet-dev edbus-dev alsa-lib-dev \ 1.11 xcb-util-keysyms-dev" 1.12 1.13 case "$ARCH" in
2.1 --- a/enna/receipt Sat Mar 29 13:56:21 2014 +0100 2.2 +++ b/enna/receipt Sat Mar 29 23:45:46 2014 +0100 2.3 @@ -11,13 +11,19 @@ 2.4 WGET_URL="hg|http://hg.geexbox.org/enna" 2.5 BRANCH="$VERSION" 2.6 TAGS="images music video e17" 2.7 +HOST_ARCH="i486 arm" 2.8 2.9 -DEPENDS="eina eet ecore evas efreet edje edbus emotion elementary ethumb \ 2.10 +DEPENDS="eina eet ecore evas efreet edje edbus emotion ethumb elementary \ 2.11 libvalhalla libcurl xine-lib libexif alsa-lib libplayer" 2.12 -BUILD_DEPENDS="mercurial automake eina-dev eet-dev ecore-dev evas-dev efreet-dev \ 2.13 -edje-dev edbus-dev emotion-dev elementary-dev ethumb-dev libvalhalla-dev curl-dev \ 2.14 -xine-lib-dev libexif-dev alsa-lib-dev libplayer-dev libxml2-dev libtool expat-dev \ 2.15 -jpeg-dev glib-dev ffmpeg-dev git eio-dev" 2.16 +BUILD_DEPENDS="eina-dev eet-dev ecore-dev evas-dev efreet-dev edje-dev \ 2.17 +edbus-dev emotion-dev ethumb-dev elementary-dev curl-dev eio-dev \ 2.18 +xine-lib-dev libexif-dev alsa-lib-dev libplayer-dev libxml2-dev libtool \ 2.19 +expat-dev jpeg-dev glib-dev ffmpeg-dev libvalhalla-dev libelementary" 2.20 + 2.21 +# Handle cross compilation 2.22 +case "$ARCH" in 2.23 + i?86) BUILD_DEPENDS="$BUILD_DEPENDS mercurial automake " ;; 2.24 +esac 2.25 2.26 # Rules to configure and make the package. 2.27 compile_rules()
3.1 --- a/ffmpeg-compat-dev/receipt Sat Mar 29 13:56:21 2014 +0100 3.2 +++ b/ffmpeg-compat-dev/receipt Sat Mar 29 23:45:46 2014 +0100 3.3 @@ -1,14 +1,14 @@ 3.4 # SliTaz package receipt. 3.5 3.6 PACKAGE="ffmpeg-compat-dev" 3.7 -VERSION="2.1.4" 3.8 +VERSION="0.10.12" 3.9 CATEGORY="development" 3.10 SHORT_DESC="Devel files for ffmpeg-compat (used to build enna)" 3.11 MAINTAINER="pascal.bellard@slitaz.org" 3.12 LICENSE="GPL2 LGPL2.1" 3.13 WEB_SITE="http://ffmpeg.org/" 3.14 WANTED="ffmpeg-compat" 3.15 -#HOST_ARCH="i486 arm" 3.16 +HOST_ARCH="i486 arm" 3.17 3.18 # Rules to gen a SliTaz package suitable for Tazpkg. 3.19 genpkg_rules()
4.1 --- a/ffmpeg-compat/receipt Sat Mar 29 13:56:21 2014 +0100 4.2 +++ b/ffmpeg-compat/receipt Sat Mar 29 23:45:46 2014 +0100 4.3 @@ -10,7 +10,7 @@ 4.4 SOURCE="ffmpeg" 4.5 TARBALL="$SOURCE-$VERSION.tar.bz2" 4.6 WGET_URL="${WEB_SITE}releases/$TARBALL" 4.7 -#HOST_ARCH="i486 arm" 4.8 +HOST_ARCH="i486 arm" 4.9 4.10 DEPENDS="alsa-lib libsdl bzip2" 4.11 BUILD_DEPENDS="libsdl-dev zlib-dev bzip2-dev coreutils-file-format \
5.1 --- a/libplayer-dev/receipt Sat Mar 29 13:56:21 2014 +0100 5.2 +++ b/libplayer-dev/receipt Sat Mar 29 23:45:46 2014 +0100 5.3 @@ -8,8 +8,7 @@ 5.4 LICENSE="LGPL2.1" 5.5 WANTED="libplayer" 5.6 WEB_SITE="http://libplayer.geexbox.org/" 5.7 - 5.8 -DEPENDS="libplayer pkg-config" 5.9 +HOST_ARCH="i486 arm" 5.10 5.11 # Rules to gen a SliTaz package suitable for Tazpkg. 5.12 genpkg_rules()
6.1 --- a/libplayer/receipt Sat Mar 29 13:56:21 2014 +0100 6.2 +++ b/libplayer/receipt Sat Mar 29 23:45:46 2014 +0100 6.3 @@ -4,22 +4,30 @@ 6.4 VERSION="2.0.1" 6.5 CATEGORY="multimedia" 6.6 SHORT_DESC="A multimedia A/V abstraction layer API." 6.7 -DEPENDS="xine-lib mplayer" 6.8 MAINTAINER="pankso@slitaz.org" 6.9 LICENSE="LGPL2.1" 6.10 TARBALL="$PACKAGE-$VERSION.tar.bz2" 6.11 WEB_SITE="http://libplayer.geexbox.org/" 6.12 WGET_URL="http://libplayer.geexbox.org/releases/$TARBALL" 6.13 +HOST_ARCH="i486 arm" 6.14 + 6.15 +DEPENDS="xine-lib" 6.16 +BUILD_DEPENDS="xine-lib-dev" 6.17 + 6.18 +# Handle cross compilation 6.19 +case "$ARCH" in 6.20 + arm*) ARCH_ARGS="--cross-compile" ;; 6.21 +esac 6.22 6.23 # Rules to configure and make the package. 6.24 compile_rules() 6.25 { 6.26 - cd $src 6.27 sed -i 's/cat -n/awk '"'"'{ printf "%6d %s\\n",++n,$0 }'"'"' </' configure 6.28 - ./configure --prefix=/usr\ 6.29 + ./configure \ 6.30 + --prefix=/usr\ 6.31 --enable-mplayer \ 6.32 --disable-gstreamer \ 6.33 - --disable-vlc && 6.34 + --disable-vlc ${ARCH_ARGS} && 6.35 make && make install 6.36 } 6.37
7.1 --- a/libsqlite/receipt Sat Mar 29 13:56:21 2014 +0100 7.2 +++ b/libsqlite/receipt Sat Mar 29 23:45:46 2014 +0100 7.3 @@ -9,6 +9,7 @@ 7.4 LICENSE="PublicDomain" 7.5 WEB_SITE="http://www.sqlite.org/" 7.6 WANTED="sqlite" 7.7 +HOST_ARCH="i486 arm" 7.8 7.9 # Rules to gen a SliTaz package suitable for Tazpkg. 7.10 genpkg_rules()
8.1 --- a/libvalhalla-dev/receipt Sat Mar 29 13:56:21 2014 +0100 8.2 +++ b/libvalhalla-dev/receipt Sat Mar 29 23:45:46 2014 +0100 8.3 @@ -8,8 +8,7 @@ 8.4 LICENSE="LGPL2.1" 8.5 WANTED="libvalhalla" 8.6 WEB_SITE="http://libvalhalla.geexbox.org/" 8.7 - 8.8 -DEPENDS="libvalhalla pkg-config" 8.9 +HOST_ARCH="i486 arm" 8.10 8.11 # Rules to gen a SliTaz package suitable for Tazpkg. 8.12 genpkg_rules()
9.1 --- a/libvalhalla/receipt Sat Mar 29 13:56:21 2014 +0100 9.2 +++ b/libvalhalla/receipt Sat Mar 29 23:45:46 2014 +0100 9.3 @@ -9,33 +9,36 @@ 9.4 TARBALL="$PACKAGE-$VERSION.tar.bz2" 9.5 WEB_SITE="http://libvalhalla.geexbox.org/" 9.6 WGET_URL="http://libvalhalla.geexbox.org/releases/$TARBALL" 9.7 -#HOST_ARCH="i486 arm" 9.8 +HOST_ARCH="i486 arm" 9.9 9.10 -DEPENDS="ffmpeg ffmpeg-compat libexif sqlite libxml2 libgcrypt libcurl libcrypto" 9.11 -BUILD_DEPENDS="ffmpeg-compat-dev sqlite-dev libxml2-dev libexif-dev curl-dev" 9.12 +DEPENDS="ffmpeg ffmpeg-compat libexif libsqlite libxml2 libgcrypt libcurl \ 9.13 +libcrypto" 9.14 +BUILD_DEPENDS="ffmpeg-dev ffmpeg-compat-dev libsqlite sqlite-dev \ 9.15 +libxml2-dev libexif-dev curl-dev" 9.16 + 9.17 +# Handle cross compilation 9.18 +case "$ARCH" in 9.19 + i?86) 9.20 + #export LDFLAGS="-lavformat" 9.21 + export PKG_CONFIG_PATH=/usr/lib/ffmpeg-compat/pkgconfig 9.22 + export LDFLAGS="-Wl,-rpath=/usr/lib/ffmpeg-compat" ;; 9.23 + arm*) 9.24 + export PKG_CONFIG_PATH=/cross/$ARCH/sysroot/usr/lib/ffmpeg-compat/pkgconfig 9.25 + export LDFLAGS="-Wl,-rpath=/cross/$ARCH/sysroot/usr/lib/ffmpeg-compat" 9.26 + export CFLAGS="$CFLAFS -I/cross/$ARCH/sysroot/usr/include/ffmpeg-compat" 9.27 + export LDFLAGS="-L/cross/$ARCH/sysroot/usr/lib/ffmpeg-compat -lavformat" 9.28 + ARCH_ARGS="--cross-compile" ;; 9.29 +esac 9.30 9.31 # Rules to configure and make the package. 9.32 compile_rules() 9.33 { 9.34 - export PKG_CONFIG_PATH=/usr/lib/ffmpeg-compat/pkgconfig 9.35 - export LDFLAGS="-Wl,-rpath=/usr/lib/ffmpeg-compat" 9.36 # Fix Busybox cat 9.37 - sed -i 's/cat -n/awk '"'"'{ printf "%6d %s\\n",++n,$0 }'"'"' </' configure 9.38 - 9.39 - ##export LDFLAGS="-lavformat" 9.40 - #sed -i '/prealloced_context/d' src/lavf_utils.c 9.41 - #sed -i 's/AVFormatParameters /AVDictionary */' src/lavf_utils.c 9.42 - #sed -i 's/av_open_input_file\(.*, \)0, \(.*\)$/avformat_open_input\1\2/' src/lavf_utils.c 9.43 - #sed -i '/av_metadata_get/d' configure 9.44 - #sed -i 's/av_metadata_get/av_dict_get/' configure src/parser.c 9.45 - #sed -i 's/AVMetadataTag/AVDictionaryEntry/' src/parser.c 9.46 - ## Fix build with curl >= 7.21.2 9.47 - #sed -i '/#include <curl\/types.h>/d' src/url_utils.c 9.48 - ## Fix configure for GCC 4.5.0 9.49 - #sed -i 's/"\$@" >>\$logfile 2/$@ >>$logfile 2/' configure 9.50 + sed -i 's/cat -n/awk '"'"'{ printf "%6d %s\\n",++n,$0 }'"'"' </' \ 9.51 + configure 9.52 9.53 ./configure \ 9.54 - --prefix=/usr && 9.55 + --prefix=/usr ${ARCH_ARGS} && 9.56 make && make install 9.57 } 9.58