1 |
commit: d9bf97290e0b04abf378ab246a8d5b7a72bff338 |
2 |
Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 7 06:50:10 2021 +0000 |
4 |
Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 7 06:50:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9bf9729 |
7 |
|
8 |
media-libs/hamlib: Drop old |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org> |
12 |
|
13 |
media-libs/hamlib/Manifest | 1 - |
14 |
media-libs/hamlib/hamlib-4.2.ebuild | 94 ------------------------------------- |
15 |
2 files changed, 95 deletions(-) |
16 |
|
17 |
diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest |
18 |
index 985a81dd4f2c..6e041160e129 100644 |
19 |
--- a/media-libs/hamlib/Manifest |
20 |
+++ b/media-libs/hamlib/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
-DIST hamlib-4.2.tar.gz 2311775 BLAKE2B 4fe8d3e6d489369aede1a4cd59f01be44a7787ca71c21c5b92d436666c67de68013f488834d0f57238e6a947c24cd5b4c6c667397dec30392f1cccd695df252e SHA512 08ccf4e592fbae938ae1aaa5afede7e2e6ec7d23b449a65b00e093502f4aeb36930624f055d9802349f77df9dd2b7b983aa44d83f8c62a6de5789e7df627f804 |
23 |
DIST hamlib-4.3.1.tar.gz 2356944 BLAKE2B c803d253c867303cbde98b6f2e10f610aac111b7bd81fd343e1396cb86384b1c26942e5ccb8e395e073f9aa3d48e6f9edc1b64da14b2ec5ca09f98fbd3dee667 SHA512 8dee4676a19de7ac1ef733a4285b76e918f11aad6594d0557d36df295faf04c615e0993edb2f9ed5e7aea718c184603fec831caf28b75026c705f0b2e4b9eca7 |
24 |
DIST hamlib-4.4.tar.gz 2401399 BLAKE2B 4256b5b4374c62ef4fb957d29deda95aa9d15a8b52b81c5db1c07f3ebbf4c8e48c6c082769cef82c8457b3f813ac00ef7a37136615747f2c93e5275a112891e7 SHA512 37366ba180031de34da447c3d4e0086f156b893f57b5ab9bbc38b8e1f4bf9310fa1a9eb2a6d7884f1f11900dbdb811b4071e023aba571ea0ac5d07ddb122bf7b |
25 |
|
26 |
diff --git a/media-libs/hamlib/hamlib-4.2.ebuild b/media-libs/hamlib/hamlib-4.2.ebuild |
27 |
deleted file mode 100644 |
28 |
index c26283d90ea6..000000000000 |
29 |
--- a/media-libs/hamlib/hamlib-4.2.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,94 +0,0 @@ |
32 |
-# Copyright 1999-2021 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-PYTHON_COMPAT=( python3_{7..9} ) |
38 |
-MY_P=${P/_rc2/~rc2} |
39 |
- |
40 |
-inherit autotools python-single-r1 |
41 |
- |
42 |
-DESCRIPTION="Ham radio backend rig control libraries" |
43 |
-HOMEPAGE="https://www.hamlib.org" |
44 |
-SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz" |
45 |
- |
46 |
-LICENSE="LGPL-2 GPL-2" |
47 |
-SLOT="0/4.2" |
48 |
-KEYWORDS="amd64 x86" |
49 |
-IUSE="doc perl python tcl" |
50 |
- |
51 |
-RESTRICT="test" |
52 |
- |
53 |
-RDEPEND=" |
54 |
- =virtual/libusb-0* |
55 |
- dev-libs/libxml2 |
56 |
- sys-libs/readline:0= |
57 |
- perl? ( dev-lang/perl ) |
58 |
- python? ( ${PYTHON_DEPS} ) |
59 |
- tcl? ( dev-lang/tcl:0= )" |
60 |
- |
61 |
-DEPEND=" ${RDEPEND} |
62 |
- virtual/pkgconfig |
63 |
- dev-lang/swig |
64 |
- >=sys-devel/libtool-2.2 |
65 |
- doc? ( app-doc/doxygen )" |
66 |
- |
67 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
68 |
- |
69 |
-DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer) |
70 |
- |
71 |
-S="${WORKDIR}/${MY_P}" |
72 |
- |
73 |
-pkg_setup() { |
74 |
- use python && python-single-r1_pkg_setup |
75 |
-} |
76 |
- |
77 |
-src_prepare() { |
78 |
- # fix hardcoded libdir paths |
79 |
- sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \ |
80 |
- -e "s#fix}/include#fix}/include/hamlib#" \ |
81 |
- hamlib.pc.in || die "sed failed" |
82 |
- |
83 |
- # Correct install target to whatever INSTALLDIRS says and use vendor |
84 |
- # installdirs everywhere (bug #611550) |
85 |
- sed -i -e "s#install_site#install#" \ |
86 |
- -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" INSTALLDIRS=vendor#' \ |
87 |
- bindings/Makefile.am || die "sed failed patching for perl" |
88 |
- |
89 |
- # make building of documentation compatible with autotools-utils |
90 |
- sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed" |
91 |
- |
92 |
- eautoreconf |
93 |
- |
94 |
- eapply_user |
95 |
-} |
96 |
- |
97 |
-src_configure() { |
98 |
- econf \ |
99 |
- --libdir=/usr/$(get_libdir)/hamlib \ |
100 |
- --disable-static \ |
101 |
- --with-xml-support \ |
102 |
- $(use_with perl perl-binding) \ |
103 |
- $(use_with python python-binding) \ |
104 |
- $(use_with tcl tcl-binding) |
105 |
-} |
106 |
- |
107 |
-src_compile() { |
108 |
- emake |
109 |
- use doc && emake html |
110 |
-} |
111 |
- |
112 |
-src_install() { |
113 |
- emake DESTDIR="${D}" install |
114 |
- |
115 |
- use python && python_optimize |
116 |
- |
117 |
- use doc && HTML_DOCS=( doc/html/ ) |
118 |
- einstalldocs |
119 |
- |
120 |
- insinto /usr/$(get_libdir)/pkgconfig |
121 |
- doins hamlib.pc |
122 |
- |
123 |
- echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib |
124 |
- doenvd "${T}"/73hamlib |
125 |
-} |