json-glib: build translations, remove tests
This commit is contained in:
parent
9961fc146f
commit
5f1ca98319
|
@ -1,29 +1,37 @@
|
||||||
# Template file for 'json-glib'
|
# Template file for 'json-glib'
|
||||||
pkgname=json-glib
|
pkgname=json-glib
|
||||||
version=1.6.6
|
version=1.6.6
|
||||||
revision=1
|
revision=2
|
||||||
build_style=meson
|
build_style=meson
|
||||||
build_helper="gir"
|
build_helper="gir"
|
||||||
configure_args="-Dintrospection=$(vopt_if gir enabled disabled)"
|
configure_args="-Dintrospection=$(vopt_if gir enabled disabled)"
|
||||||
hostmakedepends="pkg-config glib-devel"
|
hostmakedepends="pkg-config glib-devel gettext"
|
||||||
makedepends="libglib-devel"
|
makedepends="libglib-devel"
|
||||||
short_desc="JSON parser for GLib-based libraries and applications"
|
short_desc="JSON parser for GLib-based libraries and applications"
|
||||||
maintainer="skmpz <dem.procopiou@gmail.com>"
|
maintainer="skmpz <dem.procopiou@gmail.com>"
|
||||||
license="LGPL-2.1-or-later"
|
license="LGPL-2.1-or-later"
|
||||||
homepage="http://live.gnome.org/JsonGlib"
|
homepage="http://live.gnome.org/JsonGlib"
|
||||||
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
changelog="https://gitlab.gnome.org/GNOME/json-glib/-/raw/master/NEWS"
|
||||||
|
distfiles="${GNOME_SITE}/json-glib/${version%.*}/json-glib-${version}.tar.xz"
|
||||||
checksum=96ec98be7a91f6dde33636720e3da2ff6ecbb90e76ccaa49497f31a6855a490e
|
checksum=96ec98be7a91f6dde33636720e3da2ff6ecbb90e76ccaa49497f31a6855a490e
|
||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options="gir"
|
build_options="gir"
|
||||||
build_options_default="gir"
|
build_options_default="gir"
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
rm -r ${DESTDIR}/usr/share/installed-tests
|
||||||
|
rm -r ${DESTDIR}/usr/libexec/installed-tests
|
||||||
|
}
|
||||||
|
|
||||||
json-glib-devel_package() {
|
json-glib-devel_package() {
|
||||||
depends="libglib-devel ${sourcepkg}-${version}_${revision}"
|
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/share
|
if [ "$build_option_gir" ]; then
|
||||||
|
vmove usr/share/gir-1.0
|
||||||
|
fi
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue