gnu: Add belcard.
authorRaghav Gururajan <raghavgururajan@disroot.org>
Wed, 1 Apr 2020 22:30:24 +0000 (18:30 -0400)
committerDanny Milosavljevic <dannym@scratchpost.org>
Fri, 3 Apr 2020 10:43:18 +0000 (12:43 +0200)
* gnu/packages/linphone.scm (belcard): New variable.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
gnu/packages/linphone.scm

index 862b2fc..c95f44a 100644 (file)
@@ -105,3 +105,29 @@ written in C++11.  It parses text inputs formatted according to a language
 defined by an ABNF grammar, such as the protocols standardized at IETF.")
     (home-page "https://gitlab.linphone.org/BC/public/belr")
     (license license:gpl3+)))
+
+(define-public belcard
+  (package
+    (name "belcard")
+    (version "1.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append "https://www.linphone.org/releases/sources/" name
+                       "/" name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0iiyrll1shnbb0561pkvdqcmx9b2cdr76xpsbaqdirc3s4xzcl0k"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:tests? #f                      ; No test target
+       #:configure-flags
+       (list
+        "-DENABLE_STATIC=OFF")))        ; Not required
+    (inputs
+     `(("bctoolbox" ,bctoolbox)
+       ("belr" ,belr)))
+    (synopsis "Belledonne Communications VCard Library")
+    (description "Belcard is a C++ library to manipulate VCard standard format.")
+    (home-page "https://gitlab.linphone.org/BC/public/belcard")
+    (license license:gpl3+)))