wok annotate gejengel/receipt @ rev 25285

updated rpcbind (1.2.5 -> 1.2.6)
author Hans-G?nter Theisgen
date Mon Jul 18 16:27:00 2022 +0100 (2022-07-18)
parents 34e801e0eb52
children
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@24982 11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$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@24497 20 # What is the latest version available today?
pascal@24497 21 current_version()
pascal@24497 22 {
pascal@24497 23 wget -O - https://raw.githubusercontent.com/dirkvdb/gejengel/master/ChangeLog 2>/dev/null | \
pascal@24497 24 sed '/^Version /!d;s|.*ersion ||;s| .*||' | sort -Vr | sed q
pascal@24497 25 }
pascal@24497 26
pascal@11222 27 # Rules to configure and make the package.
pascal@11222 28 compile_rules()
pascal@11222 29 {
pascal@21127 30 sed -i 's|ImageMagick++|Magick++|' configure*
pascal@16662 31 sed -i -e 's/CODEC_TYPE_AUDIO/AVMEDIA_TYPE_AUDIO/' \
pascal@16662 32 -e 's/SAMPLE_FMT_S16/AV_&/' -e 's/SAMPLE_FMT_U8/AV_&/' \
pascal@16662 33 -e 's/SAMPLE_FMT_S32/AV_&/' \
pascal@16662 34 -e 's/AVCODEC_MAX_AUDIO_FRAME_SIZE/192000/' \
pascal@16662 35 -e 's/av_open_input_file\(.*\), NULL/avformat_open_input\1/' \
pascal@16662 36 -e 's/avcodec_open(\([^)]*\)/avcodec_open2(\1, NULL/' \
pascal@19144 37 -e 's/av_close_input_file(/avformat_close_input(\&/' \
pascal@19144 38 -e 's/av_\(find_stream_info(m_pFormatContext\)/avformat_\1,NULL/' \
pascal@16662 39 src/AudioDecoder/ffmpegdecoder.cpp
pascal@13138 40 find . -name '*.h' -o -name '*.c*' | xargs sed -i 's|glibmm/i18n|glib/gi18n|'
pascal@11222 41 ./configure --enable-alsa --enable-ffmpeg --enable-flac \
pascal@11222 42 $CONFIGURE_ARGS && make && make install
pascal@11222 43 }
pascal@11222 44
pascal@11222 45 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11222 46 genpkg_rules()
pascal@11222 47 {
pascal@11222 48 mkdir -p $fs/usr $fs/etc
pascal@15000 49 cp -a $install/usr/bin $fs/usr
pascal@11222 50 }