wok-next rev 21274

gejengel: inserted modification of configure files from cooking
author Hans-G?nter Theisgen
date Sat Dec 07 15:42:09 2019 +0100 (2019-12-07)
parents 4cb9158910ec
children f78210db36f0
files gejengel/receipt
line diff
     1.1 --- a/gejengel/receipt	Sat Dec 07 15:27:45 2019 +0100
     1.2 +++ b/gejengel/receipt	Sat Dec 07 15:42:09 2019 +0100
     1.3 @@ -4,17 +4,17 @@
     1.4  VERSION="0.1.4"
     1.5  CATEGORY="network"
     1.6  SHORT_DESC="A simple, light and clean audio player"
     1.7 -MAINTAINER="devel@slitaz.org"
     1.8 +MAINTAINER="maintainer@slitaz.org"
     1.9  LICENSE="GPL2"
    1.10  WEB_SITE="https://github.com/dirkvdb/gejengel"
    1.11  
    1.12  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13  WGET_URL="http://gejengel.googlecode.com/files/$TARBALL"
    1.14  
    1.15 -BUILD_DEPENDS="glibmm-dev cairomm-dev gtkmm-dev libsigc++-dev taglib-dev \
    1.16 -imagemagick-dev imagemagick libxdg-basedir-dev alsa-lib-dev flac-dev \
    1.17 -ffmpeg-dev lcms-dev fftw-dev openexr-dev ilmbase-dev graphviz-dev \
    1.18 -util-linux-uuid-dev libogg-dev intltool libcroco sqlite3-dev gtk2-dev libtool"
    1.19 +BUILD_DEPENDS="alsa-lib-dev cairomm-dev ffmpeg-dev fftw-dev flac-dev glibmm-dev 
    1.20 +	graphviz-dev gtk2-dev gtkmm-dev ilmbase-dev imagemagick imagemagick-dev 
    1.21 +	intltool lcms-dev libcroco libogg-dev libsigc++-dev libtool 
    1.22 +	libxdg-basedir-dev openexr-dev sqlite3-dev util-linux-uuid-dev taglib-dev"
    1.23  
    1.24  compile_rules() {
    1.25  	sed \
    1.26 @@ -27,20 +27,24 @@
    1.27  		-e 's/av_close_input_file(/avformat_close_input(\&/' \
    1.28  		-e 's/av_\(find_stream_info(m_pFormatContext\)/avformat_\1,NULL/' \
    1.29  		-i src/AudioDecoder/ffmpegdecoder.cpp
    1.30 +
    1.31  	find . -name '*.h' -o -name '*.c*' | xargs sed -i 's|glibmm/i18n|glib/gi18n|'
    1.32  
    1.33 -	./configure \
    1.34 -		--enable-alsa \
    1.35 -		--enable-ffmpeg \
    1.36 -		--enable-flac \
    1.37 +	sed -i 's|ImageMagick++|Magick++|' configure*
    1.38 +
    1.39 +	./configure		\
    1.40 +		--enable-alsa	\
    1.41 +		--enable-ffmpeg	\
    1.42 +		--enable-flac	\
    1.43  		$CONFIGURE_ARGS &&
    1.44  	make &&
    1.45  	make install
    1.46  }
    1.47  
    1.48 -genpkg_rules() {
    1.49 +genpkg_rules()
    1.50 +{
    1.51  	mkdir -p $fs/usr $fs/etc
    1.52  	cp -a $install/usr/bin $fs/usr
    1.53 -	DEPENDS="glibmm cairomm gtkmm libsigc++ taglib imagemagick libxdg-basedir \
    1.54 -	alsa-lib flac ffmpeg sqlite3"
    1.55 +	DEPENDS="alsa-lib cairomm ffmpeg flac glibmm gtkmm imagemagick libsigc++ 
    1.56 +		libxdg-basedir sqlite3 taglib"
    1.57  }