wok-next annotate libdesktop-agnostic/receipt @ rev 21370

updated minidlna (1.1.4 -> 1.2.1)
author Hans-G?nter Theisgen
date Thu Apr 16 09:58:07 2020 +0100 (2020-04-16)
parents d5aab818505e
children
rev   line source
al@19901 1 # SliTaz package receipt v2.
pascal@11205 2
pascal@11205 3 PACKAGE="libdesktop-agnostic"
al@20980 4 VERSION="0.3.94post20160502"
al@19901 5 COMMIT="be0f0cb"
pascal@11205 6 CATEGORY="x-window"
al@19901 7 SHORT_DESC="Desktop agnostic library for GLib-based projects"
al@21020 8 MAINTAINER="devel@slitaz.org"
pascal@14714 9 LICENSE="LGPL2.1"
pascal@11205 10 WEB_SITE="https://launchpad.net/libdesktop-agnostic"
pascal@11205 11
al@19901 12 TARBALL="libdesktop-agnostic-${COMMIT:-$VERSION}.tar.gz"
al@19901 13 WGET_URL="https://github.com/p12tic/libdesktop-agnostic/archive/${COMMIT:-v$VERSION}.tar.gz"
al@19901 14
al@21020 15 BUILD_DEPENDS="python-dev vala gettext-dev intltool gtk2-dev gconf-dev \
al@20932 16 gobject-introspection-dev python-pygobject2-dev python-pygtk-dev"
al@21020 17 SPLIT="$PACKAGE-dev"
pascal@14714 18
al@20534 19 compile_rules() {
al@20534 20 # site script isn't used
pascal@11205 21 ./waf configure \
pascal@11205 22 --prefix=/usr \
pascal@11205 23 --sysconfdir=/etc \
pascal@11205 24 --config-backends=gconf \
pascal@11205 25 --vfs-backends=gio \
pascal@11205 26 --desktop-entry-backends=glib &&
pascal@11205 27 ./waf &&
pascal@11205 28 ./waf install \
pascal@11205 29 --prefix=/usr \
al@21020 30 --destdir=$install
pascal@11205 31 }
pascal@11205 32
al@20534 33 genpkg_rules() {
al@19901 34 case $PACKAGE in
al@19901 35 libdesktop-agnostic)
al@19901 36 copy @std
al@21105 37 DEPENDS="gconf atk libcairo fontconfig freetype gdk-pixbuf glib gtk2 \
al@19901 38 pango python"
al@19901 39 ;;
al@19901 40 *-dev)
al@19901 41 copy @dev
al@21017 42 DEPENDS="libdesktop-agnostic glib-dev gtk2-dev"
al@19901 43 ;;
al@19901 44 esac
pascal@11205 45 }