wok view ario/receipt @ rev 21535
build consolekit2-dev again
author | Hans-G?nter Theisgen |
---|---|
date | Sun May 05 11:18:34 2019 +0100 (2019-05-05) |
parents | 380ffe05937a |
children | 3105f866bc3e |
line source
1 # SliTaz package receipt.
3 PACKAGE="ario"
4 VERSION="1.5.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="GTK client for MPD"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://ario-player.sourceforge.net/index.php?en"
11 WGET_URL="http://freefr.dl.sourceforge.net/sourceforge/ario-player/$TARBALL"
12 TAGS="music audio player mp3 ogg"
14 DEPENDS="libgcrypt gtk+ libcurl libglade libmpdclient taglib dbus-glib \
15 libunique libtasn1"
16 BUILD_DEPENDS="glib-dev gtk+-dev gnutls-dev taglib-dev intltool libunique-dev \
17 libtasn1-dev libgcrypt-dev curl-dev libglade-dev taglib-dev libmpdclient-dev \
18 libgnutls"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 sed -i 's|.glib/gslist.h.|<glib.h>|' src/ario-util.h src/ario-profiles.h
25 sed -i 's|<glib/gkeyfile.h>|<glib.h>|' src/plugins/ario-plugin-info.c
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 --disable-dbus \
31 --disable-notify \
32 --disable-mpdidle \
33 --disable-audioscrobbler \
34 --disable-avahi \
35 $CONFIGURE_ARGS &&
36 make -j1 && make -j1 DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share/locale/
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/lib $fs/usr
46 cp -a $install/usr/share/applications $fs/usr/share
47 cp -a $install/usr/share/icons $fs/usr/share
48 cp -a $install/usr/share/ario $fs/usr/share
49 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
51 # Cleanup
52 rm -f $fs/usr/lib/ario/plugins/*.?a
53 }