wok-next view audacious/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | 56e3821be0be |
children | a3c581bf52b8 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="audacious"
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="http://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 qt5-dev gettext gtk+-dev"
15 SPLIT="audacious audacious-qt:qt audacious-common \
16 audacious-dev audacious-qt-dev:qt"
17 COOKOPTS="!menus"
19 compile_rules() {
20 case $SET in
21 '') SET_ARGS='';;
22 qt) SET_ARGS='--disable-gtk --enable-qt';;
23 esac
25 ./configure \
26 --with-buildstamp='SliTaz GNU/Linux' \
27 $SET_ARGS \
28 $CONFIGURE_ARGS &&
29 sed -i 's|-shared|& -Wl,-Os,--as-needed|g' buildsys.mk m4/buildsys.m4 &&
30 make &&
31 make install || return 1
33 chown -R root:root $install
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 audacious)
39 copy audacious libaudcore.so* libaudgui.so*
40 DEPENDS="audacious-common cairo gdk-pixbuf gtk+ pango"
41 CAT="multimedia|GTK+2 GUI"
42 TAGS="music audio player"
43 ;;
44 audacious-qt)
45 copy audacious libaudcore.so* libaudqt.so*
46 DEPENDS="audacious-common qt5-base"
47 CAT="multimedia|Qt5 GUI"
48 TAGS="music audio player"
49 ;;
50 audacious-common)
51 copy @std @rm
52 DEPENDS="glib"
53 ;;
55 audacious-dev)
56 copy @dev
57 DEPENDS="audacious"
58 ;;
59 audacious-qt-dev)
60 copy libaudqt/ # all the rest found in audacious-dev
61 DEPENDS="audacious-qt audacious-dev"
62 ;;
63 esac
64 }