From d8a8a8472c67f34c6ed3f664e21fe5c2c68692f4 Mon Sep 17 00:00:00 2001 From: Nafis Date: Mon, 13 Apr 2020 02:52:58 +0600 Subject: [PATCH] gnome-authenticator: update to 3.32.2. --- .../patches/fix-zbar.patch | 13 +++++++++++ srcpkgs/gnome-authenticator/template | 22 ++++++------------- 2 files changed, 20 insertions(+), 15 deletions(-) create mode 100644 srcpkgs/gnome-authenticator/patches/fix-zbar.patch diff --git a/srcpkgs/gnome-authenticator/patches/fix-zbar.patch b/srcpkgs/gnome-authenticator/patches/fix-zbar.patch new file mode 100644 index 00000000000..78049006ddb --- /dev/null +++ b/srcpkgs/gnome-authenticator/patches/fix-zbar.patch @@ -0,0 +1,13 @@ +diff --git meson.build meson.build +index 8eed8f8..a1e38ab 100644 +--- meson.build ++++ meson.build +@@ -24,7 +24,7 @@ dependency('gobject-2.0') + dependency('gobject-introspection-1.0') + dependency('gtk+-3.0', version: '>=3.16') + dependency('libsecret-1') +-dependency('zbar', version: '>= 0.20.1') ++dependency('zbar', version: '>= 0.10') + find_program('glib-compile-schemas', required: true) + find_program('gtk-update-icon-cache', required: false) + find_program('update-desktop-database', required: false) diff --git a/srcpkgs/gnome-authenticator/template b/srcpkgs/gnome-authenticator/template index b91f05ebea2..1e8a55ed74c 100644 --- a/srcpkgs/gnome-authenticator/template +++ b/srcpkgs/gnome-authenticator/template @@ -1,24 +1,16 @@ # Template file for 'gnome-authenticator' pkgname=gnome-authenticator -version=0.2.4 -revision=3 -_libgd_hash=7ae254bfc5f641c60566614e08245176f7bc5aa8 +version=3.32.2 +revision=1 wrksrc="Authenticator-${version}" build_style=meson build_helper="gir" -pycompile_module="Authenticator" -hostmakedepends="appstream-glib desktop-file-utils git glib-devel pkg-config" -makedepends="gobject-introspection gtk+3-devel libglib-devel python3" +hostmakedepends="gettext appstream-glib desktop-file-utils git glib-devel pkg-config" +makedepends="gobject-introspection gtk+3-devel libglib-devel libsecret-devel libzbar-devel python3" depends="python3-pyzbar python3-Pillow python3-pyotp" short_desc="Two-factor authentication code generator for GNOME" maintainer="Enno Boland " -license="GPL-2.0-or-later" +license="GPL-3.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" - -pre_configure() { - mv ../libgd-${_libgd_hash}/* subprojects/libgd -} +distfiles="${homepage}/-/archive/${version}/Authenticator-${version}.tar.gz" +checksum="d7250fbef1de2dcb599a55ff3d40dcc6ed5618fe89d50ec795281d8ba3123d5b"