wok-next view gmpc/receipt @ rev 20570

More fix libtool; audit: apply patch.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 13 09:28:50 2018 +0300 (2018-04-13)
parents 4396aed7eb01
children 10ef02133ab3
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="http://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 libsexy-dev xorg-xcb-util-dev util-linux-uuid-dev \
19 flex intltool vala"
20 SPLIT="gmpc-dev"
22 compile_rules() {
23 ./configure \
24 --enable-system-libsexy \
25 --disable-shave \
26 --disable-unique \
27 $CONFIGURE_ARGS &&
28 fix libtool &&
29 make || return 1
30 sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/$PACKAGE.desktop
31 make install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 gmpc)
37 copy @std
38 DEPENDS="libglade libmpd curl xorg-libSM libsoup libsexy mpd \
39 sqlite3 libtasn1"
40 ;;
41 *-dev)
42 copy @dev
43 ;;
44 esac
45 }