Alexander Epaneshnikov pushed to branch main at Arch Linux / Packaging / Packages / libupnpp
Commits: 697d157e by Alexander Epaneshnikov at 2024-05-25T22:20:11+03:00 upgpkg: 0.26.4-1 switch to meson fix #1 - - - - - 3 changed files: - .SRCINFO - + 0.26.4-include-fix.patch - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,18 +1,21 @@ pkgbase = libupnpp pkgdesc = A C++ wrapper for libupnp - used with upmpdcli or upplay - pkgver = 0.26.2 + pkgver = 0.26.4 pkgrel = 1 url = https://www.lesbonscomptes.com//upmpdcli/libupnpp-refdoc/libupnpp-ctl.html arch = x86_64 license = LGPL-2.1-or-later + makedepends = meson depends = glibc depends = gcc-libs depends = curl depends = expat depends = libnpupnp provides = libupnpp.so - source = http://www.lesbonscomptes.com/upmpdcli/downloads/libupnpp-0.26.2.tar.gz - sha256sums = d148a522df714ec08b5d03e35c273f340e45eb0d98eb42049247c040814db98f + source = http://www.lesbonscomptes.com/upmpdcli/downloads/libupnpp-0.26.4.tar.gz + source = 0.26.4-include-fix.patch + sha256sums = 94eb4e54edcbfe8250f426bcb1a819b5d387c2899f7fe73c1bf08b67956859c6 + sha256sums = 31ade4ca2151267b226a368125f55ec599c780e40c3d8cff39456610279e83b6 pkgname = libupnpp depends = glibc ===================================== 0.26.4-include-fix.patch ===================================== @@ -0,0 +1,10 @@ +--- ./libupnpp/upnpplib.cxx 2024-05-25 22:04:18.356294739 +0300 ++++ ./libupnpp/upnpplib.cxx 2024-05-25 22:05:24.251163871 +0300 +@@ -29,6 +29,7 @@ + #include <mach/mach.h> + #endif + ++#include <algorithm> + #include "libupnpp/upnpp_p.hxx" + + #include <upnp.h> ===================================== PKGBUILD ===================================== @@ -3,25 +3,32 @@ # Contributor: Tristelune <tristel...@archlinux.info> pkgname=libupnpp -pkgver=0.26.2 +pkgver=0.26.4 pkgrel=1 pkgdesc="A C++ wrapper for libupnp - used with upmpdcli or upplay" url="https://www.lesbonscomptes.com//upmpdcli/libupnpp-refdoc/libupnpp-ctl.html" arch=(x86_64) license=(LGPL-2.1-or-later) depends=(glibc gcc-libs curl expat libnpupnp) +makedepends=('meson') provides=(libupnpp.so) -source=("http://www.lesbonscomptes.com/upmpdcli/downloads/${pkgname}-${pkgver}.tar.gz") -sha256sums=('d148a522df714ec08b5d03e35c273f340e45eb0d98eb42049247c040814db98f') +source=("http://www.lesbonscomptes.com/upmpdcli/downloads/${pkgname}-${pkgver}.tar.gz" + "0.26.4-include-fix.patch") +sha256sums=('94eb4e54edcbfe8250f426bcb1a819b5d387c2899f7fe73c1bf08b67956859c6' + '31ade4ca2151267b226a368125f55ec599c780e40c3d8cff39456610279e83b6') + +prepare(){ + cd $pkgname-$pkgver + patch -p1 -i ../0.26.4-include-fix.patch +} build(){ - cd "${pkgname}-${pkgver}" - ./configure --prefix=/usr - make + arch-meson $pkgname-$pkgver build + meson compile -C build } package(){ depends+=(libnpupnp.so) - cd "${pkgname}-${pkgver}" - make DESTDIR="$pkgdir" install + meson install -C build --destdir "$pkgdir" + install -Dm644 "$pkgname-$pkgver/COPYING" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/libupnpp/-/commit/697d157e66739743250bf6e5413ba537b3baba99 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/libupnpp/-/commit/697d157e66739743250bf6e5413ba537b3baba99 You're receiving this email because of your account on gitlab.archlinux.org.