Date: Wednesday, September 23, 2020 @ 22:16:31
Author: dvzrv
Revision: 711613
archrelease: copy trunk to community-staging-x86_64
Added:
libupnp1.12/repos/community-staging-x86_64/
libupnp1.12/repos/community-staging-x86_64/PKGBUILD
(from rev 711612, libupnp1.12/trunk/PKGBUILD)
libupnp1.12/repos/community-staging-x86_64/libupnp1.12-build.patch
(from rev 711612, libupnp1.12/trunk/libupnp1.12-build.patch)
-+
PKGBUILD| 50
libupnp1.12-build.patch | 261 ++
2 files changed, 311 insertions(+)
Copied: libupnp1.12/repos/community-staging-x86_64/PKGBUILD (from rev 711612,
libupnp1.12/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-09-23 22:16:31 UTC (rev 711613)
@@ -0,0 +1,50 @@
+# Maintainer: Levente Polyak
+# Contributor: Giovanni Scafora
+# Contributor: kastor
+
+_name=pupnp
+pkgname=libupnp1.12
+pkgver=1.12.1
+pkgrel=1
+pkgdesc='Portable Open Source UPnP Development Kit (legacy 1.12 branch)'
+url='http://pupnp.sourceforge.net/'
+arch=('x86_64')
+license=('BSD')
+depends=('glibc')
+makedepends=('pkgconfig')
+provides=('libupnp-1.12.so' 'libixml-1.12.so')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${_name}/${_name}/archive/release-${pkgver}.tar.gz;
+"${pkgname}-build.patch")
+sha512sums=('e4741f9245378529a15b8be7acec5af52d802ce84b82f110dab44c30da65fc2514d51d3bee6311643eb28146ea90bb3c97f44f800edb4f3c1681f3e70f80'
+
'd7efab75d68d6ac09648e8aff57723460efefd36872875c5c71fbe0af22a86eea8eb650783e2fc4a09230cad7aca06fd8a0b3bc573d6608fae9e6d136519621b')
+b2sums=('e44847dda5a7aeabb22a5b76cdc48d1dc69e70f7ecac85824199bf8d6e9b802cb717f2959f70690cc00babf1b554a0cb031995f80c28246b9eec670ebe7aaa90'
+
'bd0459fe11175cfe8626b8ff34394716f2d6925d95a45bf445cc6356cc5bdaedff4f8046660f04e91bf062d4684832f6d03ecb020d92b4209bfe8f8204bf4f59')
+
+prepare() {
+ mv -v ${_name}-release-${pkgver} ${pkgname}-${pkgver}
+ cd ${pkgname}-${pkgver}
+ # rename the shared libraries and include directories, so that they do not
+ # conflict with libupnp
+ patch -Np1 -i "../${pkgname}-build.patch"
+ autoreconf -fiv
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ make -k check
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -Dm 644 {ChangeLog,README.md} -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
Copied: libupnp1.12/repos/community-staging-x86_64/libupnp1.12-build.patch
(from rev 711612, libupnp1.12/trunk/libupnp1.12-build.patch)
===
--- community-staging-x86_64/libupnp1.12-build.patch
(rev 0)
+++ community-staging-x86_64/libupnp1.12-build.patch2020-09-23 22:16:31 UTC
(rev 711613)
@@ -0,0 +1,261 @@
+diff -ruN a/Makefile.am b/Makefile.am
+--- a/Makefile.am 2020-04-07 18:45:40.0 +0200
b/Makefile.am 2020-09-24 00:00:25.770875019 +0200
+@@ -14,7 +14,7 @@
+
+ EXTRA_DIST = \
+ docs/Doxyfile \
+- libupnp.pc.in \
++ libupnp-1-12.pc.in \
+ libupnp.spec \
+ build/msvc/inttypes.h \
+ build/msvc/stdint.h
+@@ -23,7 +23,7 @@
+ # This variable must have 'exec' in its name, in order to be installed
+ # by 'install-exec' target (instead of default 'install-data')
+ pkgconfigexecdir = $(libdir)/pkgconfig
+-pkgconfigexec_DATA = libupnp.pc
++pkgconfigexec_DATA = libupnp-1.12.pc
+
+ $(pkgconfigexec_DATA): config.status
+
+diff -ruN a/configure.ac b/configure.ac
+--- a/configure.ac 2020-04-07 18:45:40.0 +0200
b/configure.ac 2020-09-23 23:59:15.547619119 +0200
+@@ -798,7 +798,7 @@
+ upnp/doc/Makefile
+ upnp/sample/Makefile
+ upnp/unittest/Makefile
+- libupnp.pc
++ libupnp-1.12.pc
+ ])
+
+ AC_OUTPUT
+diff -ruN a/ixml/Makefile.am b/ixml/Makefile.am
+--- a/ixml/Makefile.am 2020-04-07 18:45:40.0 +0200
b/ixml/Makefile.am 2020-09-24 00:02:32.304077027 +0200
+@@ -11,7 +11,7 @@
+ -I$(top_srcdir)/upnp/inc
+ AM_CFLAGS =
+
+-LDADD = libixml.la
++LDADD = libixml-1.12.la
+
+ if ENABLE_DEBUG
+ AM_CPPFLAGS += -DDEBUG
+@@ -23,12 +23,12 @@
+ AM_CPPFLAGS += -DIXML_HAVE_SCRIPTSUPPORT
+ endif
+
+-lib_LTLIBRARIES = libixml.la
++lib_LTLIBRARIES = libixml-1.12.la
+
+-libixml_la_LDFLAGS= -version-info $(LT_VERSION_IXML) \
++libixml_1_12_la_LDFLAGS = -version-info $(LT_VERSION_IXML) \
+ -export-symbols-regex '^ixml.*'
+
+-libixml_la_SOURCES= \
++libixml_1_12_la_SOURCES