aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnome-disk-utility
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-05-02 12:23:08 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-06-05 17:42:20 +0000
commit8e50de79ccfb2b70c8eb837495b09ff51048162a (patch)
treecbc08902b28e73416417d4632183e1a733d453a3 /testing/gnome-disk-utility
parentb5f9a58208d0747105e8a2b94878b2f64eef6493 (diff)
downloadaports-8e50de79ccfb2b70c8eb837495b09ff51048162a.tar.bz2
aports-8e50de79ccfb2b70c8eb837495b09ff51048162a.tar.xz
testing/gnome-disk-utility: remove from unmaintained and upgrade to 3.32.1
Also adopt maintainership
Diffstat (limited to 'testing/gnome-disk-utility')
-rw-r--r--testing/gnome-disk-utility/APKBUILD65
1 files changed, 17 insertions, 48 deletions
diff --git a/testing/gnome-disk-utility/APKBUILD b/testing/gnome-disk-utility/APKBUILD
index a2428887c7..f7a3e2aa6d 100644
--- a/testing/gnome-disk-utility/APKBUILD
+++ b/testing/gnome-disk-utility/APKBUILD
@@ -1,61 +1,30 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-disk-utility
-pkgver=3.12.1
-pkgrel=1
+pkgver=3.32.1
+pkgrel=0
pkgdesc="GNOME libraries and applications for dealing with storage devices"
-url="https://www.gnome.org/"
-arch=""
-#arch="all !s390x"
-license="GPL"
-depends=""
-makedepends="gnome-doc-utils intltool dbus-glib-dev libunique-dev avahi-dev
- udisks2-dev libnotify-dev hicolor-icon-theme libatasmart-dev
- rarian-dev libxslt libsecret-dev libpwquality-dev"
-install=
-subpackages="$pkgname-dev $pkgname-libs $pkgname-ui-libs:uilibs $pkgname-lang"
+url="https://wiki.gnome.org/Apps/Disks"
+arch="all !s390x"
+license="GPL-2.0-or-later"
+depends="gptfdisk parted"
+makedepends="gnome-settings-daemon-dev glib-dev libxslt-dev intltool libcanberra-dev
+ libnotify-dev libdvdread-dev libpwquality-dev libsecret-dev udisks2-dev
+ meson xz-dev elogind-dev"
+subpackages="$pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/gnome-disk-utility/${pkgver%.*}/gnome-disk-utility-$pkgver.tar.xz"
-# fix-freeze.patch
-# exp2.patch"
-
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- cd "$_builddir"
-}
build () {
- cd "$_builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
+ meson \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- --libexecdir=/usr/lib/gnome-disk-utility \
- --disable-scrollkeeper \
- --disable-nautilus \
- --disable-gtk-doc \
- || return 1
- make
+ --buildtype=release \
+ . output
+ ninja -C output
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
- find "$pkgdir" -name '*.la' -delete
-}
-
-libs() {
- pkgdesc="Shared libraries used by Palimpsest"
- mkdir -p "$subpkgdir"/usr/lib \
- "$subpkgdir"/usr/share
- mv "$pkgdir"/usr/lib/libgdu.so.* "$subpkgdir"/usr/lib/
- mv "$pkgdir"/usr/share/icons "$subpkgdir"/usr/share/
-}
-
-uilibs() {
- pkgdesc="Shared libraries used by Palimpsest"
- mkdir -p "$subpkgdir"/usr/lib
- mv "$pkgdir"/usr/lib/libgdu-gtk.so.* "$subpkgdir"/usr/lib/
+ DESTDIR="$pkgdir" ninja -C output install
}
-sha512sums="c1feb452955882beb64635e75594bc30acdc8fd4e102107b956e18a5bdea1b802b53464c4c4beef94eb22ad3ad7471b7bff17b566da6438247e5b05146e82ff3 gnome-disk-utility-3.12.1.tar.xz"
+sha512sums="80c4e2fb1ca6136579203c3df73da4c8ef7d496ab73166096768d72b3473d11e9ae199d4aa1878c49ec4280ea98d2136e084a03bba50c2728be4c5e4d508967c gnome-disk-utility-3.32.1.tar.xz"