summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr J. Borsky <ok1lix@byst.org>2021-01-27 14:57:22 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-01-27 14:57:22 +0200
commit5172f4c4af2cd356f5daaa2f9d480d1e83036290 (patch)
treeedcbb4b5181defb3ad88c9556f420e69b52f9d8a /media-radio
parentmedia-sound/mpd: go back to the log file (diff)
downloadgentoo-5172f4c4af2cd356f5daaa2f9d480d1e83036290.tar.gz
gentoo-5172f4c4af2cd356f5daaa2f9d480d1e83036290.tar.bz2
gentoo-5172f4c4af2cd356f5daaa2f9d480d1e83036290.zip
media-radio/cqrlog: version bump, fix postinst typo, update EAPI to 7
Signed-off-by: Petr Borský <ok1lix@byst.org> Package-Manager: Portage-3.0.8, Repoman-3.0.2 Closes: https://github.com/gentoo/gentoo/pull/18428 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-radio')
-rw-r--r--media-radio/cqrlog/Manifest1
-rw-r--r--media-radio/cqrlog/cqrlog-2.4.0.ebuild34
-rw-r--r--media-radio/cqrlog/files/cqrlog-2.4.0-makefile.patch36
3 files changed, 71 insertions, 0 deletions
diff --git a/media-radio/cqrlog/Manifest b/media-radio/cqrlog/Manifest
index 5a399ff50c41..71d7189177bf 100644
--- a/media-radio/cqrlog/Manifest
+++ b/media-radio/cqrlog/Manifest
@@ -1,2 +1,3 @@
DIST cqrlog-2.1.0.tar.gz 8732858 BLAKE2B 926934b70dcd53d48ed6443994a295efdee7e34d968337f409988f269fe01faeace5dbfa02307d04ba41fb72205925b9a56fa1f75472f018cd85a408edf1265a SHA512 df5f9a197600762ef0fc60e25f67cf7968829cf0241e7e63849faa1152a0d002e0f373d33528ba7285764c19460f572090f57ac7bd5f2dc2d178862003cb812e
DIST cqrlog-2.3.0.tar.gz 10407716 BLAKE2B d932bb47601b42c940461343df69e82d8e7b8902a7cf959b72ab9a667cbaea1f8a829bfb6b3abfb2a9112f4aeed2adcbed825b1f347ceba640f1ad3903b0c246 SHA512 1e045d194a05248711e6ec43ec65e8f3f24e4fedab887cc89dc1ef6aa6e53ece4d923c9142a6ef89d8e1c46de678a16d108d344f005fa255d008cb9c5e482000
+DIST cqrlog-2.4.0.tar.gz 12361259 BLAKE2B 1779abd8983b66e966b73c157e322b489c3b4005cbc84952af1d708f7d9623efa7f6abc0515ab09f13765523fa373a2829a41da43b4b0f2edaea05e1b182b5a1 SHA512 aec7b43a0d4d1cd5b1af140db149058b4cff4893e6d8ed8d1ced729bedf27baa36b71d9fa7e5312ab94dd692953346d20f7f5a55a05ba91e4eccb17919d6d49a
diff --git a/media-radio/cqrlog/cqrlog-2.4.0.ebuild b/media-radio/cqrlog/cqrlog-2.4.0.ebuild
new file mode 100644
index 000000000000..a470fe94b73d
--- /dev/null
+++ b/media-radio/cqrlog/cqrlog-2.4.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="CQRLOG is an advanced ham radio logger based on MySQL database"
+HOMEPAGE="https://www.cqrlog.com/ https://github.com/ok2cqr/cqrlog"
+SRC_URI="https://github.com/ok2cqr/cqrlog/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=dev-lang/lazarus-1.8.0
+ >=dev-lang/fpc-3.0.2"
+
+RDEPEND="${DEPEND}
+ virtual/mysql[server]
+ dev-libs/atk
+ dev-libs/glib
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+
+ x11-libs/libX11
+ x11-libs/pango"
+
+PATCHES=(
+ "${FILESDIR}/${P}-makefile.patch"
+)
+
+pkg_postist() {
+ optfeature "monitoring radio settings" media-libs/hamlib
+}
diff --git a/media-radio/cqrlog/files/cqrlog-2.4.0-makefile.patch b/media-radio/cqrlog/files/cqrlog-2.4.0-makefile.patch
new file mode 100644
index 000000000000..52169214b3ee
--- /dev/null
+++ b/media-radio/cqrlog/files/cqrlog-2.4.0-makefile.patch
@@ -0,0 +1,36 @@
+diff --git a/Makefile b/Makefile
+index 0b1d1ef..1b98acf 100644
+--- a/Makefile
++++ b/Makefile
+@@ -3,11 +3,10 @@ ST=strip
+ datadir = $(DESTDIR)/usr/share/cqrlog
+ bindir = $(DESTDIR)/usr/bin
+ sharedir = $(DESTDIR)/usr/share
+-tmpdir = /tmp
++tmpdir := $(shell mktemp -d)
+
+ cqrlog: src/cqrlog.lpi
+- $(CC) --ws=gtk2 --pcp=$(tmpdir)/.lazarus src/cqrlog.lpi
+- $(ST) src/cqrlog
++ $(CC) -d --ws=gtk2 --max-process-count=1 --lazarusdir=/usr/share/lazarus --pcp=$(tmpdir)/.lazarus src/cqrlog.lpi
+ gzip tools/cqrlog.1 -c > tools/cqrlog.1.gz
+
+ clean:
+@@ -38,7 +37,7 @@ install:
+ install -d -v $(sharedir)/pixmaps/cqrlog
+ install -d -v $(sharedir)/icons/cqrlog
+ install -d -v $(sharedir)/applications
+- install -d -v $(sharedir)/appdata
++ install -d -v $(sharedir)/metainfo
+ install -d -v $(sharedir)/man/man1
+ install -v -m 0755 src/cqrlog $(bindir)
+ install -v -m 0755 tools/cqrlog-apparmor-fix $(datadir)/cqrlog-apparmor-fix
+@@ -61,7 +60,7 @@ install:
+ # install -v -m 0644 images/icon/256x256/* $(datadir)/images/icon/256x256/
+ # install -v -m 0644 images/* $(datadir)/images/
+ install -v -m 0644 tools/cqrlog.desktop $(sharedir)/applications/cqrlog.desktop
+- install -v -m 0644 tools/cqrlog.appdata.xml $(sharedir)/appdata/cqrlog.appdata.xml
++ install -v -m 0644 tools/cqrlog.appdata.xml $(sharedir)/metainfo/cqrlog.appdata.xml
+ install -v -m 0644 images/icon/32x32/cqrlog.png $(sharedir)/pixmaps/cqrlog/cqrlog.png
+ install -v -m 0644 images/icon/128x128/cqrlog.png $(sharedir)/icons/cqrlog.png
+ install -v -m 0644 src/changelog.html $(datadir)/changelog.html