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