aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/video.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-11-29 14:38:53 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2020-11-29 17:28:40 +0100
commitf637483afca798be9a2a4903a24be808d22e98f1 (patch)
treecd3d6ddffa8eac43bc36184c55c6dd9b4c4bf37a /gnu/packages/video.scm
parente8d561a4ecf45af4f9fb73ffa0ecdf41246963e2 (diff)
downloadguix-f637483afca798be9a2a4903a24be808d22e98f1.tar
guix-f637483afca798be9a2a4903a24be808d22e98f1.tar.gz
gnu: vdpauinfo: Fetch from git repository.
* gnu/packages/video.scm (vdpauinfo)[source]: Use GIT-FETCH and GIT-FILE-NAME. [arguments]: Replace the default 'bootstrap phase. [native-inputs]: Add autoconf & automake.
Diffstat (limited to 'gnu/packages/video.scm')
-rw-r--r--gnu/packages/video.scm24
1 files changed, 17 insertions, 7 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 456cef3a28..0c7ff92692 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -3136,16 +3136,26 @@ present in modern GPUs.")
(version "1.0")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://secure.freedesktop.org/~aplattner/vdpau/"
- name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.freedesktop.org/vdpau/vdpauinfo")
+ (commit (string-append "vdpauinfo-" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "1i2b0k9h8r0lnxlrkgqzmrjakgaw3f1ygqqwzx8w6676g85rcm20"))))
+ (base32 "0j495axk56dmdzw32dn6qdb1lhd2nff77cpwdia7liwz7p1jli0g"))))
(build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'bootstrap
+ ;; ./autogen.sh runs ./configure too soon.
+ (lambda _
+ (invoke "autoreconf" "-fiv"))))))
(native-inputs
- `(("pkg-config" ,pkg-config)
- ("libx11" ,libx11)))
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libx11" ,libx11)
+ ("pkg-config" ,pkg-config)))
(propagated-inputs
`(("libvdpau" ,libvdpau)))
(home-page "https://wiki.freedesktop.org/www/Software/VDPAU/")