summaryrefslogtreecommitdiff
path: root/media-radio/cqrlog/cqrlog-2.3.0.ebuild
blob: 3b72a623578a3c7a53d63c6532670cdae4892f6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# 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.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"

#S=${WORKDIR}/${P}

LazarusDir=/usr/share/lazarus/

src_prepare() {
# add --lazarusdir=/usr/share/lazarus to command line
# fix tmpdir
# remove strip call
	eapply_user
	epatch "${FILESDIR}/${PV}-makefile.patch"
}

pkg_postist() {
	elog "This package optionally supports media-libs/hablib"
	elog "for monitoring radio settings."
}