@@ -4696,6 +4696,48 @@ (define-public qcodeeditor
"QCodeEditor is a Qt widget for editing/viewing code.")
(license license:expat))))
+(define-public qt-advanced-docking-system
+ (package
+ (name "qt-advanced-docking-system")
+ (version "4.3.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0xb4j5pva3qbbj01xp5y98544hgh14p60z2dfypq4ikz6n3ac0z7"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Disable building examples and demo.
+ (substitute* "ads.pro"
+ ((".*demo.*") "")
+ ((".*examples.*") ""))
+ ;; Include headers in their own directory.
+ (substitute* "src/src.pro"
+ (("/include") "/include/QtAdvancedDocking"))))))
+ (build-system qt-build-system)
+ (arguments
+ (list #:qtbase qtbase
+ #:tests? #f ;no tests
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'configure
+ (lambda _
+ (invoke "qmake" (string-append "PREFIX=" #$output)))))))
+ (inputs
+ (list libxkbcommon))
+ (home-page "https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System")
+ (synopsis "Advanced docking system for Qt")
+ (description
+ "Qt Advanced Docking System lets you create customizable layouts using a
+window docking system.")
+ (license license:lgpl2.1+)))
+
(define-public qtcolorwidgets
(package
(name "qtcolorwidgets")