[arch-commits] Commit in libdmapsharing/trunk (PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Mon Sep 5 22:22:11 UTC 2022
Date: Monday, September 5, 2022 @ 22:22:11
Author: heftig
Revision: 455099
2.9.41-2: FS#75786 remove dep on check
Modified:
libdmapsharing/trunk/PKGBUILD
----------+
PKGBUILD | 20 +++++++++++++++++---
1 file changed, 17 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-05 22:05:14 UTC (rev 455098)
+++ PKGBUILD 2022-09-05 22:22:11 UTC (rev 455099)
@@ -3,13 +3,13 @@
pkgname=libdmapsharing
pkgver=2.9.41
-pkgrel=1
+pkgrel=2
pkgdesc="A library that implements the DMAP family of protocols"
url="https://www.flyn.org/projects/libdmapsharing/index.html"
arch=(x86_64)
license=(LGPL2.1)
depends=(libsoup avahi gst-plugins-base-libs gdk-pixbuf2)
-makedepends=(git gtk-doc gobject-introspection check vala)
+makedepends=(git gtk-doc gobject-introspection vala)
options=(debug)
_commit=ecee3cc737d748d45ef4524b2c19a0fdf7c73804 # tags/LIBDMAPSHARING_2_9_41^0
source=("git+https://gitlab.gnome.org/GNOME/libdmapsharing.git#commit=$_commit")
@@ -26,8 +26,22 @@
}
build() {
+ local configure_args=(
+ --prefix=/usr
+ --sysconfdir=/etc
+ --localstatedir=/var
+ --with-mdns=avahi
+
+ # Disable tests; get built into the library, adding a dep on libcheck
+ --disable-tests
+
+ # GTK-docs are broken when tests are disabled
+ --disable-gtk-doc
+ )
+
+
cd $pkgname
- ./configure --prefix=/usr --with-mdns=avahi --enable-gtk-doc
+ ./configure "${configure_args[@]}"
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
More information about the arch-commits
mailing list