gnu: srain: Update to 1.2.2.

* gnu/packages/irc.scm (srain): Update to 1.2.2.
[build-system]: Switch to meson-build-system.
[arguments]: Add #:glib-or-gtk?. Remove 'fix-permissions phase.
[native-inputs]: Add python-sphinx.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Vinicius Monego 2021-06-06 01:50:25 +00:00 committed by Efraim Flashner
parent d0b3af53e0
commit 1acc0cfbb9
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -7,7 +7,7 @@
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 20172021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020, 2021 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; Copyright © 2020 Brett Gilio <brettg@gnu.org>
;;; Copyright © 2021 WinterHound <winterhound@yandex.com>
@ -35,8 +35,8 @@ (define-module (gnu packages irc)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (guix build-system cmake)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
#:use-module (guix build-system qt)
#:use-module (gnu packages)
@ -74,6 +74,7 @@ (define-module (gnu packages irc)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages regex)
#:use-module (gnu packages ruby)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages qt)
#:use-module (gnu packages tcl)
@ -241,7 +242,7 @@ (define-public weechat
(define-public srain
(package
(name "srain")
(version "1.1.3")
(version "1.2.2")
(source
(origin
(method git-fetch)
@ -250,22 +251,17 @@ (define-public srain
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1vqjjsxzc4601dpc8lf9k25rp2c7sjab7l5a6cbfygpr8dqvm6vq"))))
(base32 "04bgfyrl5swppsqmhzmjnnj2q7844k99f3894ank8v8fr3y6x78p"))))
(build-system meson-build-system)
(arguments
`(#:tests? #f ;there are no tests
#:phases
(modify-phases %standard-phases
(add-before 'install 'fix-permissions
;; Make po folder writable for gettext to install translations.
(lambda _
(for-each make-file-writable
(find-files "po" "." #:directories? #t)))))))
(build-system glib-or-gtk-build-system)
#:glib-or-gtk? #t))
(native-inputs
`(("gettext" ,gettext-minimal)
("glib:bin" ,glib "bin")
("pkg-config" ,pkg-config)
("python" ,python-wrapper)))
("python" ,python-wrapper)
("python-sphinx" ,python-sphinx)))
(inputs
`(("glib-networking" ,glib-networking)
("gsettings-desktop-schemas" ,gsettings-desktop-schemas)