diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-09-08 11:31:09 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-08 06:58:23 -0300 |
commit | 9cfadaf67fbf66140ef9dade110cf07a10f07aec (patch) | |
tree | 6b74ffc9897dc98205d1a4bef5c956d0711bb3ed /testing/gnome-music | |
parent | 71849b67a0c7c04f034a3a4df79031a136285cff (diff) | |
download | aports-9cfadaf67fbf66140ef9dade110cf07a10f07aec.tar.bz2 aports-9cfadaf67fbf66140ef9dade110cf07a10f07aec.tar.xz |
testing/gnome-music: new aport
Diffstat (limited to 'testing/gnome-music')
-rw-r--r-- | testing/gnome-music/APKBUILD | 40 | ||||
-rw-r--r-- | testing/gnome-music/dont-require-py3-gettext-support.patch | 13 |
2 files changed, 53 insertions, 0 deletions
diff --git a/testing/gnome-music/APKBUILD b/testing/gnome-music/APKBUILD new file mode 100644 index 0000000000..4bc55d717f --- /dev/null +++ b/testing/gnome-music/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +pkgname=gnome-music +pkgver=3.32.2 +pkgrel=0 +pkgdesc="Music is the new GNOME music playing application" +url="https://wiki.gnome.org/Apps/Music" +arch="all" +license="GPL-2.0-or-later" +depends="grilo grilo-plugins gnome-online-accounts libdazzle libsoup py3-gobject3 + tracker libmediaart py3-cairo" +makedepends="meson gnome-online-accounts-dev libdazzle-dev gtk+3.0-dev libsoup-dev + gobject-introspection-dev grilo-dev grilo-plugins-dev tracker-dev py-gobject3-dev + libmediaart-dev py-cairo-dev itstool" +checkdepends="desktop-file-utils appstream-glib" +subpackages="$pkgname-lang $pkgname-doc" +source="https://download.gnome.org/sources/gnome-music/${pkgver%.*}/gnome-music-$pkgver.tar.xz + dont-require-py3-gettext-support.patch" + +build() { + meson \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + . output + ninja -C output +} + +check() { + ninja -C output test +} + +package() { + DESTDIR="$pkgdir" ninja -C output install +} + +sha512sums="633748dcb5cf839f29059fd9bdd5283c455a4157d6c004168d9ef80352b83be3db547377034d0d78af0b6a84fec6fb941888bd53aa14c8bf51da880f04170a23 gnome-music-3.32.2.tar.xz +0437214912794981cdb6df4309f34b40b65ec4412cc0ec9a384da07e22a0c1d3cc8272e2a210f1e614f0e9a9767d96b83624ad1f1f82bd3445ff62c8f1234dc9 dont-require-py3-gettext-support.patch" diff --git a/testing/gnome-music/dont-require-py3-gettext-support.patch b/testing/gnome-music/dont-require-py3-gettext-support.patch new file mode 100644 index 0000000000..2a90039088 --- /dev/null +++ b/testing/gnome-music/dont-require-py3-gettext-support.patch @@ -0,0 +1,13 @@ +diff --git a/gnome-music.in b/gnome-music.in +index 13f8aeb..043490f 100755 +--- a/gnome-music.in ++++ b/gnome-music.in +@@ -105,8 +105,6 @@ def set_log_level(): + + def set_internationalization(): + """Sets application internationalization.""" +- locale.bindtextdomain('@application_id@', LOCALE_DIR) +- locale.textdomain('@application_id@') + gettext.bindtextdomain('@application_id@', LOCALE_DIR) + gettext.textdomain('@application_id@') + |