Subject: [bug#48382] [PATCH 3/6] gnu: libpEpAdapter: Update to 2.1.21.

From: Hartmut Goebel <[email-masked]>
Date: Wed, 12 May 2021 19:42:15 +0200

* gnu/packages/pep.scm (libpEpAdapter): Update to 2.1.21.
  [source]: Swicht to new git repo.
  [arguments]<make-flags>: Enable release-build.
---
 gnu/packages/pep.scm | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/pep.scm b/gnu/packages/pep.scm
index b0bc492f29..e10c05ca68 100644
--- a/gnu/packages/pep.scm
+++ b/gnu/packages/pep.scm
@@ -147,20 +147,21 @@ privacy).")
 (define-public libpepadapter
   (package
     (name "libpepadapter")
-    (version "2.0.2")
+    (version "2.1.21")
     (source
      (origin
-       (method hg-fetch)
-       (uri (hg-reference
-             (url "https://pep.foundation/dev/repos/libpEpAdapter")
-             (changeset "e8fe371c870a"))) ;; r168
-       (file-name (string-append name "-" version "-checkout"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitea.pep.foundation/pEp.foundation/libpEpAdapter")
+             (commit (string-append "Release_" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "1mlpavjbnmslvmr5jxcvpjgb2x40nhmxjb10hza3kn4qzj0k1pjz"))))
+        (base32 "09ljj3x09y99wc47n063hpn62zi8cdvdha82rnaypvirrlga6a5w"))))
     (build-system gnu-build-system)
     (arguments
      '(#:test-target "test"
        #:tests? #f ;; building the tests fails
+       #:make-flags '("NDEBUG=1") ; release build
        #:phases
        (modify-phases %standard-phases
          (replace 'configure
-- 
2.21.4