diff options
Diffstat (limited to 'net-libs/gupnp-igd')
-rw-r--r-- | net-libs/gupnp-igd/Manifest | 11 | ||||
-rw-r--r-- | net-libs/gupnp-igd/files/gupnp-igd-0.1.11-disable_static_modules.patch | 10 | ||||
-rw-r--r-- | net-libs/gupnp-igd/files/gupnp-igd-0.2.2-underlinking.patch | 16 | ||||
-rw-r--r-- | net-libs/gupnp-igd/gupnp-igd-0.2.2-r1.ebuild | 94 | ||||
-rw-r--r-- | net-libs/gupnp-igd/gupnp-igd-0.2.3-r1.ebuild | 106 | ||||
-rw-r--r-- | net-libs/gupnp-igd/gupnp-igd-0.2.4.ebuild | 108 | ||||
-rw-r--r-- | net-libs/gupnp-igd/metadata.xml | 8 |
7 files changed, 353 insertions, 0 deletions
diff --git a/net-libs/gupnp-igd/Manifest b/net-libs/gupnp-igd/Manifest new file mode 100644 index 000000000000..65a6d8c7ccfc --- /dev/null +++ b/net-libs/gupnp-igd/Manifest @@ -0,0 +1,11 @@ +AUX gupnp-igd-0.1.11-disable_static_modules.patch 250 SHA256 c7a2802e832c27000765f7988025e3c8fe24953224958523e6f3cc739c4d05bd SHA512 93e656357e1191972f14cf0e23a1a6eb5929af022e431e1c37f0f1196b6fbed874bcb27f1b787b634308bdcfbf9c7c5375df83385669ab6989c6eb2e0f891d86 WHIRLPOOL 2afd47cea0d7e62821d59ac3780cc8864585d1e246709948971b071f66ddd0afdb73d5044c6649018ecf5b7b5a765f45aca5ccc4bf4dcefc51a0254bf48eee72 +AUX gupnp-igd-0.2.2-underlinking.patch 502 SHA256 4effb10a35e213758303d47d2490d4879332cfa06e5230243e212f0b70fae740 SHA512 89db92780320e6d2144b358d553c8aac1d68afa2b5a254c701079e8efe7b73be84e5f3214ce96292bab8febfc9a792d9586a445f0a3b20d7a77d3482790264d8 WHIRLPOOL c23ce2cb2557a61e0e5854656041e766eaea60f08d9727df4279da4e8c5633ecce6afd6428508fc8a89e974efead5840e5aca337eaefd162775e50d60b2de99b +DIST gupnp-igd-0.2.2.tar.xz 262216 SHA256 73b6a98a0f13b29b34c3bfc07f99f78b1319211cb95a8585752873af2b9067d3 SHA512 5e876b5e759f483b270d85f2125ede5db304b3664f22a6b4e68943ba5dbc6fe597e59ef44f23e284d15ee00809c28fc6194b44faa345cc6aec62927958a53583 WHIRLPOOL 71d33882f94fdab4b517df1abcf5e8bb1944a7dcde150cd69954fd32ca2b208a95d2324f9d4215be7fd1016d72eb376c3332f2e84216afe0d8d25a18be4d7fbc +DIST gupnp-igd-0.2.3.tar.xz 269920 SHA256 ccaf49f9d4f38ac646f1b00341d4db767291e56592286da0e0eb0835811f462d SHA512 74b4a6e34fe89b7fa92125664bb09354601fe0b476b909fc6c233027ec58914619c88e5bd951a675d7ccfc33d01b0fdddb21eb915d38c7ff824364dc62c319ac WHIRLPOOL badd5a9a5f6e73a6b9db41e5604fa7e3bd911026bd317b61e782750422a7ea1065bd0287c9925fdbf5f74ee1483efdaf66a30b7977f5a480f264419494177eb0 +DIST gupnp-igd-0.2.4.tar.xz 272004 SHA256 38c4a6d7718d17eac17df95a3a8c337677eda77e58978129ad3182d769c38e44 SHA512 4da8d401935c4237661310aec0acb38e9c9fe54aeb6b2ef1c9533a8576dbd2d9f9db3b50c4e86b7efc81c80059a10ea52f73517dab23f3cdc0f91a5c0944dab8 WHIRLPOOL c1536fa137dd2e7101f68b047fc1cdf9459ee6d822da964e12b3d995ee18d9f8c07b26c1eeb394dc6de91b9d54e18ff3e35155492ca43223d51d3b27e7fb4a55 +EBUILD gupnp-igd-0.2.2-r1.ebuild 1961 SHA256 108453a3095f77ba533d200ae3fe28ba21ea194586e8948178dcf1e8a478685a SHA512 a7baf58308432c73e332cbae8783d49ca45b91d64777aab3512e740c7eb7e0e0b92821e81817f6a361a3533a85f2f56566f4ec7352f84b9df02ed5883c356dab WHIRLPOOL d706dabde8a7d267e6c5cfe594a17d1c0bfd286a80823ceea569806d39c53c550332385c3efe152fab5fabe258c7f405fea3668b482c40d924d5b4b4bb9ff685 +EBUILD gupnp-igd-0.2.3-r1.ebuild 2308 SHA256 371054036ac4601a2bff1e34c60dfd67d17857ca3a73c1cf414bc671480050ee SHA512 dc7fba2565e178a4c75642ed8ac1af48022b7ea17ee40cb6af1887fae8fce447537a06c279c9ce0d247aa6dc76d9a17af50002f58b54124e4fe3ae79238bc6eb WHIRLPOOL 8b97a2854bdcef2e0fbd98aeb0d800e9611b3ad172c59531fb14533bdf5904a7840e20d76dbfd9eddbff01674170a53e9be9879d133c20abe5c9cfc5903b4bc5 +EBUILD gupnp-igd-0.2.4.ebuild 2338 SHA256 069d0f84517f1fed5d5511ed2ce40aeb2d239ce24505d0adeb789e80e067d1c2 SHA512 3a251b986fcbbe0bafd702a62e86cebdba7fd70743a8760541569cf7582d4cf7363d425ec297e6e38ff6de7d0a8c5cdc07aad43e94c2670a66745c8facbd69ee WHIRLPOOL 150615a1ea0224b342a60aff28e07097e1e253943984ef95239e2630856b14c5b9c1306c0c0b6f2935d4b43e6c2daabe25fe0bd083e6878c2d4913811539124b +MISC ChangeLog 3349 SHA256 8d657b74ab832b55a1e91a1fbd34da9f37f7150737e0532be9d647fdc0b1a7fe SHA512 6f93f3f52d50a1aad5f690d162c299c3843e20308b4729a1a05135be2137beaac59044f10099e0461c7cf1de978da4ea506b322e8a58ca673f18cc6fe82c0f2c WHIRLPOOL 5116bbf47972cbdc24f6b79853d2636dba19c2a218f079d07f9a2444e56d4a4108d566c8bfb790583fd836c9d5f0a2efd449afec4280643ca5b7e6e5d3a82941 +MISC ChangeLog-2015 9262 SHA256 ee0f072f1caa92614b8b6726256d6f9138cacedf05c8887cd8544b3e198e04a7 SHA512 870dfece4cc212da3d5755280591eb78740b6bf7810449d4e9af839c145da72aaf75cafb884fe11569f0dbb874b56932617cf85bf45fef6848daa1a5327dfae2 WHIRLPOOL 32522d7f9b718a0fa112d1446f8422aa47827e8d60b9234d6d2192b4e7eec7ffa67364dad8672b71f8a168f907162eee3185ecbd0f4057faf62a78a36eeb59f2 +MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92 diff --git a/net-libs/gupnp-igd/files/gupnp-igd-0.1.11-disable_static_modules.patch b/net-libs/gupnp-igd/files/gupnp-igd-0.1.11-disable_static_modules.patch new file mode 100644 index 000000000000..ccd4b8da2fea --- /dev/null +++ b/net-libs/gupnp-igd/files/gupnp-igd-0.1.11-disable_static_modules.patch @@ -0,0 +1,10 @@ +--- a/python/Makefile.am ++++ b/python/Makefile.am +@@ -27,7 +28,7 @@ + + igd_la_LDFLAGS = \ +- -module -avoid-version ++ -module -avoid-version -shared + + pygupnp-igd.c: $(srcdir)/pygupnp-igd.override $(srcdir)/pygupnp-igd.defs + $(PYCODEGEN) \ diff --git a/net-libs/gupnp-igd/files/gupnp-igd-0.2.2-underlinking.patch b/net-libs/gupnp-igd/files/gupnp-igd-0.2.2-underlinking.patch new file mode 100644 index 000000000000..0e1dfb48a388 --- /dev/null +++ b/net-libs/gupnp-igd/files/gupnp-igd-0.2.2-underlinking.patch @@ -0,0 +1,16 @@ + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index c4f7d47..f13b398 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -10,7 +10,7 @@ AC_STDC_HEADERS + AC_PROG_LIBTOOL + AC_FUNC_MMAP + +-PKG_CHECK_MODULES(LIBGUPNP, gobject-2.0 >= 2.14 gupnp-1.0 >= 0.18 gthread-2.0) ++PKG_CHECK_MODULES(LIBGUPNP, gobject-2.0 >= 2.14 gupnp-1.0 >= 0.18 gthread-2.0 gssdp-1.0) + + # glib-genmarshal + GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0` diff --git a/net-libs/gupnp-igd/gupnp-igd-0.2.2-r1.ebuild b/net-libs/gupnp-igd/gupnp-igd-0.2.2-r1.ebuild new file mode 100644 index 000000000000..f1c343c3cbfb --- /dev/null +++ b/net-libs/gupnp-igd/gupnp-igd-0.2.2-r1.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +AUTOTOOLS_AUTORECONF=true + +inherit autotools-utils gnome.org python-r1 + +DESCRIPTION="Library to handle UPnP IGD port mapping for GUPnP" +HOMEPAGE="http://gupnp.org" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc x86" +IUSE="+introspection python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + net-libs/gssdp + >=net-libs/gupnp-0.18 + >=dev-libs/glib-2.16:2 + introspection? ( >=dev-libs/gobject-introspection-0.10 ) + python? ( + ${PYTHON_DEPS} + >=dev-libs/gobject-introspection-0.10 + >=dev-python/pygobject-2.16:2[${PYTHON_USEDEP}] + )" +DEPEND="${RDEPEND} + dev-util/gtk-doc-am + sys-devel/gettext + virtual/pkgconfig +" + +# The only existing test is broken +RESTRICT="test" + +PATCHES=( + "${FILESDIR}"/${P}-underlinking.patch + "${FILESDIR}"/${PN}-0.1.11-disable_static_modules.patch + ) + +src_prepare() { + rm missing || die + sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die + + # Python bindings are built/installed manually. + if use python; then + sed -e "/PYTHON_SUBDIR =/s/ python//" -i Makefile.am Makefile.in || die + fi + autotools-utils_src_prepare +} + +src_configure() { + local myeconfargs=( + --disable-static + --disable-gtk-doc + $(use_enable introspection) + $(use_enable python) + ) + autotools-utils_src_configure +} + +src_compile() { + autotools-utils_src_compile + + if use python; then + python_copy_sources + + building() { + cd "${BUILD_DIR}"/python || die + emake \ + PYTHON_INCLUDES="-I$(python_get_includedir)" \ + pyexecdir="$(python_get_sitedir)" + } + python_foreach_impl building + fi +} + +src_install() { + autotools-utils_src_install + + if use python; then + installation() { + cd "${BUILD_DIR}"/python || die + emake \ + DESTDIR="${D}" \ + pyexecdir="$(python_get_sitedir)" \ + install + } + python_foreach_impl installation + fi +} diff --git a/net-libs/gupnp-igd/gupnp-igd-0.2.3-r1.ebuild b/net-libs/gupnp-igd/gupnp-igd-0.2.3-r1.ebuild new file mode 100644 index 000000000000..2286f628e1be --- /dev/null +++ b/net-libs/gupnp-igd/gupnp-igd-0.2.3-r1.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +AUTOTOOLS_AUTORECONF=true + +inherit eutils gnome.org multilib-minimal python-r1 + +DESCRIPTION="Library to handle UPnP IGD port mapping for GUPnP" +HOMEPAGE="http://gupnp.org" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="+introspection python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] + >=net-libs/gssdp-0.14.7[${MULTILIB_USEDEP}] + >=net-libs/gupnp-0.20.10[${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-0.10 ) + python? ( + ${PYTHON_DEPS} + >=dev-libs/gobject-introspection-0.10 + >=dev-python/pygobject-2.16:2[${PYTHON_USEDEP}] + )" +DEPEND="${RDEPEND} + dev-util/gtk-doc-am + sys-devel/gettext + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] +" + +# The only existing test is broken +RESTRICT="test" + +PATCHES=( + "${FILESDIR}"/${PN}-0.1.11-disable_static_modules.patch +) + +multilib_src_configure() { + local myconf=( + --disable-static + --disable-gtk-doc + $(multilib_native_use_enable introspection) + # python is built separately + --disable-python + ) + + ECONF_SOURCE=${S} \ + econf "${myconf[@]}" + + if multilib_is_native_abi; then + ln -s "${S}"/doc/html doc/html || die + + python_configure() { + mkdir -p "${BUILD_DIR}" || die + cd "${BUILD_DIR}" || die + + ECONF_SOURCE=${S} \ + econf "${myconf[@]}" \ + --enable-python + } + + use python && python_foreach_impl python_configure + fi +} + +multilib_src_compile() { + default + + if multilib_is_native_abi && use python; then + local native_builddir=${BUILD_DIR} + + python_compile() { + emake -C "${BUILD_DIR}"/python \ + VPATH="${S}/python:${native_builddir}/python" \ + igd_la_LIBADD="\$(PYGUPNP_IGD_LIBS) ${native_builddir}/libgupnp-igd/libgupnp-igd-1.0.la" + } + + python_foreach_impl python_compile + fi +} + +multilib_src_install() { + default + + if multilib_is_native_abi && use python; then + local native_builddir=${BUILD_DIR} + + python_install() { + emake -C "${BUILD_DIR}"/python \ + VPATH="${S}/python:${native_builddir}/python" \ + DESTDIR="${D}" install + } + + python_foreach_impl python_install + fi +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} diff --git a/net-libs/gupnp-igd/gupnp-igd-0.2.4.ebuild b/net-libs/gupnp-igd/gupnp-igd-0.2.4.ebuild new file mode 100644 index 000000000000..7bbcda8a9220 --- /dev/null +++ b/net-libs/gupnp-igd/gupnp-igd-0.2.4.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +AUTOTOOLS_AUTORECONF=true + +inherit eutils gnome.org python-r1 multilib-minimal xdg-utils + +DESCRIPTION="Library to handle UPnP IGD port mapping for GUPnP" +HOMEPAGE="http://gupnp.org" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ppc64 ~sparc x86" +IUSE="+introspection python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] + >=net-libs/gssdp-0.14.7[${MULTILIB_USEDEP}] + >=net-libs/gupnp-0.20.10[${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-0.10 ) + python? ( + ${PYTHON_DEPS} + >=dev-libs/gobject-introspection-0.10 + >=dev-python/pygobject-2.16:2[${PYTHON_USEDEP}] + )" +DEPEND="${RDEPEND} + dev-util/gtk-doc-am + sys-devel/gettext + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] +" + +# The only existing test is broken +RESTRICT="test" + +PATCHES=( + "${FILESDIR}"/${PN}-0.1.11-disable_static_modules.patch +) + +multilib_src_configure() { + xdg_environment_reset + + local myconf=( + --disable-static + --disable-gtk-doc + $(multilib_native_use_enable introspection) + # python is built separately + --disable-python + ) + + ECONF_SOURCE=${S} \ + econf "${myconf[@]}" + + if multilib_is_native_abi; then + ln -s "${S}"/doc/html doc/html || die + + python_configure() { + mkdir -p "${BUILD_DIR}" || die + cd "${BUILD_DIR}" || die + + ECONF_SOURCE=${S} \ + econf "${myconf[@]}" \ + --enable-python + } + + use python && python_foreach_impl python_configure + fi +} + +multilib_src_compile() { + default + + if multilib_is_native_abi && use python; then + local native_builddir=${BUILD_DIR} + + python_compile() { + emake -C "${BUILD_DIR}"/python \ + VPATH="${S}/python:${native_builddir}/python" \ + igd_la_LIBADD="\$(PYGUPNP_IGD_LIBS) ${native_builddir}/libgupnp-igd/libgupnp-igd-1.0.la" + } + + python_foreach_impl python_compile + fi +} + +multilib_src_install() { + default + + if multilib_is_native_abi && use python; then + local native_builddir=${BUILD_DIR} + + python_install() { + emake -C "${BUILD_DIR}"/python \ + VPATH="${S}/python:${native_builddir}/python" \ + DESTDIR="${D}" install + } + + python_foreach_impl python_install + fi +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} diff --git a/net-libs/gupnp-igd/metadata.xml b/net-libs/gupnp-igd/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/net-libs/gupnp-igd/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> +</maintainer> +</pkgmetadata> |