wok-next view gmpc/receipt @ rev 20002
Up qps, avidemux, tea
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Oct 20 23:49:15 2017 +0200 (2017-10-20) |
parents | 9f9a3ea6608c |
children | 2809ecb8c754 |
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 sqlite libtasn1"
15 BUILD_DEPENDS="gob2-dev libglade-dev libmpd libmpd-dev curl-dev sqlite-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 }