wok-next view appstream-glib/receipt @ rev 21238
updated codeblocks (10.05 -> 17.12)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Dec 04 17:03:37 2019 +0100 (2019-12-04) |
parents | 7b8e80e44f01 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="appstream-glib"
4 VERSION="0.7.14"
5 CATEGORY="libs"
6 SHORT_DESC="Library for AppStream metadata"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://people.freedesktop.org/~hughsient/appstream-glib/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://people.freedesktop.org/~hughsient/appstream-glib/releases/$TARBALL"
14 BUILD_DEPENDS="meson ninja util-linux-uuid-dev glib-dev libarchive-dev \
15 libsoup-dev json-glib-dev gdk-pixbuf-dev gtk3-dev yaml-dev gperf \
16 gobject-introspection-dev gettext-dev libxslt docbook-xsl"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 mkdir build
21 cd build
23 meson-wrapper \
24 -D rpm=false \
25 -D stemmer=false &&
26 ninja &&
27 ninja install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 appstream-glib)
33 copy bin/ *.so*
34 DEPENDS="libcairo fontconfig freetype gdk-pixbuf glib gtk3 json-glib \
35 libarchive libsoup pango util-linux-uuid yaml"
36 ;;
37 *-dev)
38 copy @std @dev @rm
39 DEPENDS="appstream-glib gdk-pixbuf-dev glib-dev libarchive-dev \
40 util-linux-uuid-dev"
41 ;;
42 esac
43 }