wok view gmpc/receipt @ rev 25669

Up lapack (3.12.0), less (633), libarchive (3.7.2), liblouis (3.28.0), libmicrohttpd (1.0.1), libpng (1.6.43), libssh (0.10.6), libtasn1 (4.19.0), libtirpc (1.3.4), libvpx (1.14.0), libwebp (1.3.2), logrotate (3.21.0), lua (5.4.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 16:11:20 2024 +0000 (12 months ago)
parents cb67b4f8be05
children
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="https://gmpclient.org"
11 WGET_URL="https://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"
18 case "$ARCH" in
19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS vala"
20 esac
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - https://github.com/DaveDavenport/gmpc/tags 2>/dev/null | \
26 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules() {
31 ./configure \
32 --enable-system-libsexy \
33 --disable-shave \
34 --disable-unique \
35 $CONFIGURE_ARGS &&
36 make || return 1
37 sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/${PACKAGE}.desktop
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share/icons/hicolor
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/share/$PACKAGE $fs/usr/share
47 cp -a $install/usr/share/icons/hicolor/16x16 \
48 $fs/usr/share/icons/hicolor
50 }