summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Freeman <rich0@gentoo.org>2017-12-22 08:20:26 -0500
committerRichard Freeman <rich0@gentoo.org>2017-12-22 08:20:26 -0500
commitf2bda0cc457442c7cd702f5a8ae1cbf86099f610 (patch)
tree840f29d46b51ac0a9767a34e758bf1b049603fc0 /media-radio
parentmedia-radio/flamp: introduce package from rich0 overlay (diff)
downloadgentoo-f2bda0cc457442c7cd702f5a8ae1cbf86099f610.tar.gz
gentoo-f2bda0cc457442c7cd702f5a8ae1cbf86099f610.tar.bz2
gentoo-f2bda0cc457442c7cd702f5a8ae1cbf86099f610.zip
media-radio/tqsl: 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/tqsl/Manifest1
-rw-r--r--media-radio/tqsl/files/2.3.1-suffix.patch11
-rw-r--r--media-radio/tqsl/metadata.xml11
-rw-r--r--media-radio/tqsl/tqsl-2.3.1.ebuild38
4 files changed, 61 insertions, 0 deletions
diff --git a/media-radio/tqsl/Manifest b/media-radio/tqsl/Manifest
new file mode 100644
index 00000000000..df8e8de930d
--- /dev/null
+++ b/media-radio/tqsl/Manifest
@@ -0,0 +1 @@
+DIST tqsl-2.3.1.tar.gz 2896807 BLAKE2B f2937950b5328cfb0a13b87797f40594799e01139d5b307199095b8cdbe6f4532e911fd9661ad3b663d8616d9287d8a359f2fefb4364c6450ba4be2505a89c63 SHA512 edaa21b1605bcb38790a66d61e1498a04f41c4f9b3b577908a6e57cd38e1ac2e1724e9c6d5421e0ca4a4ea72d1d5f5d54f08bf5a6c202bf68181ec12f27d4afd
diff --git a/media-radio/tqsl/files/2.3.1-suffix.patch b/media-radio/tqsl/files/2.3.1-suffix.patch
new file mode 100644
index 00000000000..e5d44dc7b85
--- /dev/null
+++ b/media-radio/tqsl/files/2.3.1-suffix.patch
@@ -0,0 +1,11 @@
+--- tqsl-2.3.1-orig/src/CMakeLists.txt
++++ tqsl-2.3.1/src/CMakeLists.txt
+@@ -54,7 +54,7 @@ include_directories(${OPENSSL_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} ${EXPAT_INCLUDE_D
+ if(NOT APPLE AND NOT WIN32)
+ set_source_files_properties(location.cpp PROPERTIES COMPILE_DEFINITIONS CONFDIR="${CMAKE_INSTALL_PREFIX}/share/TrustedQSL/")
+ set(HEADERS_TO_INSTALL tqsllib.h tqslerrno.h cabrillo.h adif.h tqslconvert.h)
+-install(TARGETS tqsllib DESTINATION lib$(LIB_SUFFIX))
++install(TARGETS tqsllib DESTINATION lib${LIB_SUFFIX})
+ install(FILES config.xml DESTINATION share/TrustedQSL)
+ install(FILES ${HEADERS_TO_INSTALL} DESTINATION include)
+ endif()
diff --git a/media-radio/tqsl/metadata.xml b/media-radio/tqsl/metadata.xml
new file mode 100644
index 00000000000..bd55a99244b
--- /dev/null
+++ b/media-radio/tqsl/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+<upstream>
+ <remote-id type="sourceforge">trustedqsl</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/media-radio/tqsl/tqsl-2.3.1.ebuild b/media-radio/tqsl/tqsl-2.3.1.ebuild
new file mode 100644
index 00000000000..8321f32ece3
--- /dev/null
+++ b/media-radio/tqsl/tqsl-2.3.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils cmake-utils wxwidgets
+
+DESCRIPTION="ARRL Logbook of the World"
+HOMEPAGE="http://www.arrl.org/tqsl-download"
+SRC_URI="mirror://sourceforge/trustedqsl/${P}.tar.gz"
+
+LICENSE="LOTW"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-libs/expat:=
+ dev-libs/openssl:=
+ net-misc/curl:=
+ sys-libs/db:=
+ sys-libs/zlib:=
+ x11-libs/wxGTK:3.0="
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS.txt INSTALL README )
+HTML_DOCS=( html )
+
+WX_GTK_VER=3.0
+
+pkg_setup() {
+ setup-wxwidgets
+}
+
+src_prepare() {
+# Fix syntax file in makefile
+ eapply_user
+ epatch "${FILESDIR}/${PV}-suffix.patch"
+}