[arch-commits] Commit in libdmapsharing/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Mon Sep 5 22:22:32 UTC 2022
Date: Monday, September 5, 2022 @ 22:22:32
Author: heftig
Revision: 455100
archrelease: copy trunk to extra-x86_64
Added:
libdmapsharing/repos/extra-x86_64/PKGBUILD
(from rev 455099, libdmapsharing/trunk/PKGBUILD)
Deleted:
libdmapsharing/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 90 +++++++++++++++++++++++++++++++++++--------------------------
1 file changed, 52 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-05 22:22:11 UTC (rev 455099)
+++ PKGBUILD 2022-09-05 22:22:32 UTC (rev 455100)
@@ -1,38 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgname=libdmapsharing
-pkgver=2.9.41
-pkgrel=1
-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)
-options=(debug)
-_commit=ecee3cc737d748d45ef4524b2c19a0fdf7c73804 # tags/LIBDMAPSHARING_2_9_41^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/r&/;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
-}
Copied: libdmapsharing/repos/extra-x86_64/PKGBUILD (from rev 455099, libdmapsharing/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-05 22:22:32 UTC (rev 455100)
@@ -0,0 +1,52 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=libdmapsharing
+pkgver=2.9.41
+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 vala)
+options=(debug)
+_commit=ecee3cc737d748d45ef4524b2c19a0fdf7c73804 # tags/LIBDMAPSHARING_2_9_41^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/r&/;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+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 "${configure_args[@]}"
+ 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