[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/44: gnu: Add malcontent.
From: |
guix-commits |
Subject: |
04/44: gnu: Add malcontent. |
Date: |
Thu, 25 Jun 2020 08:20:47 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 39a75344df402dd434ebfffa9c062568f51d27c3
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Thu May 21 11:35:25 2020 -0400
gnu: Add malcontent.
* gnu/packages/freedesktop.scm (malcontent): New variable.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/freedesktop.scm | 55 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 3987d98..dc812d5 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -137,6 +137,61 @@ tests.")
(home-page "https://gitlab.gnome.org/pwithnall/libglib-testing")
(license license:lgpl2.1+)))
+(define-public malcontent
+ (package
+ (name "malcontent")
+ (version "0.8.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.freedesktop.org/pwithnall/malcontent.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0vnf0pk516fwwh41v96c29l2i7h1pnwhivlkbf53kkx1q35g7lb3"))))
+ (build-system meson-build-system)
+ (arguments
+ `(#:glib-or-gtk? #t
+ #:phases
+ (modify-phases %standard-phases
+ ;; AppInfo not available inside build environment.
+ (add-after 'unpack 'fix-tests
+ (lambda _
+ (substitute* "libmalcontent/tests/app-filter.c"
+ (("g_test_add_func \\(\"/app-filter/appinfo\",
test_app_filter_appinfo\\);")
+ ""))
+ #t)))))
+ (native-inputs
+ `(("desktop-file-utils" ,desktop-file-utils)
+ ("gettext" ,gettext-minimal)
+ ("glib:bin" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
+ ("gtk+:bin" ,gtk+ "bin")
+ ("itstool" ,itstool)
+ ("libglib-testing" ,libglib-testing)
+ ("libxml2" ,libxml2)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("accountsservice" ,accountsservice)
+ ("appstream-glib" ,appstream-glib)
+ ("dbus" ,dbus)
+ ("flatpak" ,flatpak)
+ ("glib" ,glib)
+ ("gtk+" ,gtk+)
+ ("libostree" ,libostree)
+ ("linux-pam" ,linux-pam)
+ ("polkit" ,polkit)))
+ (synopsis "Parental controls support")
+ (description "MalContent implements parental controls support which can
+be used by applications to filter or limit the access of child accounts to
+inappropriate content.")
+ (home-page "https://gitlab.freedesktop.org/pwithnall/malcontent")
+ (license
+ (list
+ license:gpl2+
+ license:lgpl2.1+))))
+
(define-public xdg-utils
(package
(name "xdg-utils")
- branch wip-desktop created (now f6cdd17), guix-commits, 2020/06/25
- 01/44: gnu: Add krb5-auth-dialog., guix-commits, 2020/06/25
- 05/44: gnu: Add portablexdr., guix-commits, 2020/06/25
- 03/44: gnu: Add libglib-testing., guix-commits, 2020/06/25
- 04/44: gnu: Add malcontent.,
guix-commits <=
- 07/44: gnu: Add gnome-music., guix-commits, 2020/06/25
- 02/44: gnu: Add tepl., guix-commits, 2020/06/25
- 14/44: gnu: google-brotli: Update package definition., guix-commits, 2020/06/25
- 06/44: gnu: Add libxmlb., guix-commits, 2020/06/25
- 08/44: gnu: Add gnome-photos., guix-commits, 2020/06/25
- 09/44: gnu: adwaita-icon-theme: Update to 3.36.1., guix-commits, 2020/06/25
- 12/44: gnu: at-spi2-atk: Update to 2.34.2., guix-commits, 2020/06/25
- 13/44: gnu: atk: Update to 2.36.0., guix-commits, 2020/06/25
- 21/44: gnu: catch-framework2: Update to 2.3.0., guix-commits, 2020/06/25
- 22/44: gnu: Add ronn., guix-commits, 2020/06/25