wok-next view gejengel/receipt @ rev 21596
updated dos2unix (7.4.0 -> 7.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 14:10:06 2020 +0100 (2020-06-24) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gejengel"
4 VERSION="0.1.4"
5 CATEGORY="network"
6 SHORT_DESC="A simple, light and clean audio player"
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/dirkvdb/gejengel"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://gejengel.googlecode.com/files/$TARBALL"
14 BUILD_DEPENDS="alsa-lib-dev cairomm-dev ffmpeg-dev fftw-dev flac-dev glibmm-dev
15 graphviz-dev gtk2-dev gtkmm-dev ilmbase-dev imagemagick imagemagick-dev
16 intltool lcms-dev libcroco libogg-dev libsigc++-dev libtool
17 libxdg-basedir-dev openexr-dev sqlite3-dev util-linux-uuid-dev taglib-dev"
19 compile_rules() {
20 sed \
21 -e 's/CODEC_TYPE_AUDIO/AVMEDIA_TYPE_AUDIO/' \
22 -e 's/SAMPLE_FMT_S16/AV_&/' -e 's/SAMPLE_FMT_U8/AV_&/' \
23 -e 's/SAMPLE_FMT_S32/AV_&/' \
24 -e 's/AVCODEC_MAX_AUDIO_FRAME_SIZE/192000/' \
25 -e 's/av_open_input_file\(.*\), NULL/avformat_open_input\1/' \
26 -e 's/avcodec_open(\([^)]*\)/avcodec_open2(\1, NULL/' \
27 -e 's/av_close_input_file(/avformat_close_input(\&/' \
28 -e 's/av_\(find_stream_info(m_pFormatContext\)/avformat_\1,NULL/' \
29 -i src/AudioDecoder/ffmpegdecoder.cpp
31 find . -name '*.h' -o -name '*.c*' | xargs sed -i 's|glibmm/i18n|glib/gi18n|'
33 sed -i 's|ImageMagick++|Magick++|' configure*
35 ./configure \
36 --enable-alsa \
37 --enable-ffmpeg \
38 --enable-flac \
39 $CONFIGURE_ARGS &&
40 make &&
41 make install
42 }
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr $fs/etc
47 cp -a $install/usr/bin $fs/usr
48 DEPENDS="alsa-lib cairomm ffmpeg flac glibmm gtkmm imagemagick libsigc++
49 libxdg-basedir sqlite3 taglib"
50 }