[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Qt/KDE build system?
From: |
Ludovic Courtès |
Subject: |
Re: Qt/KDE build system? |
Date: |
Sat, 23 Nov 2019 17:53:38 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi!
Hartmut Goebel <address@hidden> skribis:
> I'm currently packaging some KDE applications and find myself adding
> this to each of the package descriptions:
>
> (arguments
> `(#:modules ((guix build cmake-build-system)
> (guix build qt-utils)
> (guix build utils))
> #:imported-modules (,@%cmake-build-system-modules
> (guix build qt-utils))
> #:phases
> (modify-phases %standard-phases
> (add-after 'install 'wrap-executable
> (lambda* (#:key outputs #:allow-other-keys)
> (let ((out (assoc-ref outputs "out")))
> (wrap-qt-program out "lskat"))
> #t)))))
>
> IMHO it would make sense to have some Qt/KDE build system or a flag for
> the cmake-build-system so these code replication can be avoided.
I agree.
> How shall de approach this?
I think you could come up with a ‘qt-build-system’ (is that an
appropriate name?) that simply adds the things above on top of
‘gnu-build-system’, similar to what ‘glib-or-gtk-build-system’ does.
HTH!
Ludo’.