wok-next view totem-pl-parser/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children f7f0cfc92ab5
line source
1 # SliTaz package receipt v2.
3 PACKAGE="totem-pl-parser"
4 VERSION="3.26.0"
5 CATEGORY="gnome"
6 SHORT_DESC="Totem playlist parser"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://developer.gnome.org/totem-pl-parser/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/gnome/totem-pl-parser.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="meson ninja glib-dev libxml2-dev libsoup-dev gmime3-dev \
16 libquvi-dev libarchive-dev libgcrypt-dev gobject-introspection-dev gettext-dev"
17 SPLIT="PACKAGE-dev"
19 compile_rules() {
20 meson-wrapper build --default-library shared &&
21 ninja -C build &&
22 DESTDIR=$install ninja -C build install || return 1
24 chmod -R g-w $install # 664 -> 644
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 totem-pl-parser)
30 copy @std
31 DEPENDS="glib gmime3 libarchive libgcrypt libquvi libxml2"
32 ;;
33 *-dev)
34 copy @dev
35 DEPENDS="totem-pl-parser glib-dev gmime3-dev libarchive-dev \
36 libgcrypt-dev libxml2-dev"
37 ;;
38 esac
39 }