@@ -1182,18 +1182,21 @@ (define-public celestia
accurately in real time at any rate desired.")
(license license:gpl2+)))
-
(define-public celestia-gtk
- (package
- (inherit celestia)
+ (package/inherit celestia
(name "celestia-gtk")
- (inputs
- (append (alist-delete "freeglut" (package-inputs celestia))
- `(("gtk2" ,gtk+-2)
- ("gtkglext" ,gtkglext))))
(arguments
- `(#:configure-flags '("-DENABLE_GTK=ON" "-DENABLE_QT=OFF")
- #:tests? #f))))
+ (list
+ #:configure-flags
+ #~(list "--enable-cairo"
+ "--enable-theora"
+ "--with-gtk"
+ (string-append "--with-lua=" #$(this-package-input "lua")))))
+ (inputs
+ (modify-inputs (package-inputs celestia)
+ (replace "freeglut" gtk+-2)
+ (prepend cairo gtkglext libxmu libtheora pango-1.42)))
+ (synopsis "GTK+ build for the Celestia package.")))
(define-public python-astropy
(package