From: <miles.harvey@runbox.com>
To: 30678@debbugs.gnu.org
Subject: [bug#30678] [PATCH] Update VLC to 3.0.1
Date: Fri, 02 Mar 2018 09:30:37 +0000 (GMT) [thread overview]
Message-ID: <E1erh1R-0003kv-9o@rmmprod07.runbox> (raw)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 8190b0ffc..d668d8235 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -53,7 +53,6 @@
#:use-module (guix build-system gnu)
#: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 python)
#:use-module (guix build-system waf)
#:use-module (gnu packages)
@@ -61,6 +60,7 @@
#:use-module (gnu packages audio)
#:use-module (gnu packages autotools)
#:use-module (gnu packages avahi)
+ #:use-module (gnu packages backup)
#:use-module (gnu packages base)
#:use-module (gnu packages bison)
#:use-module (gnu packages boost)
@@ -89,10 +89,12 @@
#:use-module (gnu packages gnupg)
#:use-module (gnu packages gstreamer)
#:use-module (gnu packages gtk)
+ #:use-module (gnu packages gcc)
#:use-module (gnu packages image)
#:use-module (gnu packages imagemagick)
#:use-module (gnu packages iso-codes)
#:use-module (gnu packages libreoffice)
+ #:use-module (gnu packages libusb)
#:use-module (gnu packages linux)
#:use-module (gnu packages lua)
#:use-module (gnu packages m4)
@@ -103,12 +105,14 @@
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages popt)
+ #:use-module (gnu packages protobuf)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages python)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-web)
#:use-module (gnu packages qt)
#:use-module (gnu packages ruby)
+ #:use-module (gnu packages samba)
#:use-module (gnu packages sdl)
#:use-module (gnu packages serialization)
#:use-module (gnu packages shells)
@@ -116,6 +120,7 @@
#:use-module (gnu packages texinfo)
#:use-module (gnu packages textutils)
#:use-module (gnu packages tls)
+ #:use-module (gnu packages upnp)
#:use-module (gnu packages version-control)
#:use-module (gnu packages vulkan)
#:use-module (gnu packages web)
@@ -810,7 +815,7 @@ audio/video codec library.")
(define-public vlc
(package
(name "vlc")
- (version "2.2.8")
+ (version "3.0.1")
(source (origin
(method url-fetch)
(uri (string-append
@@ -818,10 +823,11 @@ audio/video codec library.")
version "/vlc-" version ".tar.xz"))
(sha256
(base32
- "1v32snw46rkgbdqdy3dssl2y13i8p2cr1cw1i18r6vdmiy24dw4v"))))
+ "008krfhykm9447wc1kkw82bsw3f6ikljgrqyb1sinwlxnkghqw6f"))))
(build-system gnu-build-system)
(native-inputs
`(("git" ,git) ; needed for a test
+ ("gcc" ,gcc)
("pkg-config" ,pkg-config)))
;; FIXME: Add optional inputs once available.
(inputs
@@ -829,7 +835,7 @@ audio/video codec library.")
("avahi" ,avahi)
("dbus" ,dbus)
("flac" ,flac)
- ("ffmpeg" ,ffmpeg-2.8) ;fails to build against ffmpeg 3.0
+ ("ffmpeg" ,ffmpeg)
("fontconfig" ,fontconfig)
("freetype" ,freetype)
("gnutls" ,gnutls)
@@ -857,16 +863,54 @@ audio/video codec library.")
("perl" ,perl)
("pulseaudio" ,pulseaudio)
("python" ,python-wrapper)
- ("qtbase" ,qtbase)
+ ;; Qt required instead of just qtbase as it was
+ ;; before, otherwise check_POTFILES.sh test fails.
+ ("qt" ,qt)
("qtx11extras" ,qtx11extras)
("sdl" ,sdl)
("sdl-image" ,sdl-image)
("speex" ,speex)
("x265" ,x265)
- ("xcb-util-keysyms" ,xcb-util-keysyms)))
+ ("xcb-util-keysyms" ,xcb-util-keysyms)
+ ;Optional inputs
+ ;("lua" ,lua) ;Configure phase doesn't find this
+ ("libarchive" ,libarchive)
+ ("livemedia-utils" ,livemedia-utils)
+ ("libbluray" ,libbluray)
+ ("samba" ,samba)
+ ;("nfs-utils" ,(@ (gnu packages nfs) nfs-utils)) ;configure phase doesn't find this
+ ;("freerdp" ,(@ (gnu packages rdesktop) freerdp)) ;causes compilation failure
+ ("libshout" ,libshout)
+ ("libebml" ,libebml)
+ ("libmatroska" ,libmatroska)
+ ("libmodplug" ,libmodplug)
+ ("mpg123" ,mpg123)
+ ;("gstreamer"
+ ; ,(@ (gnu packages gstreamer) gstreamer)) ;configure phase doesn't find this.
+ ("libva" ,libva)
+ ("twolame" ,twolame)
+ ("libdca" ,libdca)
+ ("libmpeg2" ,libmpeg2)
+ ("speexdsp" ,speexdsp)
+ ("fluidsynth" ,fluidsynth)
+ ("libass" ,libass)
+ ("fribidi" ,fribidi)
+ ("librsvg" ,librsvg)
+ ("libcaca" ,libcaca)
+ ("jack" ,jack-1)
+ ("soxr" ,soxr)
+ ("chromaprint" ,chromaprint)
+ ("protobuf" ,protobuf)
+ ("eudev" ,eudev)
+ ("libmtp" ,libmtp)
+ ("libupnp" ,libupnp)
+ ("taglib" ,taglib)
+ ("libsecret" ,libsecret)
+ ("libnotify" ,libnotify)))
(arguments
`(#:configure-flags
`("CXXFLAGS=-std=gnu++11"
+ "BUILDCC=gcc"
,(string-append "LDFLAGS=-Wl,-rpath -Wl,"
(assoc-ref %build-inputs "ffmpeg")
"/lib")) ;needed for the tests
@@ -883,10 +927,12 @@ audio/video codec library.")
;; which fails in our sandboxed build system
(substitute* "test/run_vlc.sh"
(("./vlc --ignore-config") "echo"))
- ;; XXX Likely not needed for >2.2.6.
- (substitute* "modules/gui/qt4/components/interface_widgets.cpp"
- (("<qx11info_x11.h>") "<QtX11Extras/qx11info_x11.h>"))
#t)))
+ (add-after 'build 'fix-misnamed-appdata
+ ;; vlc.appdata.xml.in gets created instead of vlc.appdata.xml, so
+ ;; we copy it to the correct name - This solution is hacky, if the
+ ;; root cause is found then please supply a patch.
+ (lambda _ (copy-file "share/vlc.appdata.xml.in" "share/vlc.appdata.xml")))
(add-after 'install 'regenerate-plugin-cache
(lambda* (#:key outputs #:allow-other-keys)
;; The 'install-exec-hook' rule in the top-level Makefile.am
next reply other threads:[~2018-03-02 16:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-02 9:30 miles.harvey [this message]
2018-03-26 18:30 ` [bug#30678] [PATCH] Update VLC to 3.0.1 Marius Bakke
2018-08-29 20:56 ` bug#30678: " Leo Famulari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1erh1R-0003kv-9o@rmmprod07.runbox \
--to=miles.harvey@runbox.com \
--cc=30678@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).