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