Commit Graph

131 Commits

Author SHA1 Message Date
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Doron Behar
5ab7eaa96d vlc: Use qt515 (add QPainterPath patch from OpenSUSE) 2020-11-21 12:54:25 +02:00
Peter Hoeg
a28d3553a8 fix 2020-10-05 11:37:50 +08:00
Peter Hoeg
228bdd200f f/vlc: change name for library only version 2020-10-05 11:37:50 +08:00
Thomas Tuegel
06697c7e29
vlc: fix meta.broken 2020-09-26 06:32:35 -05:00
Thomas Tuegel
63cf375edc
vlc: mark broken with Qt 5.15 2020-09-07 11:41:33 -05:00
R. RyanTM
e827315aa8 libsForQt5.vlc: 3.0.11 -> 3.0.11.1 2020-07-30 15:28:24 +00:00
Valentin Lorentz
745245a62a vlc: 3.0.10 -> 3.0.11
Includes a security fix for CVE-2020-13428.
Also available at: http://git.videolan.org/?p=vlc/vlc-3.0.git;a=blobdiff;f=modules/packetizer/hxxx_nal.c;h=6bdfd5a2a58ab9397d5758726ef16dfb27fec2a0;hp=73450606e382329a301e04d37c5ac259951448e8;hb=d5c43c21c747ff30ed19fcca745dea3481c733e0;hpb=441907f4352107737523bf9cfb56eabe3563edb4

Release notes: http://git.videolan.org/?p=vlc/vlc-3.0.git;a=tag;h=1519d3219a8d151bca792f40003051fa8b967734
2020-06-17 11:12:54 +02:00
Doron Behar
01d4e2fe33 treewide: use ffmpeg_3 explicitly if not wanted otherwise
After making `ffmpeg` point to the latest `ffmpeg_4`, all packages that
used `ffmpeg` without requiring a specific version now use ffmpeg_3
explicitly so they shouldn't change.
2020-06-12 11:55:31 -07:00
R. RyanTM
b51c018859 libsForQt5.vlc: 3.0.8 -> 3.0.10 2020-05-10 18:08:13 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Daniel Albert
1e26027802 vlc: Add libssh2 as dependency to support sftp inputs 2019-09-25 00:51:26 +02:00
Vladimír Čunát
2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
Vladimír Čunát
a887feda74
vlc: 3.0.7.1 -> 3.0.8 (security)
https://www.videolan.org/security/sb-vlc308.html
I've been using it briefly without any issues; the NEWS seem fairly safe:
https://www.videolan.org/developers/vlc-branch/NEWS
2019-08-21 21:43:46 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Ioannis Koutras
20b09bee14 vlc: use wrapQtAppsHook 2019-07-28 20:19:11 +02:00
R. RyanTM
fe6259ea97 libsForQt5.vlc: 3.0.7 -> 3.0.7.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/vlc/versions
2019-06-18 09:45:23 -07:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Will Dietz
02e6a5fd12
vlc: 3.0.7 - security!
http://www.jbkempf.com/blog/post/2019/VLC-3.0.7-and-security

NEWS here: https://www.videolan.org/developers/vlc-branch/NEWS
(will likely always point to latest release, FWIW, scroll as needed)
2019-06-10 07:02:24 -05:00
Andrey Petrov
c37aa79639 vlc: add chromecastSupport option
Enables Chromecast support by default in VLC.

Fixes #58365.

Includes release note.
2019-04-01 09:44:56 -04:00
Will Dietz
533abe481c vlc: 3.0.5 -> 3.0.6
https://www.videolan.org/news.html#news-2019-01-10
2019-01-13 17:51:30 -06:00
R. RyanTM
8acd7a9ab7 libsForQt5.vlc: 3.0.4 -> 3.0.5
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/vlc/versions
2019-01-01 16:36:45 -08:00
c0bw3b
525e397f64 live555: broken on aarch64 2018-11-18 17:50:27 +01:00
Jan Malakhovski
e426758d0e vlc: fix build without qt5 2018-11-18 09:08:06 +00:00
Andrew Dunham
0cf647fe62 vlc: remove references to the Qt development headers 2018-10-27 18:03:37 -07:00
Andrew Dunham
79d46f0a28 vlc: shrink runtime closure size by removing CONFIGURE_LINE 2018-10-27 15:11:35 -07:00
Corey O'Connor
26ce265258 vlc: 3.0.3 -> 3.0.4 (#47406) 2018-09-26 23:22:40 +02:00
Matthew Bauer
76999cc40e treewide: remove aliases in nixpkgs
This makes the command ‘nix-env -qa -f. --arg config '{skipAliases =
true;}'’ work in Nixpkgs.

Misc...

- qtikz: use libsForQt5.callPackage

  This ensures we get the right poppler.

- rewrites:

  docbook5_xsl -> docbook_xsl_ns
  docbook_xml_xslt -> docbook_xsl

diffpdf: fixup
2018-07-18 23:25:20 -04:00
Bastian Köcher
1782b9ec09 vlc: Fixes build with fribidi version 1.0 (#42130) 2018-06-18 22:32:56 +02:00
Bastian Köcher
d3a07d790e vlc: 3.0.1 -> 3.0.3 (#41483)
Besides updating the version, a patch is applied for building with
QT5.11.
2018-06-05 21:38:29 +02:00
Peter Hoeg
490e6fc9eb vlc_npapi: drop it as firefox no longer support NPAPI 2018-05-02 12:26:54 +02:00
Peter Hoeg
a0dd9713e3 vlc: 2.2.8 -> 3.0.1 2018-05-02 12:26:54 +02:00
Piotr Bogdan
729e3b8844 vlc: drop unused onlyLibVLC argument
nothing within nixpkgs uses this and the package doesn't actually build if it's
supplied.
2018-04-16 23:27:30 +01:00
Peter Hoeg
662bfa145a vlc: 2.2.6 -> 2.2.8 2017-12-21 08:18:58 +08:00
Orivej Desh
f137004179 Merge branch 'master' into staging
* master: (81 commits)
  Add NixOS 17.09 AMIs
  gradle: 4.2 -> 4.2.1
  maintainers.nix: use my GitHub handle as maintainer name
  fcitx-engines.rime: init at 0.3.2
  brise: init at 2017-09-16
  librime: init at 1.2.9
  marisa: init at 0.2.4
  opencc: build shared library and programs
  josm: 12712 -> 12914
  exa: 0.7.0 -> 0.8.0
  krb5: add deprecation date for old configuration
  rustRegistry: 2017-09-10 -> 2017-10-03
  go-ethereum: Fix libusb segmentation faults on Darwin
  tor-browser-bundle-bin: 7.0.5 -> 7.0.6
  libsodium: 1.0.13 -> 1.0.15
  tor-browser-bundle: geoip support
  tor-browser-bundle: support transports obfs2,obfs3
  tor-browser-bundle: bump https-everywhere to 2017.9.12
  tint2: limit platforms to Linux since macOS is not supported and fails the tests
  eclipse-plugin-vrapper: init at 0.72.0
  ...
2017-10-03 17:46:39 +00:00
Franz Pletz
ad2ae842bb
vlc: add patch to fix CVE-2017-9300 2017-10-02 18:54:43 +02:00
John Ericson
531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00
armijnhemel
d75c61ec8d vlc: 2.2.5.1 -> 2.2.6 (#26084) 2017-05-26 08:47:01 +08:00
Peter Hoeg
4e2b190d52 vlc: 2.2.4 -> 2.2.5.1
Fixes a nasty vulnerability caused by broken subtitle handling:

http://blog.checkpoint.com/2017/05/23/hacked-in-translation/
2017-05-24 13:08:40 +08:00
aszlig
b017935103
vlc: Fix build for Qt >= 5.7.0
This basically does something similar than the AUR build:

https://aur.archlinux.org/packages/vlc-qt5/

On our side, all there is to do is to force compiling using C++11 mode
and use a patch that the AUR package took from the following upstream
patchwork URL:

https://patches.videolan.org/patch/14061/

Instead of passing CXXFLAGS to the configure script, I'm using sed here
to make sure we don't override flags figured out by configure.

For example if ./configure is used with CXXFLAGS=-std=c++11 appended or
prepended, we have something like:

... -I../include   -std=c++11 -Wall -Wextra -Wsign-compare ...

While if we don't do that at all, we have something like:

... -I../include   -g -O2 -Wall -Wextra -Wsign-compare ...

Another way would be to use NIX_CFLAGS_COMPILE, but that would affect
even compilation of C code and thus resulting in a bunch of warnings
like this:

cc1: warning: command line option '-std=c++11' is valid for C++/ObjC++
              but not for C

So with our approach the flags during build look much better:

... -I../include   -std=c++11 -g -O2 -Wall -Wextra -Wsign-compare ...

Another thing I've changed is that the vlc_qt5 attribute in
all-packages.nix now uses the latest Qt 5 version, because the build for
Qt >= 5.7.0 is now no longer broken.

I've also ordered the preConfigure attribute before the configureFlags
attribute, because it makes more sense in terms of context (pre ->
configure -> post).

Tested by building on x86_64-linux with libsForQt56.vlc, libsForQt58.vlc
and vlc (the Qt 4 version, just to be sure I didn't accidentally break
it).

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @ttuegel
2017-04-19 05:09:47 +02:00
Tuomas Tynkkynen
ffddcc8807 vlc_npapi: Fix hash 2016-09-11 00:21:16 +03:00
Thomas Tuegel
e25a07e92a
qt5.vlc: mark broken with Qt 5.7 2016-09-07 20:57:55 -05:00
Lluís Batlle i Rossell
9ef3a51379 Adding vlc plugin for firefox.
I really wanted it to substitute the html5 player, or at least the direct
player for mp4/webm files in firefox, but I couldn't make it work. The
formats recognized by the firefox internal player were used in all cases. The
plugin worked for formats unknown by firefox.

https://support.mozilla.org/ca/questions/1089501

Nevertheless, as I wrote the nix recipe, I commit it. It may be of interest to
someone else.
2016-08-23 10:16:37 +02:00
Franz Pletz
64ab827873 vlc: 2.2.3 -> 2.2.4 (security)
Fixes CVE-2016-5108.
2016-07-10 10:48:10 +02:00
Tobias Geerinckx-Rice
709eaaf98e
vlc: 2.2.2 -> 2.2.3 2016-05-25 02:06:47 +02:00
Guillaume Maudoux
43cf5d3369 vlc: fixes the two windows issue with qt5
Fixes #14610.
2016-04-12 15:55:44 +02:00
Vladimír Čunát
ed47bb1ca8 qt55.vlc: fix build
I tested it on a video to make sure the bug doesn't appear.
2016-03-28 14:37:25 +02:00
Pascal Wittmann
ab742b42ab vlc: 2.2.1 -> 2.2.2 and take maintainership 2016-02-21 08:03:16 +01:00
Vladimír Čunát
1e04d875db videolan.org sources: prefer http://get.videolan.org
Some of the original URLs were broken now.
It seems that set of mirrors is preferred and faster than the others.
In the x264 case the source isn't there so http://download.videolan.org
is used instead.
2016-02-07 13:21:18 +01:00
Nikolay Amiantov
d573b1e7a9 vlc: add midi support via fluidsynth 2015-12-01 20:46:31 +03:00