libosmgpsmap: enable gir
This commit is contained in:
parent
7a76a51bdb
commit
5c8f4530f3
1 changed files with 15 additions and 11 deletions
|
@ -1,23 +1,27 @@
|
|||
# Template file for 'libosmgpsmap'
|
||||
pkgname=libosmgpsmap
|
||||
version=1.1.0
|
||||
revision=3
|
||||
wrksrc=osm-gps-map-${version}
|
||||
revision=4
|
||||
wrksrc="osm-gps-map-${version}"
|
||||
build_style=gnu-configure
|
||||
build_options="gir"
|
||||
build_helper="gir"
|
||||
configure_args="$(vopt_enable gir introspection)"
|
||||
hostmakedepends="pkg-config gtk-doc gnome-common $(vopt_if gir gobject-introspection)"
|
||||
hostmakedepends="pkg-config gtk-doc gnome-common"
|
||||
makedepends="libsoup-devel gtk+3-devel cairo-devel"
|
||||
short_desc="A Gtk+ Widget for Displaying OpenStreetMap tiles"
|
||||
short_desc="Gtk+ Widget for Displaying OpenStreetMap tiles"
|
||||
maintainer="lemmi <lemmi@nerd2nerd.org>"
|
||||
license="GPL-2"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="http://nzjrs.github.io/osm-gps-map/"
|
||||
distfiles="https://github.com/nzjrs/osm-gps-map/releases/download/${version}/osm-gps-map-${version}.tar.gz"
|
||||
checksum=8f2ff865ed9ed9786cc5373c37b341b876958416139d0065ebb785cf88d33586
|
||||
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default="gir"
|
||||
fi
|
||||
build_options="gir"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64-musl) build_options_default+=" gir" ;;
|
||||
*-musl) ;;
|
||||
*) build_options_default+=" gir" ;;
|
||||
esac
|
||||
|
||||
libosmgpsmap-doc_package() {
|
||||
noarch=yes
|
||||
|
@ -34,8 +38,8 @@ libosmgpsmap-devel_package() {
|
|||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/lib/*.a
|
||||
vmove usr/lib/*.so
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
if [ "$build_option_gir" ]; then
|
||||
vmove usr/share/gir-1.0
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue