Gentoo Archives: gentoo-commits

From: Thomas Beierlein <tomjbe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/
Date: Wed, 26 May 2021 17:02:22
Message-Id: 1622048506.baedd3bf9729930ce49ea730acdcbf2d8f2151b1.tomjbe@gentoo
1 commit: baedd3bf9729930ce49ea730acdcbf2d8f2151b1
2 Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 26 17:01:46 2021 +0000
4 Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
5 CommitDate: Wed May 26 17:01:46 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baedd3bf
7
8 media-libs/hamlib: Drop old
9
10 Package-Manager: Portage-3.0.19, 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-3.3-r1.ebuild | 93 ----------------------------------
15 2 files changed, 94 deletions(-)
16
17 diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
18 index 16d141d57b9..b6f546e6b23 100644
19 --- a/media-libs/hamlib/Manifest
20 +++ b/media-libs/hamlib/Manifest
21 @@ -1,2 +1 @@
22 -DIST hamlib-3.3.tar.gz 2192119 BLAKE2B edefd8b8c75876c07fa498c98f7d6760985fdecc477bf6711e948071e45964bf7fdf6705b3172e56951366a7dfb0288e025eab66d3b6436d158649ae53ac39bd SHA512 4cf6c94d0238c8a13aed09413b3f4a027c8ded07f8840cdb2b9d38b39b6395a4a88a8105257015345f6de0658ab8c60292d11a9de3e16a493e153637af630a80
23 DIST hamlib-4.1.tar.gz 2260629 BLAKE2B e53249f476005f3ec8afcbba6d875d913cdc45eb741fdb8b8718c1c5bda9cf8d50087165b72055600bc9ff364117f7d72235a3d68a9fb0882a77a6fdbf366605 SHA512 a5fca5dc89a7408628bc77fe22c6d8c77474b3dabee7b2b6d0b280becb6cb63f5619e4a620ad11aeb81b8412145b0f8cb0291a2d4cd3751c643cb1709b2dfa78
24
25 diff --git a/media-libs/hamlib/hamlib-3.3-r1.ebuild b/media-libs/hamlib/hamlib-3.3-r1.ebuild
26 deleted file mode 100644
27 index 556650e6662..00000000000
28 --- a/media-libs/hamlib/hamlib-3.3-r1.ebuild
29 +++ /dev/null
30 @@ -1,93 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -PYTHON_COMPAT=( python3_{7..9} )
37 -
38 -inherit autotools python-single-r1
39 -
40 -DESCRIPTION="Ham radio backend rig control libraries"
41 -HOMEPAGE="https://www.hamlib.org"
42 -SRC_URI="https://www.github.com/${PN}/${PN}/releases/download/${PVR}/${P}.tar.gz"
43 -
44 -LICENSE="LGPL-2 GPL-2"
45 -SLOT="0"
46 -KEYWORDS="amd64 x86"
47 -IUSE="doc perl python tcl"
48 -
49 -RESTRICT="test"
50 -
51 -RDEPEND="
52 - =virtual/libusb-0*
53 - dev-libs/libxml2
54 - sys-libs/readline:0=
55 - perl? ( dev-lang/perl )
56 - python? ( ${PYTHON_DEPS} )
57 - tcl? ( dev-lang/tcl:0= )"
58 -
59 -DEPEND=" ${RDEPEND}
60 - virtual/pkgconfig
61 - dev-lang/swig
62 - >=sys-devel/libtool-2.2
63 - doc? ( app-doc/doxygen )"
64 -
65 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
66 -
67 -PATCHES=( "${FILESDIR}"/hamlib-3.3-format-security.patch )
68 -
69 -DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer TODO)
70 -
71 -pkg_setup() {
72 - use python && python-single-r1_pkg_setup
73 -}
74 -
75 -src_prepare() {
76 - # fix hardcoded libdir paths
77 - sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
78 - -e "s#fix}/include#fix}/include/hamlib#" \
79 - hamlib.pc.in || die "sed failed"
80 -
81 - # Correct install target to whatever INSTALLDIRS says and use vendor
82 - # installdirs everywhere (bug #611550)
83 - sed -i -e "s#install_site#install#" \
84 - -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" INSTALLDIRS=vendor#' \
85 - bindings/Makefile.am || die "sed failed patching for perl"
86 -
87 - # make building of documentation compatible with autotools-utils
88 - sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
89 -
90 - eautoreconf
91 -
92 - eapply "${PATCHES}"
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 doc && HTML_DOCS=( doc/html/ )
116 - einstalldocs
117 -
118 - insinto /usr/$(get_libdir)/pkgconfig
119 - doins hamlib.pc
120 -
121 - echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
122 - doenvd "${T}"/73hamlib
123 -}