summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Whyman <thev00d00@gentoo.org>2020-01-30 22:07:31 +0000
committerIan Whyman <thev00d00@gentoo.org>2020-01-30 22:08:29 +0000
commit2c71f3501ba59325b5efe8751e1a18a9e279e3a3 (patch)
treecfcd172037e0d208aab0219d8426f40ef3b63260
parentsys-apps/bolt: fix building with gcc-10 (diff)
downloadgentoo-2c71f3501ba59325b5efe8751e1a18a9e279e3a3.tar.gz
gentoo-2c71f3501ba59325b5efe8751e1a18a9e279e3a3.tar.bz2
gentoo-2c71f3501ba59325b5efe8751e1a18a9e279e3a3.zip
net-libs/libupnp: Drop 1.8 slot
Closes: https://bugs.gentoo.org/691866 Package-Manager: Portage-2.3.86, Repoman-2.3.20 Signed-off-by: Ian Whyman <thev00d00@gentoo.org>
-rw-r--r--net-libs/libupnp/Manifest1
-rw-r--r--net-libs/libupnp/libupnp-1.8.6-r1.ebuild (renamed from net-libs/libupnp/libupnp-1.8.4.ebuild)29
-rw-r--r--net-libs/libupnp/libupnp-1.8.6.ebuild70
3 files changed, 3 insertions, 97 deletions
diff --git a/net-libs/libupnp/Manifest b/net-libs/libupnp/Manifest
index f453389e42ad..eb00c2c047c0 100644
--- a/net-libs/libupnp/Manifest
+++ b/net-libs/libupnp/Manifest
@@ -1,5 +1,4 @@
DIST libupnp-1.12.0.tar.gz 786378 BLAKE2B b1b264c8b254cab79c423fd3efa0911b86aa5ce7ccac35ff61dd5d7fefa9a71d7ce2a513f208b83d66a571483ce8fc179978009908e66b8fc3ff2a1df3d8f26e SHA512 998ef22d2af8e4cbc7fa1f87613ae0aa840e636bb72a5656a97327b0820a46b2b3ed2f3200260c018b5339de2fc4be760d42a3c687e49c7fedb58c1ad2287699
DIST libupnp-1.6.21.tar.bz2 1245353 BLAKE2B ca9ff07f88cfc77c3e3f7250ec1de6fb8c1ad3a918f556a7d37a6e994b67d825608edd3fd788a5b5979de72e3b25288225af3b5b8c58f54395682eef50bfc2d2 SHA512 65a2989497b941dfa1f7ac09fe44267de4a5231af25a304f0f6e754c7cbb578bdcb3c500188b5ebfbff9f579099db7501817d45e1724ef8e384d6d918bcdcdeb
DIST libupnp-1.6.25.tar.bz2 722731 BLAKE2B 7f1850a235683ecd19bc377cd5c80c9d7ee8f0ded123dfc00d29551d2fd97fb873ce4c30ce0d26d562c57470c266a573c37fed4c0db159c65c56c673271adf92 SHA512 c1426c2f855f34a56b96761602a35989867918b556ecf9784c9ce9580f6c6083950004909831bad331f3a4dfb70ef1bd287e026c71bbfde2613f77fe05ab9e1f
-DIST libupnp-1.8.4.tar.gz 783896 BLAKE2B 483ae5344b0677441a02d4666476090e00d0f7b7798e24a7dbe7ea10cd68f02644851ba17cff06033714dc9f2ddf7d9c5588e5a54693f14ad1a9782a7751480d SHA512 6d96dc0dcf187a425f3b60f4e750102331bd0a5bd452007e345eeacb63e9287ac213574c8071294809283ff8d8795433706ed2a14bae3d451605bf7a75e5a5bb
DIST libupnp-1.8.6.tar.gz 784912 BLAKE2B 8b2ac2dbe6b2bae64677d4e47142f42ad6b3c5af61e03faa628a2859afe62a2cb7a16cbfcfa9a0a307db8210f3786e916d3ac12eba3deee68c3c944c98801bb2 SHA512 8224460fcd808ed44e46c1c5dfc9236521b34fd140469d6549f42468b3acce83f46cb20cde41de574f55a865067a5f30ebbda68b500784c19cef354265f5acb7
diff --git a/net-libs/libupnp/libupnp-1.8.4.ebuild b/net-libs/libupnp/libupnp-1.8.6-r1.ebuild
index a1fc1c7d0280..14fc805526fb 100644
--- a/net-libs/libupnp/libupnp-1.8.4.ebuild
+++ b/net-libs/libupnp/libupnp-1.8.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -10,8 +10,8 @@ HOMEPAGE="http://pupnp.sourceforge.net/"
SRC_URI="https://github.com/mrjimenez/pupnp/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
-SLOT="1.8"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux"
IUSE="blocking-tcp debug doc ipv6 +reuseaddr samples static-libs"
DOCS="ChangeLog"
@@ -44,27 +44,4 @@ src_install () {
default
use static-libs || prune_libtool_files
-
- # Slot samples
- if $(use samples); then
- for bin in combo ctrlpt device ; do
- newbin "upnp/sample/.libs/tv_$bin" "tv_$bin-${SLOT}"
- done
- fi
-
- # Slot includes
- cd "${D}/usr/include" || die
- mv upnp "upnp-${SLOT}" || die
-
- # Slot pkgconfig
- cd "${D}/usr/$(get_libdir)/pkgconfig" || die
- mv libupnp.pc "libupnp-${SLOT}.pc" || die
- sed -i -e "s#/upnp#/upnp-${SLOT}#" \
- -e "s#lupnp#lupnp-${SLOT}#" \
- -e "s#lixml#lixml-${SLOT}#" "libupnp-${SLOT}.pc" || die
-
- # Slot symlinks
- cd "${D}/usr/$(get_libdir)" || die
- mv libupnp.so "libupnp-${SLOT}.so" || die
- mv libixml.so "libixml-${SLOT}.so" || die
}
diff --git a/net-libs/libupnp/libupnp-1.8.6.ebuild b/net-libs/libupnp/libupnp-1.8.6.ebuild
deleted file mode 100644
index 2d629febf65e..000000000000
--- a/net-libs/libupnp/libupnp-1.8.6.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils flag-o-matic autotools vcs-snapshot
-
-DESCRIPTION="An Portable Open Source UPnP Development Kit"
-HOMEPAGE="http://pupnp.sourceforge.net/"
-SRC_URI="https://github.com/mrjimenez/pupnp/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="1.8"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
-IUSE="blocking-tcp debug doc ipv6 +reuseaddr samples static-libs"
-
-DOCS="ChangeLog"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.6.21-cflags.patch
-)
-
-src_prepare() {
- default
-
- # fix tests
- chmod +x ixml/test/test_document.sh || die
-
- eautoreconf
-}
-
-src_configure() {
- use x86-fbsd && append-flags -O1
- # w/o docdir to avoid sandbox violations
- econf $(use_enable debug) \
- $(use_enable blocking-tcp blocking-tcp-connections) \
- $(use_enable ipv6) \
- $(use_enable reuseaddr) \
- $(use_enable static-libs static) \
- $(use_enable samples)
-}
-
-src_install () {
- default
-
- use static-libs || prune_libtool_files
-
- # Slot samples
- if $(use samples); then
- for bin in combo ctrlpt device ; do
- newbin "upnp/sample/.libs/tv_$bin" "tv_$bin-${SLOT}"
- done
- fi
-
- # Slot includes
- cd "${D}/usr/include" || die
- mv upnp "upnp-${SLOT}" || die
-
- # Slot pkgconfig
- cd "${D}/usr/$(get_libdir)/pkgconfig" || die
- mv libupnp.pc "libupnp-${SLOT}.pc" || die
- sed -i -e "s#/upnp#/upnp-${SLOT}#" \
- -e "s#lupnp#lupnp-${SLOT}#" \
- -e "s#lixml#lixml-${SLOT}#" "libupnp-${SLOT}.pc" || die
-
- # Slot symlinks
- cd "${D}/usr/$(get_libdir)" || die
- mv libupnp.so "libupnp-${SLOT}.so" || die
- mv libixml.so "libixml-${SLOT}.so" || die
-}