libnice: adopted port

This commit is contained in:
Tim Biermann 2023-08-13 10:58:19 +02:00
parent 4c950f6d80
commit baa550db92
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 13 additions and 11 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3zico1H8u1siYDH/HB6T6vBeAIQS+27IMplCk0nzEByrI7eIDO/B0DSKqZFhFvTJFxN7UHFIwSnCCKqyn8E5kQY=
SHA256 (Pkgfile) = e311833bcb6c85cf3a091484eafa1c08f9356c7fa9f201f186eb6edfac09d770
RWSagIOpLGJF3+L0Zsxc1V+3fS5Xv06Qso2KvMh7uCSMOWI2RELBp9TiCIKrNnjwKl4vE6W4tZokrKMuhseDIY2JcK+SGALZywI=
SHA256 (Pkgfile) = a061b9046614b9200a6a896029d2b6bdeab31ceacd5517bdeb89ea759f5a40a9
SHA256 (.footprint) = 0b7f4cc356d8159c6ecf5ddaaea2c8a6e9a6513861b67612c507074de369c867
SHA256 (libnice-0.1.21.tar.gz) = 72e73a2acf20f59093e21d5601606e405873503eb35f346fa621de23e99b3b39

View File

@ -1,19 +1,21 @@
# Description: Library for ICE and STUN.
# URL: http://nice.freedesktop.org/
# Maintainer: Danny Rawlins, crux at romster dot me
# URL: https://libnice.freedesktop.org/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: gstreamer
name=libnice
version=0.1.21
release=1
release=2
source=(https://nice.freedesktop.org/releases/$name-$version.tar.gz)
build() {
meson setup $name-$version build \
--prefix=/usr \
--buildtype=plain \
-D gtk_doc=disabled
meson setup $name-$version build \
--prefix=/usr \
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true
meson compile -C build
DESTDIR=$PKG meson install -C build
meson compile -C build
DESTDIR=$PKG meson install -C build
}