[arch-commits] Commit in libdmapsharing/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue May 19 08:07:28 UTC 2020


    Date: Tuesday, May 19, 2020 @ 08:07:27
  Author: felixonmars
Revision: 386157

archrelease: copy trunk to staging-x86_64

Added:
  libdmapsharing/repos/staging-x86_64/
  libdmapsharing/repos/staging-x86_64/PKGBUILD
    (from rev 386155, libdmapsharing/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: libdmapsharing/repos/staging-x86_64/PKGBUILD (from rev 386155, libdmapsharing/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 08:07:27 UTC (rev 386157)
@@ -0,0 +1,37 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=libdmapsharing
+pkgver=2.9.39
+pkgrel=3
+pkgdesc="A library that implements the DMAP family of protocols"
+arch=(x86_64)
+url="https://www.flyn.org/projects/libdmapsharing/index.html"
+license=(LGPL2.1)
+depends=(libsoup avahi gst-plugins-base-libs gdk-pixbuf2)
+makedepends=(git gtk-doc gobject-introspection)
+_commit=b5af68774d432bbf44ffa552df26665dce1cc155  # tags/LIBDMAPSHARING_2_9_39^0
+source=("git+https://gitlab.gnome.org/GNOME/libdmapsharing.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^LIBDMAPSHARING_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr --with-mdns=avahi --enable-gtk-doc
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list