forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-radio/cqrlog: bump, fix binary strip
Package-Manager: Portage-2.3.40, Repoman-2.3.9
- Loading branch information
Showing
3 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: |