[arch-commits] Commit in dleyna-connector-dbus/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at archlinux.org
Thu Apr 8 20:05:26 UTC 2021


    Date: Thursday, April 8, 2021 @ 20:05:26
  Author: heftig
Revision: 411764

archrelease: copy trunk to extra-x86_64

Added:
  dleyna-connector-dbus/repos/extra-x86_64/PKGBUILD
    (from rev 411763, dleyna-connector-dbus/trunk/PKGBUILD)
Deleted:
  dleyna-connector-dbus/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   78 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 36 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-08 20:02:54 UTC (rev 411763)
+++ PKGBUILD	2021-04-08 20:05:26 UTC (rev 411764)
@@ -1,42 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgname=dleyna-connector-dbus
-pkgver=0.3.0
-pkgrel=3
-pkgdesc="Provides a D-Bus API for the dLeyna services"
-arch=(x86_64)
-url="https://01.org/dleyna"
-license=(LGPL2.1)
-depends=(dleyna-core dbus)
-makedepends=(git)
-_commit=1f0932aaacdd67700912a0c9c6e610f16f346ced  # tags/0.3.0
-source=("git+https://github.com/01org/dleyna-connector-dbus#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
-  cd $pkgname
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-    --disable-static
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
-}
-
-check() {
-  cd $pkgname
-  make check
-}
-
-package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
-}

Copied: dleyna-connector-dbus/repos/extra-x86_64/PKGBUILD (from rev 411763, dleyna-connector-dbus/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-04-08 20:05:26 UTC (rev 411764)
@@ -0,0 +1,36 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgname=dleyna-connector-dbus
+pkgver=0.4.0
+pkgrel=1
+pkgdesc="Provides a D-Bus API for the dLeyna services"
+url="https://github.com/phako/dleyna-connector-dbus"
+arch=(x86_64)
+license=(LGPL2.1)
+depends=(dleyna-core dbus)
+makedepends=(git meson)
+_commit=a7b7e1fdacc4a43efbbce2189ce0d65788380ee1  # tags/v0.4.0^0
+source=("git+https://github.com/phako/dleyna-connector-dbus#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}



More information about the arch-commits mailing list