commit:     28a0bb1303bdf22f36f4ef144e764649271cbb7c
Author:     Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Fri Oct 31 15:35:49 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 24 17:21:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28a0bb13

media-radio/qlog: add 9999

Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Part-of: https://github.com/gentoo/gentoo/pull/44405
Closes: https://github.com/gentoo/gentoo/pull/44405
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-radio/qlog/qlog-9999.ebuild | 47 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/media-radio/qlog/qlog-9999.ebuild 
b/media-radio/qlog/qlog-9999.ebuild
new file mode 100644
index 000000000000..4a3ad11795dd
--- /dev/null
+++ b/media-radio/qlog/qlog-9999.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qmake-utils xdg
+
+DESCRIPTION="Amateur radio logbook software"
+HOMEPAGE="https://github.com/foldynl/QLog";
+
+if [[ ${PV} = "9999" ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/foldynl/QLog.git";
+else
+       
SRC_URI="https://github.com/foldynl/QLog/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+       S="${WORKDIR}/QLog-${PV}"
+       KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+RDEPEND="
+       dev-db/sqlite:3
+       dev-libs/qtkeychain
+       dev-qt/qtbase:6[dbus,gui,network,sql,xml]
+       dev-qt/qtcharts:6
+       dev-qt/qtserialport:6
+       dev-qt/qtwebchannel:6
+       dev-qt/qtwebengine:6[widgets]
+       dev-qt/qtwebsockets:6
+       media-libs/hamlib:=
+       virtual/zlib:=
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+       eqmake6 \
+               PREFIX="${PREFIX}/usr/" \
+               HAMLIBINCLUDEPATH="${EPREFIX}/usr/include/hamlib" \
+               HAMLIBLIBPATH="${EPREFIX}/usr/$(get_libdir)/hamlib" \
+               QLog.pro
+}
+
+src_install() {
+       emake INSTALL_ROOT="${ED}" install
+}

Reply via email to