New package: graphene-1.8.2

This commit is contained in:
Rasmus Thomsen 2019-02-16 16:56:48 +01:00 committed by Rasmus Thomsen
parent 5e52ac9aa4
commit 2af383223f
No known key found for this signature in database
GPG key ID: 65BCD00D76C8F888
3 changed files with 44 additions and 0 deletions

View file

@ -3465,3 +3465,4 @@ libFAudio.so.0 FAudio-19.05_1
libqaccessibilityclient-qt5.so.0 libqaccessibilityclient-0.4.0_1
libnitrokey.so.3 libnitrokey-3.4.1_1
libceres.so.1 ceres-solver-1.14.0_1
libgraphene-1.0.so.0 graphene-1.8.2_1

1
srcpkgs/graphene-devel Symbolic link
View file

@ -0,0 +1 @@
graphene

42
srcpkgs/graphene/template Normal file
View file

@ -0,0 +1,42 @@
# Template file for 'graphene'
pkgname=graphene
version=1.8.2
revision=1
build_style=meson
build_helper="gir"
configure_args="-Dtests=false -Dbenchmarks=false
-Dintrospection=$(vopt_if gir true false)"
hostmakedepends="pkg-config"
makedepends="libglib-devel"
short_desc="Thin layer of types for graphic libraries"
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>>"
license="MIT"
homepage="https://github.com/ebassi/graphene"
distfiles="${GNOME_SITE}/graphene/${version%.*}/graphene-${version}.tar.xz"
checksum=b3fcf20996e57b1f4df3941caac10f143bb29890a42f7a65407cd19271fc89f7
build_options="gir"
case "$XBPS_TARGET_MACHINE" in
i686-musl|x86_64-musl) build_options_default+=" gir" ;;
*-musl) ;;
*) build_options_default+=" gir" ;;
esac
post_install() {
vlicense LICENSE
}
graphene-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/lib/graphene-1.0
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}