1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu>
3 ;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
5 ;;; This file is part of GNU Guix.
7 ;;; GNU Guix is free software; you can redistribute it and/or modify it
8 ;;; under the terms of the GNU General Public License as published by
9 ;;; the Free Software Foundation; either version 3 of the License, or (at
10 ;;; your option) any later version.
12 ;;; GNU Guix is distributed in the hope that it will be useful, but
13 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ;;; GNU General Public License for more details.
17 ;;; You should have received a copy of the GNU General Public License
18 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
20 (define-module (gnu packages poedit)
21 #:use-module ((guix licenses) #:prefix license:)
22 #:use-module (gnu packages)
23 #:use-module (guix packages)
24 #:use-module (guix git-download)
25 #:use-module (guix utils)
26 #:use-module (guix build-system gnu)
27 #:use-module (gnu packages autotools)
28 #:use-module (gnu packages boost)
29 #:use-module (gnu packages enchant)
30 #:use-module (gnu packages gettext)
31 #:use-module (gnu packages gtk)
32 #:use-module (gnu packages icu4c)
33 #:use-module (gnu packages pkg-config)
34 #:use-module (gnu packages rdf)
35 #:use-module (gnu packages wxwidgets)
36 #:use-module (gnu packages xml))
45 (url "https://github.com/vslavik/poedit")
46 (commit (string-append "v" version "-oss"))))
47 (file-name (git-file-name name version))
50 "147jiiab4n0nbhzp1vw1jn8ykhy7qh6zf02654ppi0imdfvfnjss"))
51 (modules '((guix build utils)))
54 (delete-file-recursively "deps")
56 (build-system gnu-build-system)
59 (list (string-append "--with-boost-libdir="
60 (assoc-ref %build-inputs "boost")
63 `(("autoconf" ,autoconf)
64 ("automake" ,automake)
65 ("gettext-minimal" ,gettext-minimal)
66 ("pkg-config" ,pkg-config)))
71 ("gtkspell3" ,gtkspell3)
73 ("lucene++" ,lucene++)
75 ("wxwidgets" ,wxwidgets)))
76 (home-page "https://poedit.net/")
77 (synopsis "Gettext catalog editing tool")
78 (description "Poedit is a GUI frontend to the GNU gettext utilities and
79 a catalog editor/source code parser. It helps with translating applications
80 into other languages.")
81 (license license:expat)))