[arch-commits] Commit in dleyna-server/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Thu Apr 8 19:59:22 UTC 2021


    Date: Thursday, April 8, 2021 @ 19:59:22
  Author: heftig
Revision: 411762

0.7.0-1

Modified:
  dleyna-server/trunk/PKGBUILD

----------+
 PKGBUILD |   31 ++++++++++++-------------------
 1 file changed, 12 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-08 19:56:43 UTC (rev 411761)
+++ PKGBUILD	2021-04-08 19:59:22 UTC (rev 411762)
@@ -1,43 +1,36 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
 
 pkgname=dleyna-server
-pkgver=0.6.0+2+geb895ae
-pkgrel=2
+pkgver=0.7.0
+pkgrel=1
 pkgdesc="Library to discover, browse and manipulate Digital Media Servers"
+url="https://github.com/phako/dleyna-server"
 arch=(x86_64)
-url="http://01.org/dleyna"
 license=(LGPL2.1)
 depends=(dleyna-connector-dbus gupnp-av gupnp-dlna libsoup)
-makedepends=(git)
-_commit=eb895ae82715e9889a948ffa810c0f828b4f4c76  # master
-source=("git+https://github.com/01org/dleyna-server#commit=$_commit")
+makedepends=(git meson)
+_commit=c8b7ae8a71b506ff37ed65fe0597a78dfe019465  # tags/v0.7.0^0
+source=("git+https://github.com/phako/dleyna-server#commit=$_commit")
 sha256sums=('SKIP')
 
 pkgver() {
   cd $pkgname
-  git describe --tags | sed 's/-/+/g'
+  git describe --tags | sed 's/^v//;s/-/+/g'
 }
 
 prepare() {
   cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
-  CFLAGS+=" -Wno-deprecated-declarations"
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-    --disable-static --libexecdir=/usr/lib
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
+  arch-meson $pkgname build
+  meson compile -C build
 }
 
 check() {
-  cd $pkgname
-  make check
+  meson test -C build --print-errorlogs
 }
 
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" meson install -C build
 }



More information about the arch-commits mailing list