wok-current view gejengel/receipt @ rev 16474
jpeg: add libs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 22 07:28:32 2014 +0000 (2014-04-22) |
parents | 21ad69bbbfa5 |
children | 002d4bf6c905 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gejengel"
4 VERSION="0.1.4"
5 CATEGORY="network"
6 SHORT_DESC="A simple, light and clean audio player."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://code.google.com/p/gejengel/"
11 WGET_URL="http://gejengel.googlecode.com/files/$TARBALL"
13 DEPENDS="glibmm cairomm gtkmm libsigc++ taglib imagemagick libxdg-basedir \
14 alsa-lib flac ffmpeg-svn sqlite"
15 BUILD_DEPENDS="glibmm-dev cairomm-dev gtkmm-dev libsigc++-dev taglib-dev \
16 imagemagick-dev imagemagick libxdg-basedir-dev alsa-lib-dev flac-dev \
17 ffmpeg-svn-dev lcms-dev fftw-dev openexr-dev ilmbase-dev graphviz-dev \
18 util-linux-uuid-dev libogg-dev intltool libcroco sqlite-dev gtk+-dev libtool"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i 's/CODEC_TYPE_AUDIO/AVMEDIA_TYPE_AUDIO/' \
24 src/AudioDecoder/ffmpegdecoder.cpp
25 find . -name '*.h' -o -name '*.c*' | xargs sed -i 's|glibmm/i18n|glib/gi18n|'
26 ./configure --enable-alsa --enable-ffmpeg --enable-flac \
27 $CONFIGURE_ARGS && make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr $fs/etc
34 cp -a $install/usr/bin $fs/usr
35 }