From 3df6aa282340ea53770f543d1bca49f1ba48608c Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Wed, 3 Aug 2022 15:21:21 -0400 Subject: [PATCH 1/2] New package: pyotherside-1.5.9 --- srcpkgs/pyotherside/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/pyotherside/template diff --git a/srcpkgs/pyotherside/template b/srcpkgs/pyotherside/template new file mode 100644 index 000000000000..f0e98f649109 --- /dev/null +++ b/srcpkgs/pyotherside/template @@ -0,0 +1,21 @@ +# Template file for 'pyotherside' +pkgname=pyotherside +version=1.5.9 +revision=1 +build_style=qmake +configure_args="PYTHON_CONFIG=${XBPS_CROSS_BASE}/usr/bin/python3-config" +hostmakedepends="qt5-qmake qt5-host-tools" +makedepends="python3-devel qt5-svg-devel qt5-declarative-devel" +short_desc="Asynchronous Python 3 Bindings for Qt 5" +maintainer="Joel Beckmeyer " +license="ISC" +homepage="https://thp.io/2011/pyotherside/" +distfiles="https://github.com/thp/pyotherside/archive/${version}.tar.gz" +checksum=189cb0b973e40fcb6b95fd51b0bcd6cc8494b514d49ffe966ec488cf05bbf51e + +post_install() { + vlicense LICENSE + + # remove tests polluting /usr + rm ${DESTDIR}/usr/tests/qtquicktests/qtquicktests +} From c226535d53674af7f55d3f6dc17f33fe44aa30df Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Tue, 31 May 2022 10:26:17 -0400 Subject: [PATCH 2/2] New package: modrana-0.56.17 --- srcpkgs/modrana/template | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 srcpkgs/modrana/template diff --git a/srcpkgs/modrana/template b/srcpkgs/modrana/template new file mode 100644 index 000000000000..b5857176b8f5 --- /dev/null +++ b/srcpkgs/modrana/template @@ -0,0 +1,31 @@ +# Template file for 'modrana' +pkgname=modrana +version=0.57.3 +revision=1 +# releases aren't tagged in git +_version_commit=dbd558d407abe7a3a4a352c96b618147cade4bd9 +wrksrc="modrana-${_version_commit}" +build_style=gnu-makefile +build_helper=qmake +make_build_target="VersionFile all rsync launcher" +hostmakedepends="rsync qt5-qmake qt5-host-tools" +makedepends="qt5-declarative-devel" +depends="pyotherside" +short_desc="Flexible GPS navigation system for mobile devices" +maintainer="Joel Beckmeyer " +license="GPL-3.0-or-later" +homepage="https://modrana.org" +distfiles="https://github.com/M4rtinK/modrana/archive/${_version_commit}.tar.gz" +checksum=7f93e4660997a8cba4194709c4566dec667da1c99ae45dd66ea6df71b8c637a6 +python_version=3 +make_use_env=yes +disable_parallel_build=yes + +post_install() { + # not sure why the gtk binary is still here, only qt is supported/working + rm ${DESTDIR}/usr/bin/modrana-gtk + # broken, tries to invoke QT launcher with wrong patch (/usr/modrana), just + # use modrana-qt5 + rm ${DESTDIR}/usr/bin/modrana + rm ${DESTDIR}/usr/share/applications/modrana.desktop +}