wok annotate gmpc/receipt @ rev 24556
updated flatpress (0.1010.2 -> 1.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 14:05:00 2022 +0100 (2022-02-25) |
parents | b29edd818c5e |
children | cb67b4f8be05 |
rev | line source |
---|---|
jozee@4501 | 1 # SliTaz package receipt. |
jozee@4501 | 2 |
jozee@4501 | 3 PACKAGE="gmpc" |
pankso@16271 | 4 VERSION="11.8.16" |
jozee@4501 | 5 CATEGORY="multimedia" |
jozee@4501 | 6 MAINTAINER="jozee@slitaz.org" |
pascal@15001 | 7 LICENSE="GPL2" |
jozee@4501 | 8 SHORT_DESC="A GTK2 client for MPD" |
pankso@16271 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@23876 | 10 WEB_SITE="http://gmpclient.org" |
pascal@16327 | 11 WGET_URL="http://download.sarine.nl/Programs/${PACKAGE}/${VERSION%.*}/$TARBALL" |
pankso@16271 | 12 HOST_ARCH="i486 arm" |
pankso@16271 | 13 |
pascal@5029 | 14 DEPENDS="libglade libmpd curl xorg-libSM libsoup libsexy mpd sqlite libtasn1" |
pankso@16271 | 15 BUILD_DEPENDS="gob2-dev libglade-dev libmpd libmpd-dev curl-dev sqlite-dev \ |
pascal@17757 | 16 xorg-libSM-dev libsoup-dev libsexy-dev xcb-util-dev util-linux-uuid-dev flex" |
jozee@4501 | 17 |
pankso@16276 | 18 case "$ARCH" in |
pankso@16271 | 19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS vala" |
pankso@16271 | 20 esac |
pankso@16276 | 21 |
pascal@24545 | 22 # What is the latest version available today? |
pascal@24545 | 23 current_version() |
pascal@24545 | 24 { |
pascal@24545 | 25 wget -O - https://github.com/DaveDavenport/gmpc/tags 2>/dev/null | \ |
pascal@24545 | 26 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' |
pascal@24545 | 27 } |
pascal@24545 | 28 |
jozee@4501 | 29 # Rules to configure and make the package. |
jozee@4501 | 30 compile_rules() { |
jozee@4501 | 31 ./configure \ |
jozee@4501 | 32 --enable-system-libsexy \ |
gokhlayeh@11573 | 33 --disable-shave \ |
pankso@16271 | 34 --disable-unique \ |
gokhlayeh@11573 | 35 $CONFIGURE_ARGS && |
pascal@5001 | 36 make || return 1 |
pankso@16271 | 37 sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/${PACKAGE}.desktop |
pankso@16271 | 38 make install |
jozee@4501 | 39 } |
jozee@4501 | 40 |
jozee@4501 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4501 | 42 genpkg_rules() |
jozee@4501 | 43 { |
jozee@4501 | 44 mkdir -p $fs/usr/share/icons/hicolor |
pascal@15001 | 45 cp -a $install/usr/bin $fs/usr |
pascal@15001 | 46 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
pankso@16271 | 47 cp -a $install/usr/share/icons/hicolor/16x16 \ |
pankso@16271 | 48 $fs/usr/share/icons/hicolor |
jozee@4501 | 49 |
jozee@4501 | 50 } |