wok-next view audacious/receipt @ rev 20416
audacious: move desktop file to audacious-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jan 10 13:29:08 2018 +0200 (2018-01-10) |
parents | d0bc8a3d010a |
children | 757d032c55c7 |
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 fix ld
26 ./configure \
27 --with-buildstamp='SliTaz GNU/Linux' \
28 $SET_ARGS \
29 $CONFIGURE_ARGS &&
30 sed -i 's|-shared|& -Wl,-Os,--as-needed|g' buildsys.mk m4/buildsys.m4 &&
31 make &&
32 make install || return 1
34 chown -R root:root $install
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 audacious)
40 copy audacious libaudcore.so* libaudgui.so*
41 DEPENDS="audacious-common cairo gdk-pixbuf gtk+ pango"
42 CAT="multimedia|GTK+2 GUI"
43 TAGS="music audio player"
44 ;;
45 audacious-qt)
46 copy audacious libaudcore.so* libaudqt.so*
47 DEPENDS="audacious-common qt5-base"
48 CAT="multimedia|Qt5 GUI"
49 TAGS="music audio player"
50 ;;
51 audacious-common)
52 copy @std @rm
53 DEPENDS="glib"
54 ;;
56 audacious-dev)
57 copy @dev
58 DEPENDS="audacious"
59 ;;
60 audacious-qt-dev)
61 copy libaudqt/ # all the rest found in audacious-dev
62 DEPENDS="audacious-qt audacious-dev"
63 ;;
64 esac
65 }