wok-current annotate pidgin-musictracker/receipt @ rev 25498

Up dropbear (2022.83)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 15 12:09:07 2022 +0000 (23 months ago)
parents 83b97236db32
children
rev   line source
slaxemulator@7574 1 # SliTaz package receipt.
slaxemulator@7574 2
slaxemulator@7574 3 PACKAGE="pidgin-musictracker"
slaxemulator@7744 4 VERSION="0.4.22"
slaxemulator@7574 5 CATEGORY="network"
slaxemulator@7574 6 SHORT_DESC="A Pidgin 'now playing' plugin to publicise the songs you are listening to."
slaxemulator@7574 7 MAINTAINER="ben@seawolfsanctuary.com"
pascal@15000 8 LICENSE="GPL2"
pascal@15000 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20687 10 WEB_SITE="https://launchpad.net/pidgin-musictracker"
pascal@24976 11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL"
pascal@15000 12
slaxemulator@7574 13 DEPENDS="pidgin pcre"
pascal@11581 14 BUILD_DEPENDS="pidgin-dev gettext libpurple-dev pcre-dev dbus-glib-dev \
pascal@11581 15 gtk+-dev glib-dev pkg-config libffi"
slaxemulator@7574 16
pascal@24427 17 # What is the latest version available today?
pascal@24427 18 current_version()
pascal@24427 19 {
pascal@24427 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24427 21 sed "/develop/d;/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24427 22 }
pascal@24427 23
slaxemulator@7574 24 # Rules to configure and make the package.
slaxemulator@7574 25 compile_rules()
slaxemulator@7574 26 {
pascal@16608 27 sed -i -e 's/g_value_array_free/g_array_unref/' -e 's/GValueArray/GArray/' \
pascal@16608 28 -e '/g_value_array_get_nth/{N;s/GValue.*/status = g_array_index(sigstruct, gint, 0);/}' \
pascal@16608 29 src/mpris.c
gokhlayeh@11573 30 ./configure $CONFIGURE_ARGS &&
pascal@15000 31 make && make DESTDIR=$DESTDIR install
slaxemulator@7574 32 }
slaxemulator@7574 33
slaxemulator@7574 34 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7574 35 genpkg_rules()
slaxemulator@7574 36 {
slaxemulator@7574 37 mkdir -p $fs
pascal@15000 38 cp -a $install/usr $fs/
slaxemulator@7574 39 }