1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
7 pkgdesc="A library that implements the DMAP family of protocols"
8 url="https://www.flyn.org/projects/libdmapsharing/index.html"
23 provides=(libdmapsharing-4.0.so)
24 _commit=2bcf6286fc81ff9c964e5b1bfe918c01a18e98c4 # tags/LIBDMAPSHARING_3_9_12^0
25 source=("git+https://gitlab.gnome.org/GNOME/libdmapsharing.git#commit=$_commit")
30 git describe --tags | sed 's/^LIBDMAPSHARING_//;s/_/./g;s/[^-]*-g/r&/;s/-/+/g'
35 NOCONFIGURE=1 ./autogen.sh
39 local configure_args=(
45 # Disable tests; get built into the library, adding a dep on libcheck
48 # GTK-docs are broken when tests are disabled
54 ./configure "${configure_args[@]}"
55 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
61 make DESTDIR="$pkgdir" install
64 # vim:set sw=2 sts=-1 et: