void-packages/srcpkgs/gnome-authenticator/template

25 lines
1.0 KiB
Bash

# Template file for 'gnome-authenticator'
pkgname=gnome-authenticator
version=0.2.4
revision=2
_libgd_hash=7ae254bfc5f641c60566614e08245176f7bc5aa8
wrksrc="Authenticator-${version}"
build_style=meson
pycompile_module="Authenticator"
hostmakedepends="appstream-glib desktop-file-utils git glib-devel pkg-config"
makedepends="gobject-introspection gtk+3-devel libglib-devel python3"
depends="python3-pyzbar python3-Pillow python3-pyotp"
short_desc="Two-factor authentication code generator for GNOME"
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
license="GPL-2.0-or-later"
homepage="https://gitlab.gnome.org/World/Authenticator"
distfiles="${homepage}/-/archive/${version}/Authenticator-${version}.tar.gz
https://gitlab.gnome.org/GNOME/libgd/-/archive/${_libgd_hash}/libgd-${_libgd_hash}.tar.bz2"
checksum="5757ab4f097b6ed5855224d06ec5d6cd4c9748cc42733f32d425ca2b2325903a
2bf6cd82b48f62d2725d7c52a77cc091958877e1cff5af303bdd9a7d364da00a"
nocross="hard depends on gobject-introspection"
pre_configure() {
mv ../libgd-${_libgd_hash}/* subprojects/libgd
}