wok-6.x annotate gejengel/receipt @ rev 23512

updated python-netifaces (0.8 -> 0.10.9)
author Hans-G?nter Theisgen
date Mon Apr 06 10:53:56 2020 +0100 (2020-04-06)
parents e3f377fbc5f0
children 34e801e0eb52
rev   line source
pascal@11222 1 # SliTaz package receipt.
pascal@11222 2
pascal@11222 3 PACKAGE="gejengel"
pascal@11222 4 VERSION="0.1.4"
pascal@11222 5 CATEGORY="network"
pascal@11222 6 SHORT_DESC="A simple, light and clean audio player."
pascal@13025 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pascal@11222 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20673 10 WEB_SITE="https://github.com/dirkvdb/gejengel"
pascal@11222 11 WGET_URL="http://gejengel.googlecode.com/files/$TARBALL"
pascal@11222 12
pascal@11222 13 DEPENDS="glibmm cairomm gtkmm libsigc++ taglib imagemagick libxdg-basedir \
pascal@16612 14 alsa-lib flac ffmpeg sqlite"
pascal@11222 15 BUILD_DEPENDS="glibmm-dev cairomm-dev gtkmm-dev libsigc++-dev taglib-dev \
pascal@11222 16 imagemagick-dev imagemagick libxdg-basedir-dev alsa-lib-dev flac-dev \
pascal@20590 17 ffmpeg-dev lcms-dev fftw-dev openexr-dev ilmbase-dev graphviz-dev libgnutls \
pascal@13138 18 util-linux-uuid-dev libogg-dev intltool libcroco sqlite-dev gtk+-dev libtool"
pascal@11222 19
pascal@11222 20 # Rules to configure and make the package.
pascal@11222 21 compile_rules()
pascal@11222 22 {
pascal@21127 23 sed -i 's|ImageMagick++|Magick++|' configure*
pascal@16662 24 sed -i -e 's/CODEC_TYPE_AUDIO/AVMEDIA_TYPE_AUDIO/' \
pascal@16662 25 -e 's/SAMPLE_FMT_S16/AV_&/' -e 's/SAMPLE_FMT_U8/AV_&/' \
pascal@16662 26 -e 's/SAMPLE_FMT_S32/AV_&/' \
pascal@16662 27 -e 's/AVCODEC_MAX_AUDIO_FRAME_SIZE/192000/' \
pascal@16662 28 -e 's/av_open_input_file\(.*\), NULL/avformat_open_input\1/' \
pascal@16662 29 -e 's/avcodec_open(\([^)]*\)/avcodec_open2(\1, NULL/' \
pascal@19144 30 -e 's/av_close_input_file(/avformat_close_input(\&/' \
pascal@19144 31 -e 's/av_\(find_stream_info(m_pFormatContext\)/avformat_\1,NULL/' \
pascal@16662 32 src/AudioDecoder/ffmpegdecoder.cpp
pascal@13138 33 find . -name '*.h' -o -name '*.c*' | xargs sed -i 's|glibmm/i18n|glib/gi18n|'
pascal@11222 34 ./configure --enable-alsa --enable-ffmpeg --enable-flac \
pascal@11222 35 $CONFIGURE_ARGS && make && make install
pascal@11222 36 }
pascal@11222 37
pascal@11222 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11222 39 genpkg_rules()
pascal@11222 40 {
pascal@11222 41 mkdir -p $fs/usr $fs/etc
pascal@15000 42 cp -a $install/usr/bin $fs/usr
pascal@11222 43 }