wok-next view gmpc/receipt @ rev 20906

Update homepages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Aug 10 12:53:17 2018 +0300 (2018-08-10)
parents 10ef02133ab3
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gmpc"
4 VERSION="11.8.16"
5 CATEGORY="multimedia"
6 SHORT_DESC="A GTK2 client for MPD"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://gmpclient.org"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://download.sarine.nl/Programs/${PACKAGE}/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS_arm="gob2-dev libglade-dev libmpd libmpd-dev curl-dev \
15 sqlite3-dev xorg-libSM-dev libsoup-dev libsexy-dev xorg-xcb-util-dev \
16 util-linux-uuid-dev flex intltool"
17 BUILD_DEPENDS="gob2-dev libglade-dev libmpd libmpd-dev curl-dev sqlite3-dev \
18 xorg-libSM-dev libsoup-dev xorg-xcb-util-dev util-linux-uuid-dev flex intltool \
19 vala"
20 SPLIT="gmpc-dev"
22 compile_rules() {
23 export LDFLAGS="$LDFLAGS -lm"
25 ./configure \
26 --disable-shave \
27 --disable-unique \
28 $CONFIGURE_ARGS &&
29 fix libtool &&
30 make || return 1
31 sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/gmpc.desktop
32 make install
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 gmpc)
38 copy @std
39 DEPENDS="libglade libmpd curl xorg-libSM libsoup libsexy mpd \
40 sqlite3 libtasn1"
41 ;;
42 *-dev)
43 copy @dev
44 ;;
45 esac
46 }