wok view libvalhalla/receipt @ rev 16163
Add Wayland server (This is our futur :-)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 29 04:05:10 2014 +0100 (2014-03-29) |
parents | d716e8d59284 |
children | 68f00cd672fd |
line source
1 # SliTaz package receipt.
3 PACKAGE="libvalhalla"
4 VERSION="2.1.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="A tiny media scanner API."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://libvalhalla.geexbox.org/"
11 WGET_URL="http://libvalhalla.geexbox.org/releases/$TARBALL"
12 #HOST_ARCH="i486 arm"
14 DEPENDS="ffmpeg ffmpeg-compat libexif sqlite libxml2 libgcrypt libcurl libcrypto"
15 BUILD_DEPENDS="ffmpeg-compat-dev sqlite-dev libxml2-dev libexif-dev curl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export PKG_CONFIG_PATH=/usr/lib/ffmpeg-compat/pkgconfig
21 export LDFLAGS="-Wl,-rpath=/usr/lib/ffmpeg-compat"
22 # Fix Busybox cat
23 sed -i 's/cat -n/awk '"'"'{ printf "%6d %s\\n",++n,$0 }'"'"' </' configure
25 ##export LDFLAGS="-lavformat"
26 #sed -i '/prealloced_context/d' src/lavf_utils.c
27 #sed -i 's/AVFormatParameters /AVDictionary */' src/lavf_utils.c
28 #sed -i 's/av_open_input_file\(.*, \)0, \(.*\)$/avformat_open_input\1\2/' src/lavf_utils.c
29 #sed -i '/av_metadata_get/d' configure
30 #sed -i 's/av_metadata_get/av_dict_get/' configure src/parser.c
31 #sed -i 's/AVMetadataTag/AVDictionaryEntry/' src/parser.c
32 ## Fix build with curl >= 7.21.2
33 #sed -i '/#include <curl\/types.h>/d' src/url_utils.c
34 ## Fix configure for GCC 4.5.0
35 #sed -i 's/"\$@" >>\$logfile 2/$@ >>$logfile 2/' configure
37 ./configure \
38 --prefix=/usr &&
39 make && make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 }