aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--castbridge.keywords1
-rw-r--r--media-sound/squeeze2cast/Manifest2
-rw-r--r--media-sound/squeeze2cast/squeeze2cast-9999.ebuild2
-rw-r--r--net-libs/libupnp-castbridge/Manifest5
-rw-r--r--net-libs/libupnp-castbridge/files/README.patches14
-rw-r--r--net-libs/libupnp-castbridge/libupnp-castbridge-1.6.19-r1.ebuild72
6 files changed, 94 insertions, 2 deletions
diff --git a/castbridge.keywords b/castbridge.keywords
index 1d04404..f14b684 100644
--- a/castbridge.keywords
+++ b/castbridge.keywords
@@ -1,5 +1,6 @@
=net-libs/libupnp-1.6.19 ~amd64
=net-libs/libupnp-castbridge-1.6.19 ~amd64
+=net-libs/libupnp-castbridge-1.6.19-r1 ~amd64
=dev-libs/nanopb-0.3.4 ~amd64
=media-sound/squeeze2cast-9999 ~amd64
diff --git a/media-sound/squeeze2cast/Manifest b/media-sound/squeeze2cast/Manifest
index 048c4db..51516d1 100644
--- a/media-sound/squeeze2cast/Manifest
+++ b/media-sound/squeeze2cast/Manifest
@@ -1,2 +1,2 @@
AUX Makefile.gentoo 1432 SHA256 ba70ed8b69769bc0eb15c712b9b0fd127f940c5005285c3cef1466b2c428b1a7 SHA512 635097b22c3c5c56b5e90f82844a174ad74aa83d76b1cc0727264ddbd9951e8959f968c7c2e32b024473e83ee742679418813052da834128db1248d0579433da WHIRLPOOL 961474dce8d5722c7664fbef2e74e0cb8ba945d6905fe1516af1c5af56ca01fe02ff3b676254bee35aa913d4f2c0b71fb0bc0817dd88fa08f657590331ea271e
-EBUILD squeeze2cast-9999.ebuild 850 SHA256 e66effb4fd1b071e822c1487251befe1bf261b160c5cd4aaf1ef46a11d631762 SHA512 aa0557ab99788a8f600d90c57301958be3fbb401bb5d10f7ad3e5298414489463ca148f7849687b8a2371a8adaa4c0c92686d806303930805725cde2f948d3c1 WHIRLPOOL e321e31f66d7e24d28cd6d7416b18555bb48395b8175698a736961cb8f9c0d38a14ff4cea594601b3edda5b8157e4d5911c5a9adf32b80b7206460e9db358a4c
+EBUILD squeeze2cast-9999.ebuild 850 SHA256 3a83aa44668a327227b31abc217308f9282d17e624479e512b565b6c2ec29729 SHA512 70c85c31e09617ad43dc879b5961872183850ab5223c163d9a9c0d8ea0d7782a9a311f3d5bfe5010f21703a99acce247061ea8735a14dcfdc16ca58605b98ab6 WHIRLPOOL f637d5c287b0bfac4f9c54b0bfb29b224559511509adf49cbcbca09b12f315b54408a0d561391eb3b8c7ded5cd28ede37b683761be09aa3badca001e2b5fc757
diff --git a/media-sound/squeeze2cast/squeeze2cast-9999.ebuild b/media-sound/squeeze2cast/squeeze2cast-9999.ebuild
index f584890..1dd2922 100644
--- a/media-sound/squeeze2cast/squeeze2cast-9999.ebuild
+++ b/media-sound/squeeze2cast/squeeze2cast-9999.ebuild
@@ -19,7 +19,7 @@ DEPEND="
dev-libs/jansson
dev-libs/nanopb
dev-libs/openssl
- =net-libs/libupnp-castbridge-1.6.19
+ ~net-libs/libupnp-castbridge-1.6.19
"
RDEPEND="${DEPEND}"
diff --git a/net-libs/libupnp-castbridge/Manifest b/net-libs/libupnp-castbridge/Manifest
index 622b998..e2bcb59 100644
--- a/net-libs/libupnp-castbridge/Manifest
+++ b/net-libs/libupnp-castbridge/Manifest
@@ -1,6 +1,11 @@
+AUX README.patches 391 SHA256 74b3700222d7bab375d566eb6d05228dce65185436c295c31ea8261a2756ff7c SHA512 a64d8e5b9523d1bafd8a7fefc0b298e8a2ab898457551f05ac57fc0f56167a507f2f907c14553622d0cb158d02244e1ed5ce217fb51bd7557e17fcee2396a01a WHIRLPOOL 0e5fbd5729337d85fda1c0e9749db146d349674da0b76dfb2d57ff3c06a2dc54823611865c16feee755b3c5c15a0a4bbf9f7267e2fcd2cc2d9d51f6b401a495f
AUX libupnp-castbridge-1.6.19-httpreadwrite.c.patch 4854 SHA256 7e4bfa5c9e95cf0dac21dbe15f5c5f37b4a8d43fc57ef63f004360d8733bd458 SHA512 224bbc093acc89f4e26be80d4b97162e061a228d9e78b0a4bd24bb0e39ae3648aae1430a3744ee031ac01d52a70e5e9a7b65f4bfe459cc05a01cf58c8f7704a0 WHIRLPOOL 3d35cd32290e1df8c44ef57bd52bfccc3d05d7744a0085436609cb995f851a9acedcaafc5f75d1ffae9bc867f166e31b3c0065af6b1f86bad6dcb1473fd63a0a
AUX libupnp-castbridge-1.6.19-suse.patch 3429 SHA256 1989c124c3a295d9e87dc521d887eb7b27eb94a1902cce7e416790c164efeb38 SHA512 e6975c4d25f43e9a8f96f9b549e8f543e296f5b4f31764502de8daa4c487121876d7cd4c6989e941b319c4e45cd162796f4a43e9f3b07d32064ef4f77d2f6df4 WHIRLPOOL bd50d8c371538e51913c6ef91dfb89c105c90471fc0c3c1f81d849214562601c92933adf2829c890b4dd41e84c8fe2c6aa688be305bc1be14aacfebf0cc4ec2b
AUX libupnp-castbridge-1.6.19-upnp.h.patch 2448 SHA256 94bb628e64b8f175b91ffe1c619f17e7478ebe5c74f88a1c3eeab36f1e72da9b SHA512 b9eaefbc833f3d73bfe839e3ed2c401e734576c4d8e4167e95939ec85da373b2fa7ab5cd6748d5edf275e5aa57a766af38fb292dfde2ce16c31ac92ef80d6edc WHIRLPOOL e74ed746bf14d5d36b8645bb70a038b5f7be4b8c0c00d778af79c6401faa3f9e29d89812961c0ef99b5c1705e5d1f13753cf270df2613e0ab60791a0c470d07f
AUX libupnp-castbridge-1.6.19-webserver.c.patch 12460 SHA256 db6cafab3a46d00a272ea238a28f339222a0bdfdd3e40b44eabe6d8a4d879210 SHA512 e6c8d9d2f8e038903eb0f43bb2d0a2ae652a8e5b859f508943035a880fb4873c3f764ecb1cff8bf3962af18a754a181815b965a12e66bab78c1bb9dc09c95a03 WHIRLPOOL ea4ced8e789d44f2460878c5a71a9201b6e885432df075e957aec8edb1fa94f3bfc89023cb77cc74580b0e10508f86359b620acce6e66ea46e13d91c852a4610
DIST libupnp-1.6.19.tar.bz2 1213439 SHA256 b3142b39601243b50532eec90f4a27dba85eb86f58d4b849ac94edeb29d9b22a SHA512 97af62a7483cc19cfe80157cbc3383c1b4b7c9c39b848f4ed063784b74df0b9b0527f7b467e01451e0a44dbf9e8a9eab510619146a6ee1e3dce46f3e4af6e661 WHIRLPOOL fe3ed0115c76872b45eb3f16909e23c61b004f028b745be17346b94dffd7c90108420cf71f50f73aa4ef241403b65b9d1c72926af3044ffacdae11f9649dad68
+DIST libupnp-castbridge-httpreadwrite.c 66284 SHA256 7347dfcd68b1e3ef3eed40d6b7cb9f8aefb94c869b155123c2d9d2dac0870b50 SHA512 c85d0c9399b3682b7304a581203e09532c11a6d9f6ef18dce378d5079517b1113ab4fa715244148d73ce884d872691b4b6a570949f022ed984a5741e651f9c9e WHIRLPOOL 75c50311cae1e07cfc84ed815a0c3bae349c8ef3ee85fdccced3134abc1321c72c6f408054e200936ea74af1fe385bb9002f1535e41fc2fc045f9440577bfd51
+DIST libupnp-castbridge-upnp.h 111627 SHA256 f80395d0e8b7eea06d74352dac78988ff15763d96e455eb738e706b66b54cda5 SHA512 0d691ff98df494e7740cb4af803510bae32a7ccea96aadbbb1f9a578be03220283ef1830c0cfcc52ba9a435853c83cb11b57634602c5969753efe6902ebee3a5 WHIRLPOOL fc788832acd83bb971f6acb69f80c36160d191075400c5be41d55a8c2c4edadc6dbeb78ca659064e0f2677849bc5e4c67df93d3f9ddb33bcf4937ca6facea92f
+DIST libupnp-castbridge-webserver.c 44809 SHA256 67cd77c1b86fb511974340ae1a0e825ceb7b43ae62a79fb761f25e949ac18b87 SHA512 bcfdfd34bed45e7a8812109f6a030d9b5d319067643c6f472e58d641dda6473e7ce1e2a4264e37d305160ca55886088bd41fafe037ee5e61cfb43c2fc9a502f6 WHIRLPOOL b0e68da9a7858084d00e1151a157c049a88181a6337975a955b2d929623846728325eb882a771fc917e73ff8fd77ce617eaf1bcf94a5c651a9ec56386c9ad993
+EBUILD libupnp-castbridge-1.6.19-r1.ebuild 1831 SHA256 ba3428d522e204aeea633d23736b055b49bb8cf3a6710ea92215f48b1a893d20 SHA512 3f277217d870021e98374bfc5ef1c34f76402acdbe727602db87dd408b1cb9d122164b05e3fe5b1974872155cec51b4b03a667b461d485d49be588843ae886e1 WHIRLPOOL ba78b921071483f5df1ed57af7d3be3e3f79c7e5829279bc954d94d24894295032e59fb923b8877ae7dd18b35bd13894756da1f434d9a0924e0af14fed0f4a2f
EBUILD libupnp-castbridge-1.6.19.ebuild 1504 SHA256 4a6cde310e46ca1d929760685c4c5a2b7e691559646288bfd0d1066e276ac0f1 SHA512 a9f30fb3fc99e6850ff9880a6fd125abba8a6d93eca57179d54ab3d113d17a313dee2cb205ce17755d8ef24fb38e98a1be607e2950b537eafdf0f320ddbad486 WHIRLPOOL e3f0b3f3a12ce229e081780309264e2dba15b99aa58981639880e255e280c34e37a3cfc60294e2ba98fd7feda7faf45af20fdb28b7bbee086188c56526707852
diff --git a/net-libs/libupnp-castbridge/files/README.patches b/net-libs/libupnp-castbridge/files/README.patches
new file mode 100644
index 0000000..7749b49
--- /dev/null
+++ b/net-libs/libupnp-castbridge/files/README.patches
@@ -0,0 +1,14 @@
+These patches originated from:
+
+ 1)
+ libupnp-castbridge-1.6.19-httpreadwrite.c.patch
+ libupnp-castbridge-1.6.19-upnp.h.patch
+ libupnp-castbridge-1.6.19-webserver.c.patch
+
+ These patches were made using the files in this repo directory:
+
+ https://github.com/philippe44/LMS-to-Cast/tree/master/application/libupnp.patch
+ 2)
+ libupnp-castbridge-1.6.19-suse.patch
+
+ This patch was copied from portage.
diff --git a/net-libs/libupnp-castbridge/libupnp-castbridge-1.6.19-r1.ebuild b/net-libs/libupnp-castbridge/libupnp-castbridge-1.6.19-r1.ebuild
new file mode 100644
index 0000000..344d938
--- /dev/null
+++ b/net-libs/libupnp-castbridge/libupnp-castbridge-1.6.19-r1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils flag-o-matic autotools
+
+DESCRIPTION="UPnP Dev Kit with patches for castbridge"
+HOMEPAGE="http://pupnp.sourceforge.net/"
+
+patchurl="https://raw.githubusercontent.com/philippe44/LMS-to-Cast/master/application/libupnp.patch"
+
+SRC_URI="
+ mirror://sourceforge/pupnp/libupnp-${PV}.tar.bz2
+ ${patchurl}/httpreadwrite.c -> ${PN}-httpreadwrite.c
+ ${patchurl}/upnp.h -> ${PN}-upnp.h
+ ${patchurl}/webserver.c -> ${PN}-webserver.c
+"
+RESTRICT="mirror"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
+IUSE="debug doc ipv6 static-libs"
+
+RDEPEND="
+"
+DEPEND="${RDEPEND}
+ !net-libs/libupnp
+"
+
+DOCS="NEWS README ChangeLog"
+
+S="${WORKDIR}/libupnp-${PV}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-suse.patch
+ cp -p ${DISTDIR}/${PN}-httpreadwrite.c upnp/src/genlib/net/http/httpreadwrite.c
+ cp -p ${DISTDIR}/${PN}-upnp.h upnp/inc/upnp.h
+ cp -p ${DISTDIR}/${PN}-webserver.c upnp/src/genlib/net/http/webserver.c
+
+ # 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 ipv6) \
+ $(use_enable static-libs static) \
+ $(use_with doc documentation "${EPREFIX}/usr/share/doc/${PF}")
+}
+
+src_install () {
+ default
+ dobin upnp/sample/.libs/tv_{combo,ctrlpt,device}
+ use static-libs || prune_libtool_files
+}
+
+pkg_postinst() {
+ ewarn "Please remember to run revdep-rebuild when upgrading"
+ ewarn "from libupnp 1.4.x to libupnp 1.6.x , so packages"
+ ewarn "gets linked with the new library."
+ echo ""
+ ewarn "The revdep-rebuild script is part of the"
+ ewarn "app-portage/gentoolkit package."
+}