summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Freeman <rich0@gentoo.org>2017-12-22 07:59:21 -0500
committerRichard Freeman <rich0@gentoo.org>2017-12-22 07:59:51 -0500
commitd97a0f7a69356f347351170209c7edd7c2f96a75 (patch)
treedf56c115064829e323274866918cc104f73db66c /media-radio
parentmedia-video/minitube: remove Qt team as a maintainer (diff)
downloadgentoo-d97a0f7a69356f347351170209c7edd7c2f96a75.tar.gz
gentoo-d97a0f7a69356f347351170209c7edd7c2f96a75.tar.bz2
gentoo-d97a0f7a69356f347351170209c7edd7c2f96a75.zip
media-radio/cqrlog: introduce package from rich0 overlay
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'media-radio')
-rw-r--r--media-radio/cqrlog/Manifest1
-rw-r--r--media-radio/cqrlog/cqrlog-2.1.0.ebuild46
-rw-r--r--media-radio/cqrlog/files/2.1.0-makefile.patch17
-rw-r--r--media-radio/cqrlog/metadata.xml8
4 files changed, 72 insertions, 0 deletions
diff --git a/media-radio/cqrlog/Manifest b/media-radio/cqrlog/Manifest
new file mode 100644
index 00000000000..8591a3a5a3e
--- /dev/null
+++ b/media-radio/cqrlog/Manifest
@@ -0,0 +1 @@
+DIST cqrlog-2.1.0.tar.gz 8732858 BLAKE2B 926934b70dcd53d48ed6443994a295efdee7e34d968337f409988f269fe01faeace5dbfa02307d04ba41fb72205925b9a56fa1f75472f018cd85a408edf1265a SHA512 df5f9a197600762ef0fc60e25f67cf7968829cf0241e7e63849faa1152a0d002e0f373d33528ba7285764c19460f572090f57ac7bd5f2dc2d178862003cb812e
diff --git a/media-radio/cqrlog/cqrlog-2.1.0.ebuild b/media-radio/cqrlog/cqrlog-2.1.0.ebuild
new file mode 100644
index 00000000000..c59f516c9ff
--- /dev/null
+++ b/media-radio/cqrlog/cqrlog-2.1.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils
+
+DESCRIPTION="CQRLOG is an advanced ham radio logger based on MySQL database."
+HOMEPAGE="https://www.cqrlog.com/"
+SRC_URI="https://github.com/ok2cqr/cqrlog/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+#RESTRICT="strip"
+
+DEPEND=">=dev-lang/lazarus-1.6.4
+ >=dev-lang/fpc-3.0.2"
+
+RDEPEND="${DEPEND}
+ dev-db/mysql[embedded]
+ dev-libs/atk
+ dev-libs/glib
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+
+ x11-libs/libX11
+ x11-libs/pango"
+
+#S=${WORKDIR}/${P}
+
+LazarusDir=/usr/share/lazarus/
+
+src_prepare() {
+# add --lazarusdir=/usr/share/lazarus to command line
+# fix tmpdir
+ eapply_user
+ epatch "${FILESDIR}/${PV}-makefile.patch"
+}
+
+pkg_postist() {
+ elog "This package optionally supports media-libs/hablib"
+ elog "for monitoring radio settings."
+}
diff --git a/media-radio/cqrlog/files/2.1.0-makefile.patch b/media-radio/cqrlog/files/2.1.0-makefile.patch
new file mode 100644
index 00000000000..8499213fbd5
--- /dev/null
+++ b/media-radio/cqrlog/files/2.1.0-makefile.patch
@@ -0,0 +1,17 @@
+diff --git a/Makefile.orig b/Makefile
+index 4edf8cf..1ec6262 100644
+--- a/Makefile.orig
++++ b/Makefile
+@@ -3,10 +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
++ $(CC) --ws=gtk2 --lazarusdir=/usr/share/lazarus --pcp=$(tmpdir)/.lazarus src/cqrlog.lpi
+ $(ST) src/cqrlog
+ gzip tools/cqrlog.1 -c > tools/cqrlog.1.gz
+
diff --git a/media-radio/cqrlog/metadata.xml b/media-radio/cqrlog/metadata.xml
new file mode 100644
index 00000000000..12bc9083384
--- /dev/null
+++ b/media-radio/cqrlog/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>rich0@gentoo.org</email>
+ <description>Primary maintainer</description>
+</maintainer>
+</pkgmetadata>