From d14d546731126d00fbcd42eb053b04c892ddedcc Mon Sep 17 00:00:00 2001 From: Alan Brown Date: Mon, 22 Nov 2021 12:23:26 +0000 Subject: [PATCH 1/4] New package: qtlocation-plugin-googlemaps-0.0.0.2 --- srcpkgs/qtlocation-plugin-googlemaps/template | 23 +++++++++++++++++++ srcpkgs/qtlocation-plugin-googlemaps/update | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 srcpkgs/qtlocation-plugin-googlemaps/template create mode 100644 srcpkgs/qtlocation-plugin-googlemaps/update diff --git a/srcpkgs/qtlocation-plugin-googlemaps/template b/srcpkgs/qtlocation-plugin-googlemaps/template new file mode 100644 index 000000000000..3201d3c179c8 --- /dev/null +++ b/srcpkgs/qtlocation-plugin-googlemaps/template @@ -0,0 +1,23 @@ +# Template file for 'qtlocation-plugin-googlemaps' +pkgname=qtlocation-plugin-googlemaps +distpkgnamme=googlemaps +version=0.0.0.2 +revision=1 +wrksrc=${distpkgname}-v.${version} +build_style=qmake +hostmakedepends="qt5-qmake" +makedepends="qt5-devel qt5-location-devel qt5-declarative-devel" +short_desc="Googlemaps plugin for QtLocation" +maintainer="Alan Brown " +license="MIT" +homepage="https://github.com/vladest/googlemaps" +distfiles="https://github.com/vladest/${distpkgname}/archive/v.${version}.tar.gz" +checksum=aac2f995917e75dff2861ce38049ccbb1cd51d078cb45d78158caa40a97a5bf0 + +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-devel" +fi + +post_install() { + vlicense LICENSE.txt +} diff --git a/srcpkgs/qtlocation-plugin-googlemaps/update b/srcpkgs/qtlocation-plugin-googlemaps/update new file mode 100644 index 000000000000..7b68f9be62e3 --- /dev/null +++ b/srcpkgs/qtlocation-plugin-googlemaps/update @@ -0,0 +1,2 @@ +pkgname=googlemaps +pattern="v\.\K[\d\.]+(?=\.tar\.gz)" From 75949d40ee85f7ebbb0df929745b1543c2884bd3 Mon Sep 17 00:00:00 2001 From: Alan Brown Date: Mon, 22 Nov 2021 12:27:42 +0000 Subject: [PATCH 2/4] New package: libdivecomputer-subsurface-5.0.5 --- srcpkgs/libdivecomputer-subsurface-devel | 1 + srcpkgs/libdivecomputer-subsurface/template | 30 +++++++++++++++++++++ srcpkgs/libdivecomputer-subsurface/update | 2 ++ 3 files changed, 33 insertions(+) create mode 120000 srcpkgs/libdivecomputer-subsurface-devel create mode 100644 srcpkgs/libdivecomputer-subsurface/template create mode 100644 srcpkgs/libdivecomputer-subsurface/update diff --git a/srcpkgs/libdivecomputer-subsurface-devel b/srcpkgs/libdivecomputer-subsurface-devel new file mode 120000 index 000000000000..3500e0b5b0d5 --- /dev/null +++ b/srcpkgs/libdivecomputer-subsurface-devel @@ -0,0 +1 @@ +libdivecomputer-subsurface \ No newline at end of file diff --git a/srcpkgs/libdivecomputer-subsurface/template b/srcpkgs/libdivecomputer-subsurface/template new file mode 100644 index 000000000000..30b595dfd170 --- /dev/null +++ b/srcpkgs/libdivecomputer-subsurface/template @@ -0,0 +1,30 @@ +# Template file for 'libdivecomputer-subsurface' +pkgname=libdivecomputer-subsurface +version=5.0.5 +revision=1 +wrksrc="libdivecomputer-subsurface-branch-${version}" +build_style=gnu-configure +hostmakedepends="libtool automake autoconf pkg-config" +short_desc="Subsurface version of libdivecomputer" +maintainer="Alan Brown " +license="LGPL-2.1-only" +homepage="https://subsurface-divelog.org/" +distfiles="${homepage}/downloads/${pkgname}-branch-${version}.tgz" +checksum=94b69d1b12d3c35376fdce96088c0cce21392a37a0ff67991246171d22055c02 +shlib_provides="libdivecomputer.so" + +pre_configure() { + autoreconf -fi +} + +libdivecomputer-subsurface-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + vmove "usr/lib/*.a" + vmove usr/share/man/man3 + } +} diff --git a/srcpkgs/libdivecomputer-subsurface/update b/srcpkgs/libdivecomputer-subsurface/update new file mode 100644 index 000000000000..61fff2459745 --- /dev/null +++ b/srcpkgs/libdivecomputer-subsurface/update @@ -0,0 +1,2 @@ +site="${homepage}/downloads" +pattern="${pkgname}-branch-\K[\d\.]+(?=\.tgz)" From e4c877286d525a45e2ff90f9af6a355a089a04fd Mon Sep 17 00:00:00 2001 From: Alan Brown Date: Mon, 22 Nov 2021 12:28:57 +0000 Subject: [PATCH 3/4] New package: subsurface-5.0.5 --- srcpkgs/subsurface/template | 28 ++++++++++++++++++++++++++++ srcpkgs/subsurface/update | 3 +++ 2 files changed, 31 insertions(+) create mode 100644 srcpkgs/subsurface/template create mode 100644 srcpkgs/subsurface/update diff --git a/srcpkgs/subsurface/template b/srcpkgs/subsurface/template new file mode 100644 index 000000000000..bdaac7c1f13c --- /dev/null +++ b/srcpkgs/subsurface/template @@ -0,0 +1,28 @@ +# Template file for 'subsurface' +pkgname=subsurface +version=5.0.5 +revision=1 +wrksrc="Subsurface-${version}" +build_style=cmake +configure_args="-DSUBSURFACE_TARGET_EXECUTABLE=DesktopExecutable +-DCMAKE_BUILD_TYPE=Release -DBTSUPPORT=ON -DNO_USERMANUAL=OFF -DNO_PRINTING=OFF" +make_cmd=make +hostmakedepends="git pkg-config autoconf automake libtool" +makedepends="libdivecomputer-subsurface-devel libbluetooth-devel libcurl-devel +sqlite-devel libssh2-devel eudev-libudev-devel libusb-devel libxml2-devel +libxslt-devel qt5-devel qt5-connectivity-devel qt5-declarative-devel +qt5-location-devel qt5-script-devel qt5-svg-devel qt5-tools-devel +qt5-webkit-devel bluez-qt5-devel libgit2-devel libzip-devel libmtp-devel" +depends="libdivecomputer-subsurface qtlocation-plugin-googlemaps" +short_desc="Multi-platform divelog software" +maintainer="Alan Brown " +license="GPL-2.0-only" +homepage="https://subsurface-divelog.org/" +distfiles="${homepage}/downloads/Subsurface-${version}.tgz" +checksum=fe0ff8b1f65441b2a76a27a0072fe5faaf734ee08f5e19845400d0fc3d35541c + +export CMAKE_GENERATOR="Unix Makefiles" + +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-devel" +fi diff --git a/srcpkgs/subsurface/update b/srcpkgs/subsurface/update new file mode 100644 index 000000000000..daa8b5380ea9 --- /dev/null +++ b/srcpkgs/subsurface/update @@ -0,0 +1,3 @@ +site="${homepage}/downloads" +pkgname="Subsurface" +pattern="${pkgname}-\K[\d\.]+(?=\.tgz)" From cad1a72db0e8563c53b42e190f349c6c3b80163c Mon Sep 17 00:00:00 2001 From: Alan Brown Date: Mon, 22 Nov 2021 13:45:27 +0000 Subject: [PATCH 4/4] spelling --- srcpkgs/qtlocation-plugin-googlemaps/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/qtlocation-plugin-googlemaps/template b/srcpkgs/qtlocation-plugin-googlemaps/template index 3201d3c179c8..e83b2e1debda 100644 --- a/srcpkgs/qtlocation-plugin-googlemaps/template +++ b/srcpkgs/qtlocation-plugin-googlemaps/template @@ -1,6 +1,6 @@ # Template file for 'qtlocation-plugin-googlemaps' pkgname=qtlocation-plugin-googlemaps -distpkgnamme=googlemaps +distpkgname=googlemaps version=0.0.0.2 revision=1 wrksrc=${distpkgname}-v.${version}