wok diff audacious-plugins/receipt @ rev 23933

dar: inserted libdir=/lib
author Hans-G?nter Theisgen
date Mon Sep 07 13:19:26 2020 +0100 (2020-09-07)
parents a78610b2eb47
children 4e9e2372bd7f
line diff
     1.1 --- a/audacious-plugins/receipt	Mon Jan 21 12:26:11 2019 +0100
     1.2 +++ b/audacious-plugins/receipt	Mon Sep 07 13:19:26 2020 +0100
     1.3 @@ -1,40 +1,55 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="audacious-plugins"
     1.7 -VERSION="3.4.3"
     1.8 +VERSION="3.10.1"
     1.9  CATEGORY="multimedia"
    1.10 -SHORT_DESC="Plugins for audacious music player"
    1.11 +SHORT_DESC="Plugins for audacious music player."
    1.12  MAINTAINER="mimas@slitaz.org"
    1.13  LICENSE="MIT"
    1.14 -SUGGESTED="lame neon libmms"
    1.15 +WEB_SITE="https://audacious-media-player.org/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18 -WEB_SITE="https://audacious-media-player.org/"
    1.19  WGET_URL="http://distfiles.audacious-media-player.org/$TARBALL"
    1.20  
    1.21 -DEPENDS="libxml2 libogg libvorbis alsa-lib flac dbus-glib libsndfile \
    1.22 - libcdio libmad curl taglib libcomerr3 mpg123 faad2 neon gtk+"
    1.23 -BUILD_DEPENDS="audacious-dev audacious neon-dev flac-dev libogg-dev \
    1.24 -libvorbis-dev libmowgli-dev alsa-lib-dev lame-dev libmad-dev dbus-glib-dev \
    1.25 -libmcs-dev libsamplerate-dev mpg123-dev faad2-dev curl-dev \
    1.26 -libxml2-dev gtk+3-dev mesa-dev"
    1.27 +SUGGESTED="lame neon libmms"
    1.28 +DEPENDS="alsa-lib curl dbus-glib faad2 flac gcc83-lib-base gtk+ 
    1.29 +	libcdio libcomerr3 libmad libogg libsndfile libvorbis 
    1.30 +	libxml2 mpg123 neon taglib wavpack"
    1.31 +BUILD_DEPENDS="alsa-lib-dev audacious audacious-dev curl-dev 
    1.32 +	dbus-glib-dev faad2-dev flac-dev gcc83 gtk+-dev lame-dev 
    1.33 +	libmad-dev libmcs-dev libmowgli-dev libogg-dev 
    1.34 +	libsamplerate-dev libvorbis-dev libxml2-dev mesa-dev 
    1.35 +	mpg123-dev neon-dev wavpack-dev"
    1.36  
    1.37  # Rules to configure and make the package.
    1.38  compile_rules()
    1.39  {
    1.40 -	sed -i "s/touch -t 0001010000 /touch /g" configure
    1.41 +#	sed -i "s/touch -t 0001010000 /touch /g" configure
    1.42  #XML_CFLAGS=-I/usr/include/libxml2 
    1.43 -	./configure \
    1.44 -		--prefix=/usr \
    1.45 -		--infodir=/usr/share/info \
    1.46 -		--mandir=/usr/share/man \
    1.47 -		--disable-sse2 \
    1.48 -		--enable-chardet \
    1.49 -		--disable-esd --disable-pulse --disable-icecast \
    1.50 -		--disable-jack --disable-timidity --disable-evdevplug \
    1.51 -		--disable-rocklight  --disable-lirc  \
    1.52 -		--disable-bluetooth --disable-paranormal \
    1.53 -		--disable-projectm --disable-projectm-1.0 \
    1.54 -		--disable-ffaudio --disable-mtp_up \
    1.55 +
    1.56 +	./configure				\
    1.57 +		CC=gcc-83			\
    1.58 +		CXX=g++-83			\
    1.59 +		--prefix=/usr			\
    1.60 +		--infodir=/usr/share/info	\
    1.61 +		--mandir=/usr/share/man		\
    1.62 +		--disable-bluetooth		\
    1.63 +		--disable-esd			\
    1.64 +		--disable-evdevplug		\
    1.65 +		--disable-ffaudio		\
    1.66 +		--disable-icecast		\
    1.67 +		--disable-jack			\
    1.68 +		--disable-lirc			\
    1.69 +		--disable-mtp_up		\
    1.70 +		--disable-paranormal		\
    1.71 +		--disable-projectm		\
    1.72 +		--disable-projectm-1.0		\
    1.73 +		--disable-pulse			\
    1.74 +		--disable-rocklight		\
    1.75 +		--disable-sse2			\
    1.76 +		--disable-timidity		\
    1.77 +		--enable-chardet		\
    1.78 +		--with-ffmpeg=none		\
    1.79  		$CONFIGURE_ARGS &&
    1.80  	make &&
    1.81  	make DESTDIR=$DESTDIR install
    1.82 @@ -44,6 +59,16 @@
    1.83  genpkg_rules()
    1.84  {
    1.85  	mkdir -p $fs/usr/share/locale
    1.86 -	cp -a $install/usr/lib $fs/usr
    1.87 -	cp -a $install/usr/share/locale/fr $fs/usr/share/locale
    1.88 +
    1.89 +	cp -a $install/usr/lib	$fs/usr
    1.90 +
    1.91 +	# Set list of wanted locales in LOCALE_PACK
    1.92 +	. $WOK/slitaz-i18n/stuff/locale-pack.conf
    1.93 +
    1.94 +	# Copy message files in wanted languages, if available
    1.95 +	for locale in $LOCALE_PACK
    1.96 +	  do
    1.97 +		[ -d $install/usr/share/locale/$locale ] || continue
    1.98 +		cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
    1.99 +	  done
   1.100  }