summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorIgnat Loskutov <loskutov@google.com>2016-08-28 00:57:43 -0400
committerIgnat Loskutov <loskutov@google.com>2016-08-28 00:57:43 -0400
commitcc830450265cb25281e1ef49ca4e8bf9b416b408 (patch)
tree4e61ca4e921eadc41d2d09374b9b18e0eb5cb401 /pkgs/development
parentc82d9e9faed470bf7574b8cd22b1a7677818be6d (diff)
downloadnixpkgs-cc830450265cb25281e1ef49ca4e8bf9b416b408.tar
nixpkgs-cc830450265cb25281e1ef49ca4e8bf9b416b408.tar.gz
nixpkgs-cc830450265cb25281e1ef49ca4e8bf9b416b408.tar.bz2
nixpkgs-cc830450265cb25281e1ef49ca4e8bf9b416b408.tar.lz
nixpkgs-cc830450265cb25281e1ef49ca4e8bf9b416b408.tar.xz
nixpkgs-cc830450265cb25281e1ef49ca4e8bf9b416b408.tar.zst
nixpkgs-cc830450265cb25281e1ef49ca4e8bf9b416b408.zip
Qt5: Enable Wayland support
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/libraries/qt-5/5.6/default.nix6
-rw-r--r--pkgs/development/libraries/qt-5/5.6/qtwayland.nix8
-rw-r--r--pkgs/development/libraries/qt-5/5.7/default.nix5
-rw-r--r--pkgs/development/libraries/qt-5/5.7/qtwayland.nix8
4 files changed, 22 insertions, 5 deletions
diff --git a/pkgs/development/libraries/qt-5/5.6/default.nix b/pkgs/development/libraries/qt-5/5.6/default.nix
index 1f03b138f25..54624fa99b7 100644
--- a/pkgs/development/libraries/qt-5/5.6/default.nix
+++ b/pkgs/development/libraries/qt-5/5.6/default.nix
@@ -92,7 +92,7 @@ let
       qtsvg = callPackage ./qtsvg.nix {};
       qttools = callPackage ./qttools {};
       qttranslations = callPackage ./qttranslations.nix {};
-      /* qtwayland = not packaged */
+      qtwayland = callPackage ./qtwayland.nix {};
       qtwebchannel = callPackage ./qtwebchannel.nix {};
       qtwebengine = callPackage ./qtwebengine.nix {};
       qtwebkit = callPackage ./qtwebkit {};
@@ -105,8 +105,8 @@ let
       full = env "qt-${qtbase.version}" [
         qtconnectivity qtdeclarative qtdoc qtenginio qtgraphicaleffects
         qtimageformats qtlocation qtmultimedia qtquickcontrols qtscript
-        qtsensors qtserialport qtsvg qttools qttranslations qtwebsockets
-        qtx11extras qtxmlpatterns
+        qtsensors qtserialport qtsvg qttools qttranslations qtwayland
+        qtwebsockets qtx11extras qtxmlpatterns
       ];
 
       makeQtWrapper = makeSetupHook { deps = [ makeWrapper ]; } ./make-qt-wrapper.sh;
diff --git a/pkgs/development/libraries/qt-5/5.6/qtwayland.nix b/pkgs/development/libraries/qt-5/5.6/qtwayland.nix
new file mode 100644
index 00000000000..6d887f7c650
--- /dev/null
+++ b/pkgs/development/libraries/qt-5/5.6/qtwayland.nix
@@ -0,0 +1,8 @@
+{ qtSubmodule, qtbase, qtquickcontrols, wayland, pkgconfig }:
+
+qtSubmodule {
+  name = "qtwayland";
+  qtInputs = [ qtbase qtquickcontrols ];
+  buildInputs = [ wayland ];
+  nativeBuildInputs = [ pkgconfig ];
+}
diff --git a/pkgs/development/libraries/qt-5/5.7/default.nix b/pkgs/development/libraries/qt-5/5.7/default.nix
index aa2cbb92169..286ef0887c7 100644
--- a/pkgs/development/libraries/qt-5/5.7/default.nix
+++ b/pkgs/development/libraries/qt-5/5.7/default.nix
@@ -88,6 +88,7 @@ let
       qtsvg = callPackage ./qtsvg.nix {};
       qttools = callPackage ./qttools {};
       qttranslations = callPackage ./qttranslations.nix {};
+      qtwayland = callPackage ./qtwayland.nix {};
       qtwebchannel = callPackage ./qtwebchannel.nix {};
       qtwebengine = callPackage ./qtwebengine.nix {};
       qtwebkit = callPackage ./qtwebkit {};
@@ -99,8 +100,8 @@ let
       full = env "qt-${qtbase.version}" [
         qtconnectivity qtdeclarative qtdoc qtgraphicaleffects
         qtimageformats qtlocation qtmultimedia qtquickcontrols qtscript
-        qtsensors qtserialport qtsvg qttools qttranslations qtwebsockets
-        qtx11extras qtxmlpatterns
+        qtsensors qtserialport qtsvg qttools qttranslations qtwayland
+        qtwebsockets qtx11extras qtxmlpatterns
       ];
 
       makeQtWrapper =
diff --git a/pkgs/development/libraries/qt-5/5.7/qtwayland.nix b/pkgs/development/libraries/qt-5/5.7/qtwayland.nix
new file mode 100644
index 00000000000..6d887f7c650
--- /dev/null
+++ b/pkgs/development/libraries/qt-5/5.7/qtwayland.nix
@@ -0,0 +1,8 @@
+{ qtSubmodule, qtbase, qtquickcontrols, wayland, pkgconfig }:
+
+qtSubmodule {
+  name = "qtwayland";
+  qtInputs = [ qtbase qtquickcontrols ];
+  buildInputs = [ wayland ];
+  nativeBuildInputs = [ pkgconfig ];
+}