diff options
author | Richard Freeman <rich0@gentoo.org> | 2018-07-08 06:23:42 -0400 |
---|---|---|
committer | Richard Freeman <rich0@gentoo.org> | 2018-07-08 06:23:42 -0400 |
commit | e29b702dabfcb0d8b3db4e6e9532550e61e8cb3f (patch) | |
tree | 39346814efb5b11a4feb15dfdc7c9d113509ff62 /media-radio | |
parent | sys-libs/libunwind: fix build with -fuse-ld=gold, bug #659732 (diff) | |
download | gentoo-e29b702dabfcb0d8b3db4e6e9532550e61e8cb3f.tar.gz gentoo-e29b702dabfcb0d8b3db4e6e9532550e61e8cb3f.tar.bz2 gentoo-e29b702dabfcb0d8b3db4e6e9532550e61e8cb3f.zip |
media-radio/cqrlog: bump, fix binary strip
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'media-radio')
-rw-r--r-- | media-radio/cqrlog/Manifest | 1 | ||||
-rw-r--r-- | media-radio/cqrlog/cqrlog-2.3.0.ebuild | 47 | ||||
-rw-r--r-- | media-radio/cqrlog/files/2.3.0-makefile.patch | 18 |
3 files changed, 66 insertions, 0 deletions
diff --git a/media-radio/cqrlog/Manifest b/media-radio/cqrlog/Manifest index 8591a3a5a3e6..5a399ff50c41 100644 --- a/media-radio/cqrlog/Manifest +++ b/media-radio/cqrlog/Manifest @@ -1 +1,2 @@ DIST cqrlog-2.1.0.tar.gz 8732858 BLAKE2B 926934b70dcd53d48ed6443994a295efdee7e34d968337f409988f269fe01faeace5dbfa02307d04ba41fb72205925b9a56fa1f75472f018cd85a408edf1265a SHA512 df5f9a197600762ef0fc60e25f67cf7968829cf0241e7e63849faa1152a0d002e0f373d33528ba7285764c19460f572090f57ac7bd5f2dc2d178862003cb812e +DIST cqrlog-2.3.0.tar.gz 10407716 BLAKE2B d932bb47601b42c940461343df69e82d8e7b8902a7cf959b72ab9a667cbaea1f8a829bfb6b3abfb2a9112f4aeed2adcbed825b1f347ceba640f1ad3903b0c246 SHA512 1e045d194a05248711e6ec43ec65e8f3f24e4fedab887cc89dc1ef6aa6e53ece4d923c9142a6ef89d8e1c46de678a16d108d344f005fa255d008cb9c5e482000 diff --git a/media-radio/cqrlog/cqrlog-2.3.0.ebuild b/media-radio/cqrlog/cqrlog-2.3.0.ebuild new file mode 100644 index 000000000000..3b72a623578a --- /dev/null +++ b/media-radio/cqrlog/cqrlog-2.3.0.ebuild @@ -0,0 +1,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." +} diff --git a/media-radio/cqrlog/files/2.3.0-makefile.patch b/media-radio/cqrlog/files/2.3.0-makefile.patch new file mode 100644 index 000000000000..da6ac782c488 --- /dev/null +++ b/media-radio/cqrlog/files/2.3.0-makefile.patch @@ -0,0 +1,18 @@ +diff --git a/Makefile.orig b/Makefile +index 0b1d1ef..8d6eb2f 100644 +--- a/Makefile.orig ++++ 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) --ws=gtk2 --lazarusdir=/usr/share/lazarus --pcp=$(tmpdir)/.lazarus src/cqrlog.lpi + gzip tools/cqrlog.1 -c > tools/cqrlog.1.gz + + clean: |