summary refs log tree commit diff
path: root/gnu/packages/video.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-05-24 23:57:08 +0200
committerRicardo Wurmus <rekado@elephly.net>2023-05-24 23:58:30 +0200
commit86f853c4a3f615e133084db6f80ca22eb312d800 (patch)
tree2df7938e025855146894c3e4480f4d12f50bcb1f /gnu/packages/video.scm
parent0243d5fa1af0274e25802d713935b9da81b5eca9 (diff)
downloadguix-86f853c4a3f615e133084db6f80ca22eb312d800.tar.gz
gnu: gaupol: Use pyproject-build-system.
* gnu/packages/video.scm (gauplo)[build-system]: Use pyproject-build-system.
[arguments]: Delete custom 'install phase.
Diffstat (limited to 'gnu/packages/video.scm')
-rw-r--r--gnu/packages/video.scm10
1 files changed, 2 insertions, 8 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index d053fe91fb..0de0f3e363 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -99,6 +99,7 @@
   #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system meson)
   #:use-module (guix build-system perl)
+  #:use-module (guix build-system pyproject)
   #:use-module (guix build-system python)
   #:use-module (guix build-system qt)
   #:use-module (guix build-system waf)
@@ -5059,7 +5060,7 @@ video from a Wayland session.")
               (sha256
                (base32
                 "01qbhhycmy26b2mw2jlri321k478jhp7y0jzlcv87iaq05qr4pc8"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (native-inputs
      (list gettext-minimal pkg-config))
     (inputs
@@ -5086,13 +5087,6 @@ video from a Wayland session.")
              (substitute* "setup.py"
                (("distutils\\.util\\.byte_compile\\(.*")
                 ""))))
-         ;; gaupol's setup.py script does not support one of the Python build
-         ;; system's default flags, "--single-version-externally-managed".
-         (replace 'install
-           (lambda* (#:key outputs #:allow-other-keys)
-             (invoke "python" "setup.py" "install"
-                     (string-append "--prefix=" (assoc-ref outputs "out"))
-                     "--root=/")))
          (add-after 'install 'wrap-gaupol
            (lambda* (#:key outputs #:allow-other-keys)
              (let ((out (assoc-ref outputs "out"))