Date: Wednesday, August 3, 2022 @ 16:41:47 Author: dvzrv Revision: 452017
archrelease: copy trunk to extra-x86_64 Added: libupnp/repos/extra-x86_64/PKGBUILD (from rev 452016, libupnp/trunk/PKGBUILD) Deleted: libupnp/repos/extra-x86_64/PKGBUILD libupnp/repos/extra-x86_64/libupnp-1.14.12-optional_static.patch ---------------------------------------+ PKGBUILD | 98 +++++++--------- libupnp-1.14.12-optional_static.patch | 187 -------------------------------- 2 files changed, 44 insertions(+), 241 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-08-03 16:41:21 UTC (rev 452016) +++ PKGBUILD 2022-08-03 16:41:47 UTC (rev 452017) @@ -1,54 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Maintainer: David Runge <dv...@archlinux.org> -# Contributor: Giovanni Scafora <giova...@archlinux.org> -# Contributor: kastor <kas...@fobos.org.ar> - -_name=pupnp -pkgname=libupnp -pkgver=1.14.12 -pkgrel=3 -pkgdesc='Portable Open Source UPnP Development Kit' -arch=(x86_64) -url="https://pupnp.sourceforge.io/" -license=(BSD) -depends=(glibc) -makedepends=(cmake) -provides=(libixml.so libupnp.so) -options=(debug) -source=( - $pkgname-$pkgver.tar.gz::https://github.com/$_name/$_name/archive/release-$pkgver.tar.gz - $pkgname-1.14.12-optional_static.patch -) -sha512sums=('aab17aa12f15d110bfab20cbcbae5f54926b6ca7a30bce10b9287cd39919a06a5e9f1493405e1d561c0d58ba46926f87009df891e4e4f37097df1c3c67635ca9' - '7bae244c522f35261fdc07f0036a56eb319d6bff5a88d690e7563369184f7f39c30330e0d88967a84db8c22a1e9d1335dbc66d8758855fd8f9981c4f9ca28ddc') -b2sums=('721c10f9fa4ffc60743b4ebf8be566ea595931cb1f2a2448d8e3cecfc787abfb855cb16256eaaa10ce6a901cd5e5b3d14672610841b2a718d5dd003ccfd3c2f0' - 'ef0d9e17d45fe378ef9f7b07c1b679ee4dbe6d9f1aee540123d08c709b092a4824218a863e0a3077e728c17131ae6d817295e44b4fc0cbbc75d372e62c7319f3') - -prepare() { - # Make static libraries optional, partial backport of https://github.com/pupnp/pupnp/commit/a0622cb0199be1b5f86317fb3c9b4de59d3ac893 - patch -d $_name-release-$pkgver -p1 -i ../$pkgname-1.14.12-optional_static.patch -} - -build() { - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=None \ - -DUPNP_BUILD_STATIC=OFF \ - -Dblocking_tcp_connections=OFF \ - -Dreuseaddr=ON \ - -Wno-dev \ - -B build \ - -S $_name-release-$pkgver - make VERBOSE=1 -C build -} - -check() { - make VERBOSE=1 test -C build -} - -package() { - make VERBOSE=1 DESTDIR="$pkgdir" install -C build - install -vDm 644 $_name-release-$pkgver/COPYING -t "$pkgdir/usr/share/licenses/$pkgname" - install -vDm 644 $_name-release-$pkgver/{ChangeLog,README.md} -t "$pkgdir/usr/share/doc/$pkgname" -} - -# vim: ts=2 sw=2 et: Copied: libupnp/repos/extra-x86_64/PKGBUILD (from rev 452016, libupnp/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-08-03 16:41:47 UTC (rev 452017) @@ -0,0 +1,44 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Maintainer: David Runge <dv...@archlinux.org> +# Contributor: Giovanni Scafora <giova...@archlinux.org> +# Contributor: kastor <kas...@fobos.org.ar> + +_name=pupnp +pkgname=libupnp +pkgver=1.14.13 +pkgrel=1 +pkgdesc='Portable Open Source UPnP Development Kit' +arch=(x86_64) +url="https://pupnp.sourceforge.io/" +license=(BSD) +depends=(glibc) +makedepends=(cmake) +provides=(libixml.so libupnp.so) +options=(debug) +source=($pkgname-$pkgver.tar.gz::https://github.com/$_name/$_name/archive/release-$pkgver.tar.gz) +sha512sums=('ae6ae72a5e784a0f9508af94c4070627e791660fa37966e9825643fd0f88b171826bda9a2ec872d4961bf3454e5a9cd716127f0bdf6e63c789c4e22aab0b7e71') +b2sums=('af3cd6c852297d7b131b2deefba8a72427e225c765017edb5f927b81bd1ce2b72d43caf2c46bd383b83536ba858d52dc8d051e272dacc8bd3c952e43443650a4') + +build() { + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=None \ + -DUPNP_BUILD_STATIC=OFF \ + -Dblocking_tcp_connections=OFF \ + -Dreuseaddr=ON \ + -Wno-dev \ + -B build \ + -S $_name-release-$pkgver + make VERBOSE=1 -C build +} + +check() { + make VERBOSE=1 test -C build +} + +package() { + make VERBOSE=1 DESTDIR="$pkgdir" install -C build + install -vDm 644 $_name-release-$pkgver/COPYING -t "$pkgdir/usr/share/licenses/$pkgname" + install -vDm 644 $_name-release-$pkgver/{ChangeLog,README.md} -t "$pkgdir/usr/share/doc/$pkgname" +} + +# vim: ts=2 sw=2 et: Deleted: libupnp-1.14.12-optional_static.patch =================================================================== --- libupnp-1.14.12-optional_static.patch 2022-08-03 16:41:21 UTC (rev 452016) +++ libupnp-1.14.12-optional_static.patch 2022-08-03 16:41:47 UTC (rev 452017) @@ -1,187 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 55653f12..d35b499d 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -95,6 +95,8 @@ if (WIN32) - set (STATIC_POSTFIX s) - endif() - -+option (UPNP_BUILD_SHARED "Build shared libraries" ON) -+option (UPNP_BUILD_STATIC "Build static libraries" ON) - option (BUILD_TESTING "Run Tests after compile" ON) - - if (BUILD_TESTING) -diff --git a/ixml/CMakeLists.txt b/ixml/CMakeLists.txt -index e33a561e..184f65d0 100644 ---- a/ixml/CMakeLists.txt -+++ b/ixml/CMakeLists.txt -@@ -15,6 +15,7 @@ set (IXML_SOURCES - src/nodeList.c - ) - -+if (UPNP_BUILD_SHARED) - add_library (ixml_shared SHARED - ${IXML_SOURCES} - ) -@@ -54,7 +55,9 @@ install (TARGETS ixml_shared - INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp - PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp - ) -+endif() - -+if (UPNP_BUILD_STATIC) - add_library (ixml_static STATIC - ${IXML_SOURCES} - ) -@@ -93,6 +96,7 @@ install (TARGETS ixml_static - DESTINATION ${CMAKE_INSTALL_LIBDIR} - INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp - ) -+endif() - - install (EXPORT IXML - DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/IXML -diff --git a/ixml/test/CMakeLists.txt b/ixml/test/CMakeLists.txt -index 7dea06eb..1241e856 100644 ---- a/ixml/test/CMakeLists.txt -+++ b/ixml/test/CMakeLists.txt -@@ -2,6 +2,7 @@ FILE (GLOB XML_FILES - ${CMAKE_CURRENT_SOURCE_DIR}/testdata/*.xml - ) - -+if (UPNP_BUILD_SHARED) - ADD_EXECUTABLE (test-ixml-shared - test_document.c - ) -@@ -17,7 +18,9 @@ ADD_TEST (NAME test-ixml - SET_TESTS_PROPERTIES (test-ixml PROPERTIES - ENVIRONMENT "PATH=$<TARGET_FILE_DIR:ixml_shared>\;%PATH%" - ) -+endif() - -+if (UPNP_BUILD_STATIC) - ADD_EXECUTABLE (test-ixml-static - test_document.c - ) -@@ -29,3 +32,4 @@ TARGET_LINK_LIBRARIES (test-ixml-static - ADD_TEST (NAME test-ixml-static - COMMAND test-ixml-static ${XML_FILES} - ) -+endif() -diff --git a/upnp/CMakeLists.txt b/upnp/CMakeLists.txt -index d10336f9..c9d19f8d 100644 ---- a/upnp/CMakeLists.txt -+++ b/upnp/CMakeLists.txt -@@ -83,6 +83,7 @@ if (uuid) - ) - endif() - -+if (UPNP_BUILD_SHARED) - add_library (upnp_shared SHARED - ${UPNP_SOURCES} - ) -@@ -182,7 +183,9 @@ install (TARGETS upnp_shared - INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp - PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp - ) -+endif() - -+if (UPNP_BUILD_STATIC) - add_library (upnp_static STATIC - ${UPNP_SOURCES} - ) -@@ -233,6 +236,7 @@ install (TARGETS upnp_static - DESTINATION ${CMAKE_INSTALL_LIBDIR} - INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/upnp - ) -+endif() - - install (EXPORT UPNP - DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/UPNP -diff --git a/upnp/test/CMakeLists.txt b/upnp/test/CMakeLists.txt -index 741f9a57..745f2148 100644 ---- a/upnp/test/CMakeLists.txt -+++ b/upnp/test/CMakeLists.txt -@@ -4,6 +4,7 @@ if (WIN32) - string (APPEND TEST_ENV "%PATH%") - endif() - -+if (UPNP_BUILD_SHARED) - add_executable (test-upnp-init ${WIN_EXE} - test_init.c - ) -@@ -23,7 +24,9 @@ add_test (NAME test-upnp-init - set_tests_properties (test-upnp-init PROPERTIES - ENVIRONMENT "${TEST_ENV}" - ) -+endif() - -+if (UPNP_BUILD_STATIC) - add_executable (test-upnp-init-static - test_init.c - ) -@@ -39,7 +42,9 @@ target_compile_definitions (test-upnp-init-static - add_test (NAME test-upnp-init-static - COMMAND test-upnp-init-static - ) -+endif() - -+if (UPNP_BUILD_SHARED) - add_executable (test-upnp-list - test_list.c - ) -@@ -55,7 +60,9 @@ set_tests_properties (test-upnp-list PROPERTIES - target_link_libraries (test-upnp-list - upnp_shared - ) -+endif() - -+if (UPNP_BUILD_STATIC) - add_executable (test-upnp-list-static - test_list.c - ) -@@ -67,7 +74,9 @@ target_link_libraries (test-upnp-list-static - add_test (NAME test-upnp-list-static - COMMAND test-upnp-list-static - ) -+endif() - -+if (UPNP_BUILD_SHARED) - add_executable (test-upnp-log - test_log.c - ) -@@ -87,7 +96,9 @@ add_test (NAME test-upnp-log - set_tests_properties (test-upnp-log PROPERTIES - ENVIRONMENT "${TEST_ENV}" - ) -+endif() - -+if (UPNP_BUILD_STATIC) - add_executable (test-upnp-log-static - test_log.c - ) -@@ -103,7 +114,9 @@ target_link_libraries (test-upnp-log-static - add_test (NAME test-upnp-log-static - COMMAND test-upnp-log-static - ) -+endif() - -+if (UPNP_BUILD_SHARED) - add_executable (test-upnp-url - test_url.c - ) -@@ -119,7 +132,9 @@ add_test (NAME test-upnp-url - set_tests_properties (test-upnp-url PROPERTIES - ENVIRONMENT "${TEST_ENV}" - ) -+endif() - -+if (UPNP_BUILD_STATIC) - add_executable (test-upnp-url-static - test_url.c - ) -@@ -131,3 +146,4 @@ target_link_libraries (test-upnp-url-static - add_test (NAME test-upnp-url-static - COMMAND test-upnp-url-static - ) -+endif()