From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2266B138334 for ; Thu, 25 Oct 2018 18:21:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 06CA7E089D; Thu, 25 Oct 2018 18:21:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BA4D2E089D for ; Thu, 25 Oct 2018 18:21:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B7FF5335C5A for ; Thu, 25 Oct 2018 18:21:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5924A443 for ; Thu, 25 Oct 2018 18:21:01 +0000 (UTC) From: "Ian Whyman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ian Whyman" Message-ID: <1540491639.0ac0619b75f7f247396ce7db3964ebdbc30386ef.thev00d00@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libupnp/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libupnp/Manifest net-libs/libupnp/libupnp-1.8.4.ebuild X-VCS-Directories: net-libs/libupnp/ X-VCS-Committer: thev00d00 X-VCS-Committer-Name: Ian Whyman X-VCS-Revision: 0ac0619b75f7f247396ce7db3964ebdbc30386ef X-VCS-Branch: master Date: Thu, 25 Oct 2018 18:21:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9da92df2-94a0-4a0f-b49f-ada184420515 X-Archives-Hash: 2f5edd513ecabfda87f9c542aa8de358 commit: 0ac0619b75f7f247396ce7db3964ebdbc30386ef Author: Ian Whyman gentoo org> AuthorDate: Thu Oct 25 18:20:16 2018 +0000 Commit: Ian Whyman gentoo org> CommitDate: Thu Oct 25 18:20:39 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ac0619b net-libs/libupnp: 1.8.4 bump Signed-off-by: Ian Whyman gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 net-libs/libupnp/Manifest | 1 + net-libs/libupnp/libupnp-1.8.4.ebuild | 70 +++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/net-libs/libupnp/Manifest b/net-libs/libupnp/Manifest index 0c688693ca6..ccbe5c129a3 100644 --- a/net-libs/libupnp/Manifest +++ b/net-libs/libupnp/Manifest @@ -2,3 +2,4 @@ DIST libupnp-1.6.21.tar.bz2 1245353 BLAKE2B ca9ff07f88cfc77c3e3f7250ec1de6fb8c1a DIST libupnp-1.6.25.tar.bz2 722731 BLAKE2B 7f1850a235683ecd19bc377cd5c80c9d7ee8f0ded123dfc00d29551d2fd97fb873ce4c30ce0d26d562c57470c266a573c37fed4c0db159c65c56c673271adf92 SHA512 c1426c2f855f34a56b96761602a35989867918b556ecf9784c9ce9580f6c6083950004909831bad331f3a4dfb70ef1bd287e026c71bbfde2613f77fe05ab9e1f DIST libupnp-1.8.2.tar.gz 1379953 BLAKE2B 472851bfd25530ead4c113657f0e30cf7a3a1a4c88b86864676a2b7096817c1780718710a9535068904901c21d70d92fb267f295e88531e3eeef7d9a0cee58f3 SHA512 026f2568a1ffa56a3a0ebc823b126dceabb7e821acb6db52fbca02c4c02febd5508cb644cd2ac51f65397c3248a22340b3673069951e97dcdd22d4cc321d4511 DIST libupnp-1.8.3.tar.gz 1382278 BLAKE2B 65774d46633d81fcc810f01339e0eac5d7c7313f69c1a467e6c0bbb26eeee03fdb4d8330f46e86346737cc17c1c953ef26045526bc9fe438f7e917928a3a3d0e SHA512 592a719614492ee1dad3630e5de2dca1dbe369faa3c87ba20fb939334c9d24f9dc869a457f5903cd28c5f7662145d1db4eeb512ee93b47adad4fc9b7d9171507 +DIST libupnp-1.8.4.tar.gz 783896 BLAKE2B 483ae5344b0677441a02d4666476090e00d0f7b7798e24a7dbe7ea10cd68f02644851ba17cff06033714dc9f2ddf7d9c5588e5a54693f14ad1a9782a7751480d SHA512 6d96dc0dcf187a425f3b60f4e750102331bd0a5bd452007e345eeacb63e9287ac213574c8071294809283ff8d8795433706ed2a14bae3d451605bf7a75e5a5bb diff --git a/net-libs/libupnp/libupnp-1.8.4.ebuild b/net-libs/libupnp/libupnp-1.8.4.ebuild new file mode 100644 index 00000000000..a1fc1c7d028 --- /dev/null +++ b/net-libs/libupnp/libupnp-1.8.4.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2018 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 +}