summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio Pastor Pérez <sergio.pastorperez@outlook.es>2025-03-19 18:00:01 +0100
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2025-03-26 21:47:28 +0100
commit40c93eda32fb118c4edb98aa13747b7159428bc7 (patch)
tree4be17bb89720f3f511266579e02df8f63c7e44b8
parent51f0c29f9e1783075c07ff1190e09c688c24da1d (diff)
gnu: Add nativefiledialog-extended.
* gnu/packages/cpp.scm (nativefiledialog-extended): New variable. Change-Id: I89ed4554db3ec8075bbb7d50bbfb4b99cae81a27 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
-rw-r--r--gnu/packages/cpp.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index a0f65e19a37..188c4364894 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -3692,6 +3692,33 @@ std::variant (formerly boost::variant) for C++11/14.")
based on the implementation of std::variant in libc++.")
(license license:boost1.0)))
+(define-public nativefiledialog-extended
+ (package
+ (name "nativefiledialog-extended")
+ (version "1.2.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/btzy/nativefiledialog-extended")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "15l0jy3v4p6rgg9dk8zr80lqp51s32ii62cm4s90400ragdgh10v"))))
+ (build-system cmake-build-system)
+ (arguments
+ '(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
+ (native-inputs (list pkg-config))
+ (inputs (list gtk+))
+ (home-page "https://github.com/btzy/nativefiledialog-extended")
+ (synopsis "Native file dialog library with C and C++ bindings")
+ (description
+ "This package provides a library that portably invokes native file open,
+folder select and file save dialogs. It allows the specification of a default
+file name and location, as well as filters with friendly names (such as
+\"source files\" or \"image files\") where supported.")
+ (license license:zlib)))
+
(define-public tsl-hopscotch-map
(package
(name "tsl-hopscotch-map")