wok-next view audacious/receipt @ rev 21527
updated bootchart (0.9 -> 1.20)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 19 15:06:45 2020 +0100 (2020-06-19) |
parents | d5aab818505e |
children |
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="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 qt5-dev gettext-dev gtk2-dev"
15 SPLIT="$PACKAGE-qt:qt $PACKAGE-common $PACKAGE-dev $PACKAGE-qt-dev:qt"
16 COOKOPTS="!menus"
18 compile_rules() {
19 case $SET in
20 '') SET_ARGS='';;
21 qt) SET_ARGS='--disable-gtk --enable-qt';;
22 esac
24 ./configure \
25 --with-buildstamp='SliTaz GNU/Linux' \
26 $SET_ARGS \
27 $CONFIGURE_ARGS &&
28 sed -i 's|-shared|& -Wl,-Os,--as-needed|g' buildsys.mk m4/buildsys.m4 &&
29 make &&
30 make install || return 1
32 chown -R root:root $install
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 audacious)
38 copy audacious libaudcore.so* libaudgui.so*
39 DEPENDS="audacious-common libcairo gdk-pixbuf gtk2 pango"
40 CAT="multimedia|GTK+2 GUI"
41 TAGS="music audio player"
42 ;;
43 audacious-qt)
44 copy audacious libaudcore.so* libaudqt.so*
45 DEPENDS="audacious-common qt5-base"
46 CAT="multimedia|Qt5 GUI"
47 TAGS="music audio player"
48 ;;
49 audacious-common)
50 copy @std @rm
51 DEPENDS="glib"
52 ;;
54 audacious-dev)
55 copy @dev
56 DEPENDS="audacious"
57 ;;
58 audacious-qt-dev)
59 copy libaudqt/ # all the rest found in audacious-dev
60 DEPENDS="audacious-qt audacious-dev"
61 ;;
62 esac
63 }