wok-next rev 20415

Up audacious, audacious-plugins (3.9): both GTK+2 and Qt5 editions
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jan 10 01:50:31 2018 +0200 (2018-01-10)
parents 5dcba97b45a1
children 56e3821be0be
files audacious-dev/receipt audacious-plugins/receipt audacious/receipt audacious/stuff/Skins.tar.gz
line diff
     1.1 --- a/audacious-dev/receipt	Tue Jan 09 15:40:25 2018 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,20 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="audacious-dev"
     1.7 -VERSION="3.4.3"
     1.8 -CATEGORY="multimedia"
     1.9 -SHORT_DESC="Music player like xmms"
    1.10 -WEB_SITE="http://audacious-media-player.org/"
    1.11 -MAINTAINER="mimas@slitaz.org"
    1.12 -LICENSE="GPL"
    1.13 -WANTED="audacious"
    1.14 -
    1.15 -DEPENDS="pkg-config"
    1.16 -
    1.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 -genpkg_rules()
    1.19 -{
    1.20 -	mkdir -p $fs/usr/lib
    1.21 -	cp -a $install/usr/include $fs/usr
    1.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.23 -}
     2.1 --- a/audacious-plugins/receipt	Tue Jan 09 15:40:25 2018 +0200
     2.2 +++ b/audacious-plugins/receipt	Wed Jan 10 01:50:31 2018 +0200
     2.3 @@ -1,49 +1,105 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="audacious-plugins"
     2.8 -VERSION="3.4.3"
     2.9 +VERSION="3.9"
    2.10  CATEGORY="multimedia"
    2.11 -SHORT_DESC="Plugins for audacious music player"
    2.12 -MAINTAINER="mimas@slitaz.org"
    2.13 -LICENSE="MIT"
    2.14 -SUGGESTED="lame neon libmms"
    2.15 +SHORT_DESC="A lightweight and versatile audio player"
    2.16 +MAINTAINER="al.bobylev@gmail.com"
    2.17 +LICENSE="BSD"
    2.18 +WEB_SITE="http://audacious-media-player.org/"
    2.19 +
    2.20  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.21 -WEB_SITE="http://audacious-media-player.org/"
    2.22  WGET_URL="http://distfiles.audacious-media-player.org/$TARBALL"
    2.23  
    2.24 -DEPENDS="libxml2 libogg libvorbis alsa-lib flac dbus-glib libsndfile \
    2.25 - libcdio libmad curl taglib libcomerr3 mpg123 faad2 neon gtk+"
    2.26 -BUILD_DEPENDS="audacious-dev audacious neon-dev flac-dev libogg-dev \
    2.27 -libvorbis-dev libmowgli-dev alsa-lib-dev lame-dev libmad-dev dbus-glib-dev \
    2.28 -libmcs-dev libsamplerate-dev mpg123-dev faad2-dev curl-dev \
    2.29 -libxml2-dev gtk+3-dev mesa-dev gettext-tools"
    2.30 +BUILD_DEPENDS="glib-dev gtk+-dev gettext audacious-dev libcdio-dev \
    2.31 +libcdio-paranoia-dev libcddb-dev flac-dev libogg-dev libvorbis-dev \
    2.32 +fluidsynth-dev mpg123-dev faad2-dev wavpack-dev libsndfile-dev libmodplug-dev \
    2.33 +libsamplerate-dev alsa-lib-dev jack-dev pulseaudio-dev neon-dev libmms-dev \
    2.34 +dbus-dev dbus-glib-dev libnotify-dev gdk-pixbuf-dev lirc-dev curl-dev \
    2.35 +xorg-libXrender-dev xorg-libXcomposite-dev ffmpeg-dev qt5-dev mesa17-dev \
    2.36 +audacious-qt-dev"
    2.37 +SPLIT="audacious-skins \
    2.38 +audacious-plugins        audacious-plugins-extra \
    2.39 +audacious-plugins-qt:qt  audacious-plugins-qt-extra:qt \
    2.40 +audacious-plugins-common audacious-plugins-common-extra"
    2.41  
    2.42 -# Rules to configure and make the package.
    2.43 -compile_rules()
    2.44 -{
    2.45 -	sed -i "s/touch -t 0001010000 /touch /g" configure
    2.46 -#XML_CFLAGS=-I/usr/include/libxml2 
    2.47 +compile_rules() {
    2.48 +	case $SET in
    2.49 +		'') SET_ARGS='';;
    2.50 +		qt) SET_ARGS='--disable-gtk --enable-qt';;
    2.51 +	esac
    2.52 +
    2.53  	./configure \
    2.54 -		--prefix=/usr \
    2.55 -		--infodir=/usr/share/info \
    2.56 -		--mandir=/usr/share/man \
    2.57 -		--disable-sse2 \
    2.58 -		--enable-chardet \
    2.59 -		--disable-esd --disable-pulse --disable-icecast \
    2.60 -		--disable-jack --disable-timidity --disable-evdevplug \
    2.61 -		--disable-rocklight  --disable-lirc  \
    2.62 -		--disable-bluetooth --disable-paranormal \
    2.63 -		--disable-projectm --disable-projectm-1.0 \
    2.64 -		--disable-ffaudio --disable-mtp_up \
    2.65 +		$SET_ARGS \
    2.66  		$CONFIGURE_ARGS &&
    2.67 +	sed -i 's|-shared|& -Wl,-Os,--as-needed|g' buildsys.mk m4/buildsys.m4 &&
    2.68  	make &&
    2.69 -	make DESTDIR=$DESTDIR install
    2.70 +	make install || return 1
    2.71 +
    2.72 +	if [ "$SET" == 'qt' ]; then
    2.73 +		# leave only one, in the default set; remove in the 'qt' set
    2.74 +		rm -r $install/usr/share/audacious/Skins/
    2.75 +	fi
    2.76 +
    2.77 +	chown -R root:root $install
    2.78  }
    2.79  
    2.80 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.81 -genpkg_rules()
    2.82 -{
    2.83 -	mkdir -p $fs/usr/share/locale
    2.84 -	cp -a $install/usr/lib $fs/usr
    2.85 -	cp -a $install/usr/share/locale/fr $fs/usr/share/locale
    2.86 +genpkg_rules() {
    2.87 +	case $PACKAGE in
    2.88 +		audacious-skins)
    2.89 +			copy Skins/
    2.90 +			DEPENDS="audacious-common"
    2.91 +			CAT="multimedia|skins"
    2.92 +			;;
    2.93 +		audacious-plugins)
    2.94 +			copy albumart.so aosd.so delete-files.so gtkui.so hotkey.so \
    2.95 +			notify.so playlist-manager.so search-tool.so skins.so \
    2.96 +			statusicon.so
    2.97 +			DEPENDS="audacious-plugins-common audacious \
    2.98 +			cairo gdk-pixbuf glib gtk+ libnotify pango xorg-libX11 \
    2.99 +			xorg-libXcomposite xorg-libXrender"
   2.100 +			CAT="multimedia|GTK+2 based plugins"
   2.101 +			;;
   2.102 +		audacious-plugins-extra)
   2.103 +			copy ladspa.so alarm.so gnomeshortcuts.so lyricwiki.so \
   2.104 +			amidi-plug.so vtx.so blur_scope.so cairo-spectrum.so gl-spectrum.so
   2.105 +			DEPENDS="audacious-plugins-common-extra audacious \
   2.106 +			cairo dbus-glib fluidsynth gdk-pixbuf glib gtk+ libxml2 mesa17 \
   2.107 +			pango xorg-libX11"
   2.108 +			CAT="multimedia|GTK+2 based extra plugins"
   2.109 +			;;
   2.110 +
   2.111 +		audacious-plugins-qt)
   2.112 +			copy albumart-qt.so delete-files.so notify.so \
   2.113 +			playlist-manager-qt.so qtui.so search-tool-qt.so skins-qt.so \
   2.114 +			song-info-qt.so statusicon-qt.so qtaudio.so
   2.115 +			DEPENDS="audacious-plugins-common audacious-qt \
   2.116 +			gdk-pixbuf glib libnotify qt5-base qt5-multimedia"
   2.117 +			CAT="multimedia|Qt5 based plugins"
   2.118 +			;;
   2.119 +		audacious-plugins-qt-extra)
   2.120 +			copy gnomeshortcuts.so lyricwiki-qt.so amidi-plug.so vtx.so \
   2.121 +			gl-spectrum-qt.so
   2.122 +			DEPENDS="audacious-plugins-common-extra audacious-qt \
   2.123 +			dbus-glib fluidsynth glib libxml2 mesa17 qt5-base"
   2.124 +			CAT="multimedia|Qt5 based extra plugins"
   2.125 +			;;
   2.126 +
   2.127 +		audacious-plugins-common)
   2.128 +			copy audpl.so m3u.so pls.so xspf.so song_change.so aac-raw.so \
   2.129 +			flacng.so madplug.so vorbis.so alsa.so filewriter.so \
   2.130 +			pulse_audio.so mms.so neon.so
   2.131 +			DEPENDS="audacious-common \
   2.132 +			alsa-lib faad2 flac glib lame libmms libogg libvorbis libxml2 \
   2.133 +			mpg123 neon pulseaudio"
   2.134 +			CAT="multimedia|common plugins"
   2.135 +			;;
   2.136 +		audacious-plugins-common-extra)
   2.137 +			copy @std @rm
   2.138 +			DEPENDS="audacious-common \
   2.139 +			ffmpeg glib jack libcddb libcdio libcdio-paranoia libcurl \
   2.140 +			libmodplug libsamplerate libsndfile libxml2 lirc wavpack zlib"
   2.141 +			CAT="multimedia|common extra plugins"
   2.142 +			;;
   2.143 +	esac
   2.144  }
     3.1 --- a/audacious/receipt	Tue Jan 09 15:40:25 2018 +0200
     3.2 +++ b/audacious/receipt	Wed Jan 10 01:50:31 2018 +0200
     3.3 @@ -1,42 +1,66 @@
     3.4 -# SliTaz package receipt.
     3.5 +# SliTaz package receipt v2.
     3.6  
     3.7  PACKAGE="audacious"
     3.8 -VERSION="3.4.3"
     3.9 +VERSION="3.9"
    3.10  CATEGORY="multimedia"
    3.11 -SHORT_DESC="Music player like xmms"
    3.12 -MAINTAINER="mimas@slitaz.org"
    3.13 -LICENSE="GPL"
    3.14 +SHORT_DESC="A lightweight and versatile audio player"
    3.15 +MAINTAINER="al.bobylev@gmail.com"
    3.16 +LICENSE="BSD"
    3.17  WEB_SITE="http://audacious-media-player.org/"
    3.18 +
    3.19  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.20  WGET_URL="http://distfiles.audacious-media-player.org/$TARBALL"
    3.21 -TAGS="music audio player mp3 ogg"
    3.22  
    3.23 -DEPENDS="gtk+3 libmowgli libmcs dbus-glib xorg-libXdamage libxml2 libsamplerate"
    3.24  BUILD_DEPENDS="gtk+3-dev libmowgli-dev libmowgli libmcs libmcs-dev dbus-dev \
    3.25  dbus-glib-dev libxml2-dev libsamplerate-dev gettext-tools"
    3.26 +BUILD_DEPENDS="glib-dev qt5-dev gettext gtk+-dev"
    3.27 +SPLIT="audacious audacious-qt:qt audacious-common \
    3.28 +audacious-dev audacious-qt-dev:qt"
    3.29  
    3.30 -# Rules to configure and make the package.
    3.31 -compile_rules()
    3.32 -{
    3.33 -	sed -i "s/touch -t 0001010000 /touch /g" configure
    3.34 +compile_rules() {
    3.35 +	case $SET in
    3.36 +		'') SET_ARGS='';;
    3.37 +		qt) SET_ARGS='--disable-gtk --enable-qt';;
    3.38 +	esac
    3.39  
    3.40 +	fix ld
    3.41  	./configure \
    3.42 -		--prefix=/usr \
    3.43 -		--infodir=/usr/share/info \
    3.44 -		--mandir=/usr/share/man \
    3.45 -		--disable-sse2 \
    3.46 +		--with-buildstamp='SliTaz GNU/Linux' \
    3.47 +		$SET_ARGS \
    3.48  		$CONFIGURE_ARGS &&
    3.49 +	sed -i 's|-shared|& -Wl,-Os,--as-needed|g' buildsys.mk m4/buildsys.m4 &&
    3.50  	make &&
    3.51 -	make DESTDIR=$DESTDIR install
    3.52 +	make install || return 1
    3.53 +
    3.54 +	chown -R root:root $install
    3.55  }
    3.56  
    3.57 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.58 -genpkg_rules()
    3.59 -{
    3.60 -	mkdir -p $fs/usr/share $fs/usr/lib $fs/usr/bin
    3.61 -	cp -a $install/usr/bin $fs/usr
    3.62 -	cp -a $install/usr/lib/*.so* $fs/usr/lib/
    3.63 -	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    3.64 -	tar -xzf $stuff/Skins.tar.gz -C $fs/usr/share/$PACKAGE
    3.65 -	find $fs/usr/share/audacious/Skins/Default -type f -exec chmod a-x \{\} \;
    3.66 +genpkg_rules() {
    3.67 +	case $PACKAGE in
    3.68 +		audacious)
    3.69 +			copy audacious libaudcore.so* libaudgui.so*
    3.70 +			DEPENDS="audacious-common cairo gdk-pixbuf gtk+ pango"
    3.71 +			CAT="multimedia|GTK+2 GUI"
    3.72 +			TAGS="music audio player"
    3.73 +			;;
    3.74 +		audacious-qt)
    3.75 +			copy audacious libaudcore.so* libaudqt.so*
    3.76 +			DEPENDS="audacious-common qt5-base"
    3.77 +			CAT="multimedia|Qt5 GUI"
    3.78 +			TAGS="music audio player"
    3.79 +			;;
    3.80 +		audacious-common)
    3.81 +			copy @std @rm
    3.82 +			DEPENDS="glib"
    3.83 +			;;
    3.84 +
    3.85 +		audacious-dev)
    3.86 +			copy @dev
    3.87 +			DEPENDS="audacious"
    3.88 +			;;
    3.89 +		audacious-qt-dev)
    3.90 +			copy libaudqt/ # all the rest found in audacious-dev
    3.91 +			DEPENDS="audacious-qt audacious-dev"
    3.92 +			;;
    3.93 +	esac
    3.94  }
     4.1 Binary file audacious/stuff/Skins.tar.gz has changed