[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: packaging qt applications

From: David Craven
Subject: Re: packaging qt applications
Date: Tue, 26 Jul 2016 21:12:23 +0200

Also I didn't mention that this only happens when running guix build
greenisland and not when running guix environment greenisland && cmake

The snippet is there because I know that Qml and Quick are there, they
just aren't being found. This let's the build continue until the
previous error.

I'm still trying to compile qt 5.6.1-1 so that should fix the problem
(when I get it to build), finding a cause to this problem would be
very nice dough...

(define-module (gnu packages wayland)
  #:use-module (gnu packages admin)
  #:use-module (gnu packages fontutils)
  #:use-module (gnu packages freedesktop)
  #:use-module (gnu packages gl)
  #:use-module (gnu packages glib)
  #:use-module (gnu packages gtk)
  #:use-module (gnu packages kde-frameworks)
  #:use-module (gnu packages libunwind)
  #:use-module (gnu packages linux)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages qt)
  #:use-module (gnu packages xdisorg)
  #:use-module (gnu packages xml)
  #:use-module (gnu packages xorg)
  #:use-module (guix build-system cmake)
  #:use-module (guix build-system gnu)
  #:use-module (guix download)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages))

(define-public wayland-protocols
    (name "wayland-protocols")
    (version "1.4")
    (source (origin
              (method url-fetch)
              (uri (string-append
                "wayland-protocols-" version ".tar.xz"))
    (build-system gnu-build-system)
      `(("wayland" ,wayland)))
      `(("pkg-config" ,pkg-config)))
    (synopsis "Wayland protocols")
    (description "Placeholder.")
    (home-page "";)
    (license license:expat)))

(define-public greenisland
    (name "greenisland")
    (version "0.8.90")
    (source (origin
              (method url-fetch)
              (uri (string-append
                "greenisland/archive/v" version ".tar.gz"))
              (modules '((guix build utils)))
                '(substitute* "CMakeLists.txt"
                  (("find_package.*Qt5.*Qml Quick.*\n")
                  "find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG
REQUIRED Core DBus Gui)\n")))))
    (build-system cmake-build-system)
      `(("extra-cmake-modules" ,extra-cmake-modules)
        ("fontconfig" ,fontconfig)
        ("freetype" ,freetype)
        ("glib" ,glib)
        ("libdrm" ,libdrm-update)
        ("libinput" ,libinput)
        ("libxcursor" ,libxcursor)
        ("libxkbcommon" ,libxkbcommon)
        ("mesa" ,mesa-update)
        ("qtbase" ,qtbase)
        ("qtdeclarative" ,qtdeclarative)
        ("udev" ,eudev)
        ("wayland" ,wayland)
        ("wayland-protocols" ,wayland-protocols)
        ("xcb-util-cursor" ,xcb-util-cursor)))
      `(("glib:bin" ,glib "bin")
        ("pkg-config" ,pkg-config)))
    (synopsis "QtQuick Wayland compositor and shell for desktop and mobile")
    (description "Green Island provides a full blown Wayland compositor for
QtQuick as well as pluggable hardware abstraction, extensions, tools and a
Qt-style API for Wayland clients.")
    (home-page "";)
    (license (list license:gpl2 license:gpl3 license:lgpl2.1 license:lgpl3))))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]