wok-next view gmpc/receipt @ rev 20206
Up PyQt-x11-gpl (4.12.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 04 09:19:58 2017 +0100 (2017-11-04) |
parents | fec0eeb8fbaf |
children | 7eb047d2b438 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gmpc"
4 VERSION="11.8.16"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 LICENSE="GPL2"
8 SHORT_DESC="A GTK2 client for MPD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://gmpclient.org"
11 WGET_URL="http://download.sarine.nl/Programs/${PACKAGE}/${VERSION%.*}/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="libglade libmpd curl xorg-libSM libsoup libsexy mpd sqlite3 libtasn1"
15 BUILD_DEPENDS="gob2-dev libglade-dev libmpd libmpd-dev curl-dev sqlite3-dev \
16 xorg-libSM-dev libsoup-dev libsexy-dev xcb-util-dev util-linux-uuid-dev flex \
17 intltool"
19 case "$ARCH" in
20 i?86) BUILD_DEPENDS="$BUILD_DEPENDS vala"
21 esac
23 # Rules to configure and make the package.
24 compile_rules() {
25 ./configure \
26 --enable-system-libsexy \
27 --disable-shave \
28 --disable-unique \
29 $CONFIGURE_ARGS &&
30 make || return 1
31 sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/${PACKAGE}.desktop
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share/icons/hicolor
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share/$PACKAGE $fs/usr/share
41 cp -a $install/usr/share/icons/hicolor/16x16 \
42 $fs/usr/share/icons/hicolor
44 }