update goldendict-ng

This commit is contained in:
千住柱間 2024-02-16 16:35:43 -04:00
parent 20437b46a9
commit f146db8006
3 changed files with 45 additions and 4 deletions

View file

@ -31,14 +31,14 @@
(define-public goldendict-ng (define-public goldendict-ng
(package (package
(name "goldendict-ng") (name "goldendict-ng")
(version "24.01.27") (version "24.02.16")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (uri
(git-reference (git-reference
(url "https://github.com/xiaoyifang/goldendict-ng.git") (url "https://github.com/xiaoyifang/goldendict-ng.git")
(commit "92ad684d52526dc3f84a32dac5d14e60973aa663"))) (commit "68c95001005fd77c95936589bbc2487ff3086019")))
(sha256 (sha256
(base32 "0r8hl5p4r369024dhf58md0k1776sbxg6yxqzhws6x257wc91bkh")))) (base32 "0r8hl5p4r369024dhf58md0k1776sbxg6yxqzhws6x257wc91bkh"))))
(build-system cmake-build-system) (build-system cmake-build-system)
@ -47,7 +47,8 @@
#:tests? #f #:tests? #f
#:configure-flags #:configure-flags
#~(list "-DCMAKE_BUILD_TYPE=Release" #~(list "-DCMAKE_BUILD_TYPE=Release"
"-DMULTITHREADED_BUILD=8") ;; To avoid freezing the build ;; "--parallel=7" ;; max to 7 threads in order to avoid freezing the build
)
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'absolutize-qt-headers (add-after 'unpack 'absolutize-qt-headers
@ -122,3 +123,5 @@ to type in words without any accents or correct case.")
(license (license
(list license:gpl3+ (list license:gpl3+
license:zlib)))) license:zlib))))
goldendict-ng

View file

@ -34,3 +34,5 @@ Useful for scripts where you can query the X selection without pressing mouse
Button2 in cumbersome ways.") Button2 in cumbersome ways.")
(home-page "https://tools.suckless.org/x/sselp/") (home-page "https://tools.suckless.org/x/sselp/")
(license license:expat))) (license license:expat)))
sselp

View file

@ -0,0 +1,36 @@
(define-module (ajatt packages suckless)
#:use-module (gnu packages xorg)
#:use-module (guix gexp)
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module ((guix licenses) #:prefix license:))
(define-public sselp
(package
(name "sselp")
(version "0.2")
(source (origin
(method url-fetch)
(uri (string-append "https://dl.suckless.org/tools"
"/sselp" version ".tar.gz"))
(sha256
(base32
"0k8fvf9g27yyaqpyhk6apbkq6r4vjwxhff1qb9ignxx2yvxy7qdf"))))
(build-system gnu-build-system)
(arguments
(list #:tests? #f
#:make-flags
#~(list (string-append "CC=" #$(cc-for-target))
(string-append "PREFIX=" %output))
#:phases #~(modify-phases %standard-phases
(delete 'configure))))
(inputs
(list libxrandr))
(synopsis "Simple X selection printer to stdout.")
(description "Simple X selection printer. Prints the X selection to stdout.
Useful for scripts where you can query the X selection without pressing mouse
Button2 in cumbersome ways.")
(home-page "https://tools.suckless.org/x/sselp/")
(license license:expat)))