mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add kdegraphics-thumbnailers.
* gnu/packages/kde.scm (kdegraphics-thumbnailers): New variable. Change-Id: Iab650ba5db07488df3fdd266f245d1a593c40e37
This commit is contained in:
parent
bd8fe75dc3
commit
03c2629750
1 changed files with 46 additions and 0 deletions
|
@ -112,6 +112,7 @@
|
|||
#:use-module (gnu packages scanner)
|
||||
#:use-module (gnu packages sdl)
|
||||
#:use-module (gnu packages ssh)
|
||||
#:use-module (gnu packages tex)
|
||||
#:use-module (gnu packages tls)
|
||||
#:use-module (gnu packages unicode)
|
||||
#:use-module (gnu packages version-control)
|
||||
|
@ -2138,6 +2139,51 @@ PO template files.")
|
|||
Mobipocket e-books in Dolphin and other KDE apps.")
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public kdegraphics-thumbnailers
|
||||
(package
|
||||
(name "kdegraphics-thumbnailers")
|
||||
(version "24.12.3")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://invent.kde.org/graphics/kdegraphics-thumbnailers")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1vlrn6wg9rpg2cnm6y243accbrgcpdmkg4y8qasw6ify2hjhgfmi"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:tests? #f ;No tests.
|
||||
#:configure-flags
|
||||
#~'("-DQT_MAJOR_VERSION=6")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-paths
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "ps/gscreator.cpp"
|
||||
(("\"gs\",")
|
||||
(string-append "\""
|
||||
(search-input-file inputs "bin/gs") "\","))
|
||||
(("\"dvips\",")
|
||||
(string-append "\""
|
||||
(search-input-file inputs "bin/dvips") "\","))))))))
|
||||
(native-inputs (list extra-cmake-modules))
|
||||
(inputs (list ghostscript
|
||||
karchive
|
||||
kdegraphics-mobipocket
|
||||
kio
|
||||
libkdcraw
|
||||
libkexiv2
|
||||
qtbase
|
||||
texlive-dvips-bin))
|
||||
(home-page "https://apps.kde.org/kdegraphics_thumbnailers")
|
||||
(synopsis "KDE thumbnailer for media files")
|
||||
(description "These plugins allow KDE software to display thumbnails for
|
||||
PostScript, PDF, RAW, Mobipocket, and Blender files.")
|
||||
(license license:gpl2)))
|
||||
|
||||
(define-public libkexiv2
|
||||
(package
|
||||
(name "libkexiv2")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue