Date: Monday, May 1, 2023 @ 19:36:39
  Author: foutrelis
Revision: 476188

upgpkg: audacious 4.3.1-1

Modified:
  audacious/trunk/PKGBUILD

----------+
 PKGBUILD |   32 +++++++++++++++-----------------
 1 file changed, 15 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-01 19:31:59 UTC (rev 476187)
+++ PKGBUILD    2023-05-01 19:36:39 UTC (rev 476188)
@@ -4,34 +4,32 @@
 # Contributor: Giovanni Scafora <[email protected]>
 
 pkgname=audacious
-pkgver=4.2
-pkgrel=3
+pkgver=4.3.1
+pkgrel=1
 pkgdesc="Lightweight, advanced audio player focused on audio quality"
 arch=('x86_64')
 url="https://audacious-media-player.org/";
 license=('BSD')
-depends=('qt5-base' 'qt5-svg' 'qt5-imageformats' 'glib2' 'audacious-plugins'
-         'hicolor-icon-theme' 'desktop-file-utils')
-makedepends=('python') # for gdbus-codegen
+depends=('qt5-base' 'qt5-svg' 'qt5-imageformats' 'glib2' 'hicolor-icon-theme'
+         'desktop-file-utils')
+makedepends=('meson')
 optdepends=('unzip: zipped skins support')
 source=(https://distfiles.audacious-media-player.org/$pkgname-$pkgver.tar.bz2)
-sha256sums=('feb304e470a481fe2b3c4ca1c9cb3b23ec262540c12d0d1e6c22a5eb625e04b3')
+sha256sums=('85e9e26841505b51e342ee72a2d05f19bef894f567a029ebb3f3e0c1adb42042')
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  ./configure \
-    --prefix=/usr \
-    --disable-gtk \
-    --with-buildstamp='Arch Linux'
-  make
+  arch-meson $pkgname-$pkgver build \
+    -Dgtk=false \
+    -Dbuildstamp='Arch Linux'
+  meson compile -C build
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-  install -Dm644 contrib/audacious.appdata.xml -t "$pkgdir/usr/share/metainfo"
-  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  depends+=('audacious-plugins')
+
+  meson install -C build --destdir "$pkgdir"
+  install -Dm644 $pkgname-$pkgver/contrib/audacious.appdata.xml -t 
"$pkgdir/usr/share/metainfo"
+  install -Dm644 $pkgname-$pkgver/COPYING -t 
"$pkgdir/usr/share/licenses/$pkgname"
 }
 
 # vim:set ts=2 sw=2 et:

Reply via email to