-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappcenter.scm
126 lines (123 loc) · 4.54 KB
/
appcenter.scm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2020 Ryan Prior <[email protected]>
(define-module (testing appcenter)
#:use-module (gnu packages calendar)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gtk)
#:use-module (gnu packages pantheon)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages webkit)
#:use-module (guix build-system meson)
#:use-module (guix git-download)
#:use-module ((guix licenses) :prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (testing pantheon))
(define-public appcenter-planner
(package
(name "appcenter-planner")
(version "2.3.5")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/alainm23/planner.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "15d51sqb3k59jjishsw1fq5ib50jmhlk194y3nga329damfv8bmy"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
#:phases
(modify-phases %standard-phases
(add-before 'install 'set-environment-variables
(lambda _
;; Disable compiling schemas and updating desktop databases
(setenv "DESTDIR" "/")
#t))
(add-after 'install 'install-symlinks
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin/com.github.alainm23.planner"))
(link (string-append out "/bin/planner")))
(symlink bin link)))))))
(inputs
`(("evolution-data-server" ,evolution-data-server)
("granite" ,granite)
("gtk" ,gtk+)
("libical" ,libical)
;; Planner is designed specifically for Pantheon. It will build and run
;; without the GTK and icon themes but it won't render right.
("pantheon-gtk-theme" ,pantheon-gtk-theme)
("pantheon-icon-theme" ,pantheon-icon-theme)
("webkitgtk" ,webkitgtk)))
(native-inputs
`(("gettext" ,gettext-minimal)
("glib" ,glib)
("glib:bin" ,glib "bin") ; for glib-compile-schemas
("gnome-settings-daemon" ,gnome-settings-daemon)
("intltool" ,intltool)
("json-glib" ,json-glib)
("libgee" ,libgee)
("libsoup" ,libsoup-minimal)
("pkg-config" ,pkg-config)
("vala" ,vala)))
(home-page "https://planner-todo.web.app/")
(synopsis "Desktop planner")
(description "Planner keeps track of all your tasks, projects, and goals
in one place.")
(license license:gpl3+)))
(define-public appcenter-ephemeral
(package
(name "appcenter-ephemeral")
(version "6.4.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/cassidyjames/ephemeral.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1lzcwaczh601kwbx7fzg32nrzlg67asby7p86qy10qz86xf4g608"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
#:phases
(modify-phases %standard-phases
(add-before 'install 'set-environment-variables
(lambda _
;; Disable compiling schemas and updating desktop databases
(setenv "DESTDIR" "/")
#t))
(add-after 'install 'install-symlinks
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin/com.github.cassidyjames.ephemeral"))
(link (string-append out "/bin/ephemeral")))
(symlink bin link)))))))
(inputs
`(("granite" ,granite)
("gtk" ,gtk+)
("pantheon-gtk-theme" ,pantheon-gtk-theme)
("pantheon-icon-theme" ,pantheon-icon-theme)
("libdazzle" ,libdazzle)
("webkitgtk" ,webkitgtk)))
(native-inputs
`(("gettext" ,gettext-minimal)
("glib" ,glib)
("glib:bin" ,glib "bin") ; for glib-compile-schemas
("gnome-settings-daemon" ,gnome-settings-daemon)
("intltool" ,intltool)
("json-glib" ,json-glib)
("libgee" ,libgee)
("libsoup" ,libsoup-minimal)
("pkg-config" ,pkg-config)
("vala" ,vala)))
(home-page "https://planner-todo.web.app/")
(synopsis "Forgetful web browser")
(description "Ephemeral browses the web without saving any data.")
(license license:gpl3+)))