wok-next view audacious-plugins/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents a3c581bf52b8
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="audacious-plugins"
4 VERSION="3.9"
5 CATEGORY="multimedia"
6 SHORT_DESC="A lightweight and versatile audio player"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://audacious-media-player.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://distfiles.audacious-media-player.org/$TARBALL"
14 BUILD_DEPENDS="glib-dev gtk2-dev gettext audacious-dev libcdio-dev \
15 libcdio-paranoia-dev libcddb-dev flac-dev libogg-dev libvorbis-dev \
16 fluidsynth-dev mpg123-dev faad2-dev wavpack-dev libsndfile-dev libmodplug-dev \
17 libsamplerate-dev alsa-lib-dev jack-dev pulseaudio-dev neon-dev libmms-dev \
18 dbus-dev dbus-glib-dev libnotify-dev gdk-pixbuf-dev lirc-dev curl-dev \
19 xorg-libXrender-dev xorg-libXcomposite-dev ffmpeg-dev qt5-dev mesa-dev \
20 audacious-qt-dev"
21 SPLIT="audacious-skins \
22 audacious-plugins audacious-plugins-extra \
23 audacious-plugins-qt:qt audacious-plugins-qt-extra:qt \
24 audacious-plugins-common audacious-plugins-common-extra"
26 compile_rules() {
27 case $SET in
28 '') SET_ARGS='';;
29 qt) SET_ARGS='--disable-gtk --enable-qt';;
30 esac
32 ./configure \
33 $SET_ARGS \
34 $CONFIGURE_ARGS &&
35 sed -i 's|-shared|& -Wl,-Os,--as-needed|g' buildsys.mk m4/buildsys.m4 &&
36 make &&
37 make install || return 1
39 if [ "$SET" == 'qt' ]; then
40 # leave only one, in the default set; remove in the 'qt' set
41 rm -r $install/usr/share/audacious/Skins/
42 fi
44 chown -R root:root $install
45 }
47 genpkg_rules() {
48 case $PACKAGE in
49 audacious-skins)
50 copy Skins/
51 DEPENDS="audacious-common"
52 CAT="multimedia|skins"
53 ;;
54 audacious-plugins)
55 copy albumart.so aosd.so delete-files.so gtkui.so hotkey.so \
56 notify.so playlist-manager.so search-tool.so skins.so \
57 statusicon.so
58 DEPENDS="audacious-plugins-common audacious \
59 cairo gdk-pixbuf glib gtk2 libnotify pango xorg-libX11 \
60 xorg-libXcomposite xorg-libXrender"
61 CAT="multimedia|GTK+2 based plugins"
62 ;;
63 audacious-plugins-extra)
64 copy ladspa.so alarm.so gnomeshortcuts.so lyricwiki.so \
65 amidi-plug.so vtx.so blur_scope.so cairo-spectrum.so gl-spectrum.so
66 DEPENDS="audacious-plugins-common-extra audacious \
67 cairo dbus-glib fluidsynth gdk-pixbuf glib gtk2 libxml2 mesa \
68 pango xorg-libX11"
69 CAT="multimedia|GTK+2 based extra plugins"
70 ;;
72 audacious-plugins-qt)
73 copy albumart-qt.so delete-files.so notify.so \
74 playlist-manager-qt.so qtui.so search-tool-qt.so skins-qt.so \
75 song-info-qt.so statusicon-qt.so qtaudio.so
76 DEPENDS="audacious-plugins-common audacious-qt \
77 gdk-pixbuf glib libnotify qt5-base qt5-multimedia"
78 CAT="multimedia|Qt5 based plugins"
79 ;;
80 audacious-plugins-qt-extra)
81 copy gnomeshortcuts.so lyricwiki-qt.so amidi-plug.so vtx.so \
82 gl-spectrum-qt.so
83 DEPENDS="audacious-plugins-common-extra audacious-qt \
84 dbus-glib fluidsynth glib libxml2 mesa qt5-base"
85 CAT="multimedia|Qt5 based extra plugins"
86 ;;
88 audacious-plugins-common)
89 copy audpl.so m3u.so pls.so xspf.so song_change.so aac-raw.so \
90 flacng.so madplug.so vorbis.so alsa.so filewriter.so \
91 pulse_audio.so mms.so neon.so
92 DEPENDS="audacious-common \
93 alsa-lib faad2 flac glib lame libmms libogg libvorbis libxml2 \
94 mpg123 neon pulseaudio"
95 CAT="multimedia|common plugins"
96 ;;
97 audacious-plugins-common-extra)
98 copy @std @rm
99 DEPENDS="audacious-common \
100 ffmpeg glib jack libcddb libcdio libcdio-paranoia libcurl \
101 libmodplug libsamplerate libsndfile libxml2 lirc wavpack zlib"
102 CAT="multimedia|common extra plugins"
103 ;;
104 esac
105 }