contrib/seahorse/Pkgfile

30 lines
1.1 KiB
Plaintext
Raw Normal View History

# Description: Seahorse is a GNOME application for managing encryption keys and passwords in the GNOME Keyring
# URL: https://wiki.gnome.org/Apps/Seahorse/
# Maintainer: Tim Biermann, tbier at posteo dot de
2021-09-30 21:40:22 +02:00
# Depends on: gcr gnome-keyring gtk3 libhandy libpwquality libsecret libsoup xorg-libxinerama gpgme
# Optional: avahi gpgme openldap
name=seahorse
2022-05-22 10:34:00 +02:00
version=42.0
release=1
source=(https://gitlab.gnome.org/GNOME/seahorse/-/archive/$version/seahorse-$version.tar.bz2)
build() {
2021-09-30 21:40:22 +02:00
prt-get isinst avahi || PKGMK_SEAHORSE+=' -D key-sharing=false'
prt-get isinst gpgme || PKGMK_SEAHORSE+=' -D pgp-support=false -D check-compatible-gpg=false'
prt-get isinst openldap || PKGMK_SEAHORSE+=' -D ldap-support=false -D hkp-support=false'
meson setup $name-$version build $PKGMK_SEAHORSE \
--prefix=/usr \
--libexecdir=/usr/lib/$name \
2020-11-03 21:51:33 +01:00
--buildtype=plain \
2021-09-30 21:40:22 +02:00
--wrap-mode nodownload \
--auto-features disabled \
-D b_lto=true \
-D b_pie=true \
-D help=false
2020-11-03 21:51:33 +01:00
meson compile -C build
DESTDIR=$PKG meson install -C build
rm -r $PKG/usr/share/locale
}