From 5bc9b2ffe0d5e02260c65ee281d32e23a34aece9 Mon Sep 17 00:00:00 2001 From: lemmi Date: Wed, 23 Dec 2015 18:00:11 +0100 Subject: [PATCH] New package: libosmgpsmap-1.1.0 --- common/shlibs | 1 + srcpkgs/libosmgpsmap-devel | 1 + srcpkgs/libosmgpsmap-doc | 1 + srcpkgs/libosmgpsmap/template | 39 +++++++++++++++++++++++++++++++++++ 4 files changed, 42 insertions(+) create mode 120000 srcpkgs/libosmgpsmap-devel create mode 120000 srcpkgs/libosmgpsmap-doc create mode 100644 srcpkgs/libosmgpsmap/template diff --git a/common/shlibs b/common/shlibs index 38a24adebea..155c3689983 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2308,3 +2308,4 @@ libhdf5.so.10 hdf5-1.8.16_1 libcryptmount.so.0 libpam-mount-2.15_1 libglob.so.0 libglob-1.0_1 libepub.so.0 ebook-tools-0.2.2_1 +libosmgpsmap-1.0.so.1 libosmgpsmap-1.1.0_1 diff --git a/srcpkgs/libosmgpsmap-devel b/srcpkgs/libosmgpsmap-devel new file mode 120000 index 00000000000..b4d9fa27e83 --- /dev/null +++ b/srcpkgs/libosmgpsmap-devel @@ -0,0 +1 @@ +libosmgpsmap \ No newline at end of file diff --git a/srcpkgs/libosmgpsmap-doc b/srcpkgs/libosmgpsmap-doc new file mode 120000 index 00000000000..b4d9fa27e83 --- /dev/null +++ b/srcpkgs/libosmgpsmap-doc @@ -0,0 +1 @@ +libosmgpsmap \ No newline at end of file diff --git a/srcpkgs/libosmgpsmap/template b/srcpkgs/libosmgpsmap/template new file mode 100644 index 00000000000..2836e6fb98b --- /dev/null +++ b/srcpkgs/libosmgpsmap/template @@ -0,0 +1,39 @@ +# Template file for 'libosmgpsmap' +pkgname=libosmgpsmap +version=1.1.0 +revision=1 +wrksrc=osm-gps-map-${version} +build_style=gnu-configure +hostmakedepends="pkg-config gtk-doc gnome-common" +makedepends="libsoup-devel gtk+3-devel cairo-devel" +short_desc="A Gtk+ Widget for Displaying OpenStreetMap tiles" +maintainer="lemmi " +license="GPL-2" +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 [ "$CROSS_BUILD" ]; then + configure_args+=" --enable-introspection=no" +else + makedepends+=" gobject-introspection" +fi + +libosmgpsmap-doc_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - Documentation" + pkg_install() { + vmove usr/share + } +} + +libosmgpsmap-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + } +}