mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/gnome-passwordsafe: new aport
This commit is contained in:
parent
1c1884380f
commit
2bedc6d40f
38
testing/gnome-passwordsafe/APKBUILD
Normal file
38
testing/gnome-passwordsafe/APKBUILD
Normal file
@ -0,0 +1,38 @@
|
||||
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
||||
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
||||
pkgname=gnome-passwordsafe
|
||||
pkgver=3.32.0
|
||||
pkgrel=0
|
||||
pkgdesc="A password manager for GNOME"
|
||||
url="https://gitlab.gnome.org/World/PasswordSafe"
|
||||
arch="noarch"
|
||||
license="GPL-3.0-only"
|
||||
depends="python3 py3-keepass libhandy py3-libpwquality py3-gobject3"
|
||||
makedepends="meson gtk+3.0-dev libhandy-dev libpwquality-dev gobject-introspection-dev"
|
||||
checkdepends="appstream-glib desktop-file-utils"
|
||||
subpackages="$pkgname-lang"
|
||||
source="https://gitlab.gnome.org/World/PasswordSafe/-/archive/$pkgver/PasswordSafe-$pkgver.tar.gz
|
||||
dont-require-py3-gettext-support.patch"
|
||||
builddir="$srcdir/PasswordSafe-$pkgver"
|
||||
|
||||
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="ad568cf1d635b7a1b00948a722dfbcba36ab2655a6b772962b4c2fb08d75e2a60787180017edd3305a7f4e3043cd9216cc5829a9889caf859cdc3d47f16da317 PasswordSafe-3.32.0.tar.gz
|
||||
431e37942e5af402427f6e16b1155465758ba8b2e7ef3799523a0925de451e6f4cb5ec27d5be05c496cd123dd3eb4e4fb874b82d68a7b9914bab6e99855f1565 dont-require-py3-gettext-support.patch"
|
||||
@ -0,0 +1,16 @@
|
||||
We build python3 without gettext support built-in, so these function calls _will_
|
||||
fail.
|
||||
|
||||
diff --git a/passwordsafe.in b/passwordsafe.in
|
||||
index b66e0c7..c68724d 100755
|
||||
--- a/passwordsafe.in
|
||||
+++ b/passwordsafe.in
|
||||
@@ -31,8 +31,6 @@ def install_excepthook():
|
||||
if __name__ == "__main__":
|
||||
install_excepthook()
|
||||
|
||||
- locale.bindtextdomain('passwordsafe', localedir)
|
||||
- locale.textdomain('passwordsafe')
|
||||
gettext.bindtextdomain('passwordsafe', localedir)
|
||||
gettext.textdomain('passwordsafe')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user