Commit f7a77677 authored by Newbyte's avatar Newbyte 🌜
Browse files

community/lollypop: backport from edge

parent 44149631
Pipeline #81357 passed with stages
in 1 minute and 57 seconds
# Contributor: Pellegrino Prevete <pellegrinoprevete@gmail.com>
# Maintainer: Newbyte <newbytee@protonmail.com>
pkgname=lollypop
pkgver=1.4.19
# See the git submodule in subprojects/po for the right version
_pover=839c22622aa106fe63e7bda409b4f25f172ecd04
pkgrel=1
pkgdesc="Music player for GNOME"
url="https://gitlab.gnome.org/World/Lollypop"
arch="noarch !mips !mips64 !s390x" # libhandy missing
license="GPL-3.0-only"
depends="python3 libhandy1 libsecret libsoup py3-cairo py3-gobject3 py3-gst py3-pillow py3-pylast totem-pl-parser"
makedepends="gobject-introspection-dev gtk+3.0-dev libhandy1-dev libsoup-dev
meson py3-gobject3-dev"
checkdepends="appstream-glib desktop-file-utils"
subpackages="$pkgname-lang $pkgname-doc"
source="https://gitlab.gnome.org/World/lollypop/-/archive/$pkgver/lollypop-$pkgver.tar.gz
https://gitlab.gnome.org/gnumdk/lollypop-po/-/archive/$_pover/lollypop-po-$_pover.tar.gz
dont-require-py3-gettext-support.patch
"
prepare() {
default_prepare
mv $srcdir/lollypop-po*/* $srcdir/lollypop-$pkgver/subprojects/po/
}
build() {
abuild-meson . output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
meson test --no-rebuild -v -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="f046e799d43f96f8d1deb49db7076dc8a2a87ee8886496b16a10ce8075d710957a139ec6786503bd4023e078239ad90dcb992b51d1b3291c787d80b97d6c6130 lollypop-1.4.19.tar.gz
5999b272bbc0ee1516a7d18ca7d33606d668c70e25a58fd5ed1ab53c1c07371a450f3dc3b7ebce2babc1eaaa6aa502a68cd9a019fc003d1f50d0522135e6d9f7 lollypop-po-839c22622aa106fe63e7bda409b4f25f172ecd04.tar.gz
1d514dff539d6d41bed36249d5d5372df81983f6a940657a55a4fa01c94a5389306d8dee48754d07623c913f70d7a59422cb0320975ae78b13e3efe2b66891b5 dont-require-py3-gettext-support.patch"
diff --git a/lollypop.in b/lollypop.in
index 305f49d..55ab3b6 100755
--- a/lollypop.in
+++ b/lollypop.in
@@ -34,8 +34,6 @@ def install_excepthook():
if __name__ == "__main__":
install_excepthook()
- locale.bindtextdomain('lollypop', localedir)
- locale.textdomain('lollypop')
gettext.bindtextdomain('lollypop', localedir)
gettext.textdomain('lollypop')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment