summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Korotkiy2018-12-08 20:13:12 +0300
committerNikolay Korotkiy2018-12-08 20:13:12 +0300
commitc0a2ac83ece4e1040330cceb4f41ef2279b3c619 (patch)
tree821abe8afb9627282990c4b802ea6e316609fda8
downloadaur-c0a2ac83ece4e1040330cceb4f41ef2279b3c619.tar.gz
Initial import
-rw-r--r--.SRCINFO22
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD33
-rw-r--r--Qt5Gui_QPbfPlugin.cmake6
4 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..025a6f7436b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+# Generated by makepkg 5.1.1
+# Sat Dec 8 17:08:07 UTC 2018
+pkgbase = qt5-pbfimageplugin
+ pkgdesc = Qt image plugin for displaying Mapbox vector tiles
+ pkgver = 1.1
+ pkgrel = 1
+ url = https://github.com/tumic0/QtPBFImagePlugin
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = qt5-tools
+ depends = qt5-base
+ depends = protobuf
+ provides = qt5-pbfimageplugin=1.1
+ conflicts = qt5-pbfimageplugin-git
+ source = https://github.com/tumic0/QtPBFImagePlugin/archive/1.1.tar.gz
+ source = Qt5Gui_QPbfPlugin.cmake
+ sha256sums = d12224b19fd61adef815468b7e3a6941fb193a43f7d0bd616e00e61d50a7db72
+ sha256sums = c927c3832fe39d674c6225ad9070d3c667f1ff9d37d398669a969cdfcee1e984
+
+pkgname = qt5-pbfimageplugin
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..a7ea2e0a604
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+*.tar.*
+pkg
+src
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b7c4bd12103
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Nikolay Korotkiy <sikmir@gmail.com>
+_orgname=tumic0
+_pkgname=QtPBFImagePlugin
+pkgname=qt5-pbfimageplugin
+pkgver=1.1
+pkgrel=1
+pkgdesc='Qt image plugin for displaying Mapbox vector tiles'
+arch=('i686' 'x86_64')
+url='https://github.com/tumic0/QtPBFImagePlugin'
+license=('GPL3')
+depends=('qt5-base' 'protobuf')
+makedepends=('qt5-tools')
+provides=("${pkgname}=${pkgver}")
+conflicts=("${pkgname}-git")
+source=("https://github.com/${_orgname}/${_pkgname}/archive/${pkgver}.tar.gz"
+ 'Qt5Gui_QPbfPlugin.cmake')
+sha256sums=('d12224b19fd61adef815468b7e3a6941fb193a43f7d0bd616e00e61d50a7db72'
+ 'c927c3832fe39d674c6225ad9070d3c667f1ff9d37d398669a969cdfcee1e984')
+
+build() {
+ cd ${_pkgname}-${pkgver}
+
+ qmake pbfplugin.pro
+ make
+}
+
+package() {
+ cd ${_pkgname}-${pkgver}
+
+ install -Dm755 libpbf.so ${pkgdir}/usr/lib/qt/plugins/imageformats/libpbf.so
+ install -Dm644 ../Qt5Gui_QPbfPlugin.cmake ${pkgdir}/usr/lib/cmake/Qt5Gui/Qt5Gui_QPbfPlugin.cmake
+ install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}
diff --git a/Qt5Gui_QPbfPlugin.cmake b/Qt5Gui_QPbfPlugin.cmake
new file mode 100644
index 00000000000..1997a156b74
--- /dev/null
+++ b/Qt5Gui_QPbfPlugin.cmake
@@ -0,0 +1,6 @@
+
+add_library(Qt5::QPbfPlugin MODULE IMPORTED)
+
+_populate_Gui_plugin_properties(QPbfPlugin RELEASE "imageformats/libpbf.so")
+
+list(APPEND Qt5Gui_PLUGINS Qt5::QPbfPlugin)