wok-next annotate gmpc/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@20464 | 1 # SliTaz package receipt v2. |
jozee@4501 | 2 |
jozee@4501 | 3 PACKAGE="gmpc" |
pankso@16271 | 4 VERSION="11.8.16" |
jozee@4501 | 5 CATEGORY="multimedia" |
al@20464 | 6 SHORT_DESC="A GTK2 client for MPD" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15001 | 8 LICENSE="GPL2" |
al@21020 | 9 WEB_SITE="https://gmpclient.org/" |
al@20464 | 10 |
pankso@16271 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@21020 | 12 WGET_URL="http://download.sarine.nl/Programs/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@16271 | 13 |
pascal@20098 | 14 BUILD_DEPENDS="gob2-dev libglade-dev libmpd libmpd-dev curl-dev sqlite3-dev \ |
al@21078 | 15 libsm-dev libsoup-dev xcb-util-dev util-linux-uuid-dev flex intltool \ |
al@20572 | 16 vala" |
al@21020 | 17 SPLIT="$PACKAGE-dev" |
jozee@4501 | 18 |
jozee@4501 | 19 compile_rules() { |
al@20572 | 20 export LDFLAGS="$LDFLAGS -lm" |
al@20572 | 21 |
al@20464 | 22 ./configure \ |
gokhlayeh@11573 | 23 --disable-shave \ |
pankso@16271 | 24 --disable-unique \ |
gokhlayeh@11573 | 25 $CONFIGURE_ARGS && |
al@20570 | 26 fix libtool && |
al@20464 | 27 make || return 1 |
al@20572 | 28 sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/gmpc.desktop |
al@20464 | 29 make install |
jozee@4501 | 30 } |
al@20464 | 31 |
al@20464 | 32 genpkg_rules() { |
al@20464 | 33 case $PACKAGE in |
al@20464 | 34 gmpc) |
al@20570 | 35 copy @std |
al@21078 | 36 DEPENDS="libglade libmpd curl libsm libsoup libsexy mpd \ |
al@20464 | 37 sqlite3 libtasn1" |
al@20464 | 38 ;; |
al@20464 | 39 *-dev) |
al@20570 | 40 copy @dev |
al@20464 | 41 ;; |
al@20464 | 42 esac |
jozee@4501 | 43 } |