wok-next annotate appstream-glib/receipt @ rev 21040
mariadb 10.3.10 (again)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 09 09:48:29 2018 +0200 (2018-11-09) |
parents | d5aab818505e |
children | 82b613cfd1e0 |
rev | line source |
---|---|
al@20951 | 1 # SliTaz package receipt v2. |
al@20951 | 2 |
al@20951 | 3 PACKAGE="appstream-glib" |
al@21031 | 4 VERSION="0.7.14" |
al@20951 | 5 CATEGORY="libs" |
al@20951 | 6 SHORT_DESC="Library for AppStream metadata" |
al@20951 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20951 | 8 LICENSE="LGPL2.1" |
al@20951 | 9 WEB_SITE="https://people.freedesktop.org/~hughsient/appstream-glib/" |
al@20951 | 10 |
al@20951 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@20951 | 12 WGET_URL="https://people.freedesktop.org/~hughsient/appstream-glib/releases/$TARBALL" |
al@20951 | 13 |
al@20951 | 14 BUILD_DEPENDS="meson ninja util-linux-uuid-dev glib-dev libarchive-dev \ |
al@21017 | 15 libsoup-dev json-glib-dev gdk-pixbuf-dev gtk3-dev yaml-dev gperf \ |
al@21020 | 16 gobject-introspection-dev gettext-dev libxslt docbook-xsl" |
al@20951 | 17 SPLIT="$PACKAGE-dev" |
al@20951 | 18 |
al@20951 | 19 compile_rules() { |
al@20951 | 20 mkdir build |
al@20951 | 21 cd build |
al@20951 | 22 |
al@20951 | 23 meson-wrapper \ |
al@20951 | 24 -D rpm=false \ |
al@20951 | 25 -D stemmer=false && |
al@20951 | 26 ninja && |
al@20951 | 27 ninja install |
al@20951 | 28 } |
al@20951 | 29 |
al@20951 | 30 genpkg_rules() { |
al@20951 | 31 case $PACKAGE in |
al@20951 | 32 appstream-glib) |
al@20951 | 33 copy bin/ *.so* |
al@21017 | 34 DEPENDS="cairo fontconfig freetype gdk-pixbuf glib gtk3 json-glib \ |
al@20951 | 35 libarchive libsoup pango util-linux-uuid yaml" |
al@20951 | 36 ;; |
al@20951 | 37 *-dev) |
al@20951 | 38 copy @std @dev @rm |
al@20951 | 39 DEPENDS="appstream-glib gdk-pixbuf-dev glib-dev libarchive-dev \ |
al@20951 | 40 util-linux-uuid-dev" |
al@20951 | 41 ;; |
al@20951 | 42 esac |
al@20951 | 43 } |