wok-current view audacious/receipt @ rev 25312

updated smartmontools (7.2 -> 7.3)
author Hans-G?nter Theisgen
date Wed Jul 20 17:27:26 2022 +0100 (2022-07-20)
parents 21f65cda07b9
children
line source
1 # SliTaz package receipt.
3 PACKAGE="audacious"
4 VERSION="4.1"
5 CATEGORY="multimedia"
6 TAGS="music audio player mp3 ogg"
7 SHORT_DESC="Music player like xmms."
8 MAINTAINER="mimas@slitaz.org"
9 LICENSE="GPL"
10 WEB_SITE="https://audacious-media-player.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://distfiles.audacious-media-player.org/$TARBALL"
15 SUGGESTED="audacious-lang audacious-plugins"
16 DEPENDS="dbus-glib gcc83-lib-base gtk+ libmcs libmowgli libsamplerate
17 libxml2 xorg-libXdamage"
18 BUILD_DEPENDS="dbus-dev dbus-glib-dev gcc83 gtk+-dev libmcs libmcs-dev
19 libmowgli libmowgli-dev libsamplerate-dev libxml2-dev"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
25 sed "/beta/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 # sed -i "s/touch -t 0001010000 /touch /g" configure
33 # 4.1 --disable-qt because else Qt5 is required
34 ./configure \
35 CC=gcc-83 \
36 CXX=g++-83 \
37 --prefix=/usr \
38 --infodir=/usr/share/info \
39 --mandir=/usr/share/man \
40 --disable-qt \
41 $CONFIGURE_ARGS &&
42 make &&
43 make install DESTDIR=$DESTDIR
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr/bin
50 mkdir -p $fs/usr/lib
51 mkdir -p $fs/usr/share
53 cp -a $install/usr/bin $fs/usr
54 cp -a $install/usr/lib/*.so* $fs/usr/lib/
55 cp -a $install/usr/share/$PACKAGE $fs/usr/share
56 tar -xzf $stuff/Skins.tar.gz -C $fs/usr/share/$PACKAGE
57 find $fs/usr/share/audacious/Skins/Default -type f -exec chmod a-x \{\} \;
58 }