wok-current view audacious-plugins/receipt @ rev 24896
libusb: replaced dependency gcc83-lib-dev by gcc83-lib-base
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 08 14:27:47 2022 +0100 (2022-04-08) |
parents | 4e9e2372bd7f |
children | 94dd3813f40d |
line source
1 # SliTaz package receipt.
3 PACKAGE="audacious-plugins"
4 VERSION="4.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Plugins for audacious music player."
7 MAINTAINER="mimas@slitaz.org"
8 LICENSE="MIT"
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 SUGGESTED="lame libmms neon"
15 DEPENDS="alsa-lib curl dbus-glib faad2 flac gcc83-lib-base gtk+ libav
16 libcdio libcomerr3 libmad libogg libsndfile libvorbis libxml2
17 mpg123 neon taglib wavpack"
18 BUILD_DEPENDS="alsa-lib-dev audacious-dev audacious curl-dev dbus-glib-dev
19 faad2-dev flac-dev gcc83 gtk+-dev lame-dev libav-dev libmad-dev
20 libmcs-dev libmowgli-dev libogg-dev libsamplerate-dev
21 libvorbis-dev libxml2-dev mesa-dev mpg123-dev neon-dev wavpack-dev"
23 # What is the latest version available today?
24 current_version()
25 {
26 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
27 sed "/beta/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 # sed -i "s/touch -t 0001010000 /touch /g" configure
34 #XML_CFLAGS=-I/usr/include/libxml2
36 # 4.1 --disable-qt because else Qt5 is required
38 ./configure \
39 CC=gcc-83 \
40 CXX=g++-83 \
41 --prefix=/usr \
42 --infodir=/usr/share/info \
43 --mandir=/usr/share/man \
44 --disable-bluetooth \
45 --disable-esd \
46 --disable-evdevplug \
47 --disable-ffaudio \
48 --with-ffmpeg=none \
49 --disable-icecast \
50 --disable-jack \
51 --disable-lirc \
52 --disable-mtp_up \
53 --disable-paranormal \
54 --disable-projectm \
55 --disable-projectm-1.0 \
56 --disable-pulse \
57 --disable-qt \
58 --disable-rocklight \
59 --disable-sse2 \
60 --disable-timidity \
61 --enable-chardet \
62 $CONFIGURE_ARGS &&
63 make &&
64 make install DESTDIR=$DESTDIR
65 }
67 # Rules to gen a SliTaz package suitable for Tazpkg.
68 genpkg_rules()
69 {
70 cook_copy_folders lib
72 # 4.1 moved to package audacious-lang
73 # Set list of wanted locales in LOCALE_PACK
74 # . $WOK/slitaz-i18n/stuff/locale-pack.conf
76 # Copy message files in wanted languages, if available
77 # for locale in $LOCALE_PACK
78 # do
79 # [ -d $install/usr/share/locale/$locale ] || continue
80 # mkdir -p $fs/usr/share/locale
81 # cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
82 # done
83 }