summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-radio/cqrlog/cqrlog-2.1.0-r1.ebuild')
-rw-r--r--media-radio/cqrlog/cqrlog-2.1.0-r1.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/media-radio/cqrlog/cqrlog-2.1.0-r1.ebuild b/media-radio/cqrlog/cqrlog-2.1.0-r1.ebuild
new file mode 100644
index 00000000000..9c107016016
--- /dev/null
+++ b/media-radio/cqrlog/cqrlog-2.1.0-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2018 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[server]
+ 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."
+}