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"
11 depends=(libsoup avahi gst-plugins-base-libs gdk-pixbuf2)
12 makedepends=(git gtk-doc gobject-introspection check vala)
14 _commit=ecee3cc737d748d45ef4524b2c19a0fdf7c73804 # tags/LIBDMAPSHARING_2_9_41^0
15 source=("git+https://gitlab.gnome.org/GNOME/libdmapsharing.git#commit=$_commit")
20 git describe --tags | sed 's/^LIBDMAPSHARING_//;s/_/./g;s/[^-]*-g/r&/;s/-/+/g'
25 NOCONFIGURE=1 ./autogen.sh
30 ./configure --prefix=/usr --with-mdns=avahi --enable-gtk-doc
31 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
37 make DESTDIR="$pkgdir" install