Skip to content

Commit

Permalink
Add qlog
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Fabrizio Orsi <[email protected]>
  • Loading branch information
lima-limon-inc committed Dec 16, 2024
1 parent 960ae63 commit 0cd47d2
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
1 change: 1 addition & 0 deletions media-radio/qlog/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST qlog-0.40.1.tar.gz 8358189 BLAKE2B 558bbb8f309f1119c6fe2ed7690a8fd3443187602bc317fc3d85e247ae7581c89addbe89098869ebc528c7835c05826e5bce3e3f2c8e68ab3f47bfe7d8ad93b8 SHA512 dd4ddfa6ecacd1bfd71b8613ae6cb134d5d0708f4eb2d4690f1345276af3278d66739467f05eff24633b38eb7139365f592d3d04365207414c6f75f10edc8dbb
13 changes: 13 additions & 0 deletions media-radio/qlog/files/qlog-pro-lib-dir.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/QLog.pro b/QLog.pro
index ce918fe..3619792 100644
--- a/QLog.pro
+++ b/QLog.pro
@@ -462,7 +462,7 @@ unix:!macx {
INSTALLS += target desktop icon metainfo

INCLUDEPATH += /usr/local/include
- LIBS += -L/usr/local/lib -lhamlib -lsqlite3
+ LIBS += -L/usr/lib64/hamlib -L/usr/lib64 -lhamlib -lsqlite3
equals(QT_MAJOR_VERSION, 6): LIBS += -lqt6keychain
equals(QT_MAJOR_VERSION, 5): LIBS += -lqt5keychain
}
40 changes: 40 additions & 0 deletions media-radio/qlog/qlog-0.40.1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit qmake-utils

DESCRIPTION="Amateur radio logbook software"
HOMEPAGE="https://github.com/foldynl/QLog"
SRC_URI="https://github.com/foldynl/QLog/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

S="${WORKDIR}/QLog-${PV}"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
media-libs/hamlib
dev-qt/qtwebsockets
dev-qt/qtwebengine
dev-qt/qtcharts
dev-qt/qtserialport
dev-libs/qtkeychain
"
DEPEND="${RDEPEND}"
BDEPEND=""

PATCHES=(
"${FILESDIR}/${PN}-pro-lib-dir.patch"
)

src_configure() {
eqmake6 QLog.pro
}

src_install() {
emake INSTALL_ROOT="${D}" install

}

0 comments on commit 0cd47d2

Please sign in to comment.