diff options
author | AdriĆ Arrufat | 2021-12-28 19:17:29 +0100 |
---|---|---|
committer | AdriĆ Arrufat | 2021-12-28 19:17:29 +0100 |
commit | 80ebbbc31d9c503a9e8075bc7afb8cd08195821a (patch) | |
tree | 89f85d5b8fdc40bac0142295fb891987ae5ad42d | |
parent | 0c4c53f210e7909efb1d1daf7307295445d855a1 (diff) | |
download | aur-80ebbbc31d9c503a9e8075bc7afb8cd08195821a.tar.gz |
update build system to meson
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 6 insertions, 28 deletions
@@ -1,6 +1,6 @@ pkgbase = rhythmbox-git pkgdesc = Music playback and management application - pkgver = 3.4.3+106+g4859c2d5e + pkgver = 3.4.4+320+gba4a134a4 pkgrel = 1 url = https://wiki.gnome.org/Apps/Rhythmbox arch = i686 @@ -44,11 +44,10 @@ pkgbase = rhythmbox-git optdepends = libgpod: Portable Players - iPod plugin optdepends = libmtp: Portable Players - MTP plugin optdepends = gvfs-mtp: Portable Players - Android plugin - provides = rhythmbox=3.4.3+106+g4859c2d5e + provides = rhythmbox=3.4.4+320+gba4a134a4 conflicts = rhythmbox options = !emptydirs source = rhythmbox-git::git+https://gitlab.gnome.org/GNOME/rhythmbox sha256sums = SKIP pkgname = rhythmbox-git - @@ -6,7 +6,7 @@ _pkgname=rhythmbox pkgname=$_pkgname-git -pkgver=3.4.3+106+g4859c2d5e +pkgver=3.4.4+320+gba4a134a4 pkgrel=1 pkgdesc="Music playback and management application" arch=(i686 x86_64) @@ -44,34 +44,13 @@ prepare() { git config libgd.url "${srcdir}/libgd" git config libglnx.url "${srcdir}/lbglnx" git submodule update - - NOCONFIGURE=1 ./autogen.sh } build() { - cd $pkgname - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --libexecdir=/usr/lib/rhythmbox \ - --disable-browser-plugin \ - --disable-static \ - --disable-more-warnings \ - --enable-daap \ - --enable-gtk-doc \ - --enable-python \ - --enable-vala \ - - # https://bugzilla.gnome.org/show_bug.cgi?id=655517 - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - - make + arch-meson $pkgname build + meson compile -C build } package() { - cd $pkgname - make DESTDIR="$pkgdir" install - rm -r "$pkgdir/usr/lib/rhythmbox/sample-plugins" - rm -r "$pkgdir/usr/lib/rhythmbox/plugins/rbzeitgeist" + meson install -C build --destdir "$pkgdir" } |