extra/gssdp to 1.6.3-1

This commit is contained in:
Kevin Mihelich 2023-11-03 00:11:49 +00:00
parent d56e382290
commit 07c9dbeda6
2 changed files with 62 additions and 10 deletions

32
extra/gssdp/.SRCINFO Normal file
View file

@ -0,0 +1,32 @@
pkgbase = gssdp
pkgdesc = GObject-based API for handling resource discovery and announcement over SSDP
pkgver = 1.6.3
pkgrel = 1
url = https://wiki.gnome.org/Projects/GUPnP
arch = x86_64
license = LGPL
makedepends = gi-docgen
makedepends = git
makedepends = gobject-introspection
makedepends = gtk4
makedepends = meson
makedepends = pandoc
makedepends = vala
depends = glib2
depends = libsoup3
source = git+https://gitlab.gnome.org/GNOME/gssdp.git#commit=28c388aa45698dcc09ba24e8de849653e9eedf8c
b2sums = SKIP
pkgname = gssdp
depends = glib2
depends = libsoup3
depends = libglib-2.0.so
depends = libgobject-2.0.so
depends = libgio-2.0.so
depends = libsoup-3.0.so
optdepends = gtk4: gssdp-device-sniffer
provides = libgssdp-1.6.so
pkgname = gssdp-docs
pkgdesc = GObject-based API for handling resource discovery and announcement over SSDP (documentation)
depends =

View file

@ -5,19 +5,31 @@
# - removed makedepends on pandoc, set -D manpages=false # - removed makedepends on pandoc, set -D manpages=false
pkgbase=gssdp pkgbase=gssdp
pkgname=(gssdp gssdp-docs) pkgname=(
pkgver=1.6.2 gssdp
gssdp-docs
)
pkgver=1.6.3
pkgrel=1 pkgrel=1
pkgdesc="A GObject-based API for handling resource discovery and announcement over SSDP" pkgdesc="GObject-based API for handling resource discovery and announcement over SSDP"
url="https://wiki.gnome.org/Projects/GUPnP" url="https://wiki.gnome.org/Projects/GUPnP"
arch=(x86_64) arch=(x86_64)
license=(LGPL) license=(LGPL)
depends=(glib2 libsoup3) depends=(
makedepends=(gobject-introspection gi-docgen vala meson git gtk4) glib2
options=(debug) libsoup3
_commit=c2d417d6a79f03c095e5730efd60015eb3109a82 # tags/gssdp-1.6.2^0 )
makedepends=(
gi-docgen
git
gobject-introspection
gtk4
meson
vala
)
_commit=28c388aa45698dcc09ba24e8de849653e9eedf8c # tags/gssdp-1.6.3^0
source=("git+https://gitlab.gnome.org/GNOME/gssdp.git#commit=$_commit") source=("git+https://gitlab.gnome.org/GNOME/gssdp.git#commit=$_commit")
sha256sums=('SKIP') b2sums=('SKIP')
pkgver() { pkgver() {
cd gssdp cd gssdp
@ -29,7 +41,12 @@ prepare() {
} }
build() { build() {
arch-meson gssdp build -D gtk_doc=true -D manpages=false local meson_options=(
-D gtk_doc=true
-D manpages=false
)
arch-meson gssdp build "${meson_options[@]}"
meson compile -C build meson compile -C build
} }
@ -48,7 +65,10 @@ _pick() {
} }
package_gssdp() { package_gssdp() {
depends+=(libg{lib,object,io}-2.0.so libsoup-3.0.so) depends+=(
libg{lib,object,io}-2.0.so
libsoup-3.0.so
)
optdepends=('gtk4: gssdp-device-sniffer') optdepends=('gtk4: gssdp-device-sniffer')
provides=(libgssdp-1.6.so) provides=(libgssdp-1.6.so)