wok-current view libvalhalla/receipt @ rev 16125
ARM: add xorg-libXdamage and conky
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 23 22:52:11 2014 +0100 (2014-03-23) |
parents | ee5c8b018b62 |
children | 1204cf352c74 |
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"
13 DEPENDS="ffmpeg ffmpeg-compat libexif sqlite libxml2 libgcrypt libcurl libcrypto"
14 BUILD_DEPENDS="ffmpeg-compat-dev sqlite-dev libxml2-dev libexif-dev curl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export PKG_CONFIG_PATH=/usr/lib/ffmpeg-compat/pkgconfig
20 export LDFLAGS="-Wl,-rpath=/usr/lib/ffmpeg-compat"
21 # Fix Busybox cat
22 sed -i 's/cat -n/awk '"'"'{ printf "%6d %s\\n",++n,$0 }'"'"' </' configure
24 ##export LDFLAGS="-lavformat"
25 #sed -i '/prealloced_context/d' src/lavf_utils.c
26 #sed -i 's/AVFormatParameters /AVDictionary */' src/lavf_utils.c
27 #sed -i 's/av_open_input_file\(.*, \)0, \(.*\)$/avformat_open_input\1\2/' src/lavf_utils.c
28 #sed -i '/av_metadata_get/d' configure
29 #sed -i 's/av_metadata_get/av_dict_get/' configure src/parser.c
30 #sed -i 's/AVMetadataTag/AVDictionaryEntry/' src/parser.c
31 ## Fix build with curl >= 7.21.2
32 #sed -i '/#include <curl\/types.h>/d' src/url_utils.c
33 ## Fix configure for GCC 4.5.0
34 #sed -i 's/"\$@" >>\$logfile 2/$@ >>$logfile 2/' configure
36 ./configure \
37 --prefix=/usr &&
38 make && make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 }