Commit Graph

38 Commits

Author SHA1 Message Date
Anthony Cowley
d51e366ffe handbrake: fix missing audio
We build HandBrake with a newer ffmpeg than upstream expects,
triggering a problem where the audio samplerate defaults to zero
because HandBrake was not explicitly setting it.

This has been fixed in HandBrake upstream, but we must cherry pick
this change in order to produce videos with audio until HandBrake
1.3.0 is released.
2019-10-23 15:33:08 -04:00
Vladimír Čunát
48af02a402
Merge #63643: handbrake: fix build on Darwin 2019-09-16 08:28:04 +02:00
Vladimír Čunát
aaf3881a80
handbrake: enableParallelBuilding = false
It doesn't build too long anyway, so let's prefer reliability.
2019-09-16 08:26:51 +02:00
Jan Tojnar
72e7d569a7
tree-wide: s/GTK+/GTK/g
GTK was renamed.
2019-09-06 02:54:53 +02:00
Benjamin Esham
765cd8c2ed handbrake: fix Darwin build by turning off GUI support
This involved several pieces:

- Always disable GTK GUI support under Darwin. The gtk3 package depends
  transitively on dbus, which depends transitively on systemd, which is
  not currently supported on Darwin. (I gather that it may be possible
  to work around this in the future.)
- Also disable the native GUI support under Darwin (using the
  --disable-xcode flag). Building this GUI would require using the Xcode
  build system, which I was not able to figure out how to do; for now,
  all builds on Darwin are command-line-only.
- Add the lzma package as a dependency on all platforms.
- Add dependencies on the AudioToolbox, Foundation, libobjc, and
  VideoToolbox packages on Darwin.
2019-07-19 13:16:11 -04:00
Tor Hedin Brønner
3388f833d7
handbrake: add required harfbuzz dependency
This was previously propagated by pango.
2019-04-05 12:14:09 +02:00
Anton-Latukha
997be75586 handbrake: rm callPackage dep 2019-02-23 20:30:14 +02:00
Anton-Latukha
a541cf884b handbrake: 1.2.1 -> 1.2.2 2019-02-23 20:29:53 +02:00
Anton-Latukha
de0366f4db handbrake: 1.2.0 -> 1.2.1 2019-02-19 13:37:29 +02:00
Anton-Latukha
9f6e6f9b31 nv-codec-headers: bring package to top-level 2019-01-05 03:31:43 +02:00
Anton-Latukha
6ebcbd0c97 handbrake: 1.2.0: ffmpeg_4 -> ffmpeg-full 2018-12-28 20:05:20 +02:00
Anton-Latukha
fd8a90f5ca handbrake: 1.2.0: updating deps
rm yasm - dropped
rm bzip2, zlib - no needed for build
rm mp4v2, libmkv, mpeg2dec - drop abandonware, HandBrake now uses FFMpeg for that
add nasm, speex, nv-codec-headers - new required deps
2018-12-28 20:03:21 +02:00
Anton-Latukha
42f660a3a0 handbrake: 1.2.0: add cmake, no cmake conf 2018-12-27 20:12:14 +02:00
Anton-Latukha
0f83cff8a2 handbrake: 1.2.0: switch to FFMpeg, deps sort 2018-12-27 18:32:38 +02:00
Anton-Latukha
3f222747bf handbrake: 1.1.2 -> 1.2.0 2018-12-27 03:22:05 +02:00
Daniël de Kok
6c2050fd9c handbrake: 1.1.0 -> 1.1.2
Changes:

https://github.com/HandBrake/HandBrake/releases/tag/1.1.2
https://github.com/HandBrake/HandBrake/releases/tag/1.1.1

Derivation changes:

Transcoding to to MP4 was broken, failing with:

Tag avc1/0x31637661 incompatible with output codec id '28'
muxavformat: avformat_write_header failed!

Fix this using A20-avc3-hvc1-override.patch provided by upstream.
2018-11-12 07:44:19 +01:00
Frederik Rietdijk
099c13da1b Merge staging-next into master (#44009)
* substitute(): --subst-var was silently coercing to "" if the variable does not exist.

* libffi: simplify using `checkInputs`

* pythonPackges.hypothesis, pythonPackages.pytest: simpify dependency cycle fix

* utillinux: 2.32 -> 2.32.1

https://lkml.org/lkml/2018/7/16/532

* busybox: 1.29.0 -> 1.29.1

* bind: 9.12.1-P2 -> 9.12.2

https://ftp.isc.org/isc/bind9/9.12.2/RELEASE-NOTES-bind-9.12.2.html

* curl: 7.60.0 -> 7.61.0

* gvfs: make tests run, but disable

* ilmbase: disable tests on i686. Spooky!

* mdds: fix tests

* git: disable checks as tests are run in installcheck

* ruby: disable tests

* libcommuni: disable checks as tests are run in installcheck

* librdf: make tests run, but disable

* neon, neon_0_29: make tests run, but disable

* pciutils: 3.6.0 -> 3.6.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/pciutils/versions.

* mesa: more include fixes

mostly from void-linux (thanks!)

* npth: 1.5 -> 1.6

minor bump

* boost167: Add lockfree next_prior patch

* stdenv: cleanup darwin bootstrapping

Also gets rid of the full python and some of it's dependencies in the
stdenv build closure.

* Revert "pciutils: use standardized equivalent for canonicalize_file_name"

This reverts commit f8db20fb3a.
Patching should no longer be needed with 3.6.1.

* binutils-wrapper: Try to avoid adding unnecessary -L flags

(cherry picked from commit f3758258b8895508475caf83e92bfb236a27ceb9)
Signed-off-by: Domen Kožar <domen@dev.si>

* libffi: don't check on darwin

libffi usages in stdenv broken darwin. We need to disable doCheck for that case.

* "rm $out/share/icons/hicolor/icon-theme.cache" -> hicolor-icon-theme setup-hook

* python.pkgs.pytest: setupHook to prevent creation of .pytest-cache folder, fixes #40273

When `py.test` was run with a folder as argument, it would not only
search for tests in that folder, but also create a .pytest-cache folder.
Not only is this state we don't want, but it was also causing
collisions.

* parity-ui: fix after merge

* python.pkgs.pytest-flake8: disable test, fix build

* Revert "meson: 0.46.1 -> 0.47.0"

With meson 0.47.0 (or 0.47.1, or git)
things are very wrong re:rpath handling
resulting in at best missing libs but
even corrupt binaries :(.

When we run patchelf it masks the problem
by removing obviously busted paths.
Which is probably why this wasn't noticed immediately.

Unfortunately the binary already
has a long series of paths scribbled
in a space intended for a much smaller string;
in my testing it was something like
lengths were 67 with 300+ written to it.

I think we've reported the relevant issues upstream,
but unfortunately it appears our patches
are what introduces the overwrite/corruption
(by no longer being correct in what they assume)

This doesn't look so bad to fix but it's
not something I can spend more time on
at the moment.

--

Interestingly the overwritten string data
(because it is scribbled past the bounds)
remains in the binary and is why we're suddenly
seeing unexpected references in various builds
-- notably this is is the reason we're
seeing the "extra-utils" breakage
that entirely crippled NixOS on master
(and probably on staging before?).

Fixes #43650.

This reverts commit 305ac4dade.

(cherry picked from commit 273d68eff8f7b6cd4ebed3718e5078a0f43cb55d)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-07-24 15:04:48 +01:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Anton-Latukha
1eea58eb8f handbrake: platforms: linux -> unix 2018-05-15 17:43:25 +03:00
Anton-Latukha
56149c246d handbrake: rm dependency on cmake 2018-05-15 17:33:46 +03:00
Anton-Latukha
f154aa32fc handbrake: updated notes 2018-05-10 11:14:04 +03:00
Anton-Latukha
f3ff2b1fa6 handbrake: 1.0.7 -> 1.1.0 & according changes 2018-04-27 00:37:40 +03:00
Anton-Latukha
9b4b21c6ab handbrake: refactor (fx, clenup, description, cosmetics, add maintainer) 2018-04-18 21:16:02 +03:00
Anton Latukha
7e31e4554f handbrake: switch to libav_12 (#38811) 2018-04-17 20:00:23 +01:00
Anton Latukha
365f08378b handbrake: add FDK as option (#38809) 2018-04-12 11:50:28 +02:00
Jan Tojnar
a31d98f312
tree-wide: autorename gnome packages to use dashes 2018-02-25 17:41:16 +01:00
Peter Hoeg
9c4b1c8fdd handbrake: remove leftover file 2017-07-18 20:52:02 +08:00
Peter Hoeg
8356c6ca2f handbrake: 1.0.3 -> 1.0.7 2017-04-16 19:42:32 +08:00
Peter Hoeg
b9f56c9f49 handbrake: force link libx265 2017-03-21 18:28:50 +08:00
Peter Hoeg
f4f29bcd8b handbrake: 0.10.5 -> 1.0.3 2017-03-19 09:48:22 +08:00
Frederik Rietdijk
8fb03df1c1 handbrake: use python2 2016-10-18 23:16:08 +02:00
koral
dd482470c4 handbrake: add libx265 to LD_LIBRARY_PATH 2016-10-09 18:20:57 +02:00
Gabriel Ebner
6a11b11a7d handbrake: 0.9.9 -> 0.10.5 2016-08-29 08:05:26 +02:00
Robert Helgesson
c071831b8b handbrake: depend on hicolor_icon_theme
This avoids conflicts on `share/icons/hicolor/icon-theme.cache`.
2016-07-09 13:06:14 +02:00
Ricardo M. Correia
c3be340ae0 handbrake: fix compilation due to missing dep 2015-12-08 17:30:25 +01:00
Vladimír Čunát
04d410cc4d handbrake: fix download URL 2015-01-01 10:07:35 +01:00
Vladimír Čunát
48458b1c96 handbrake: disable unfree faac, as it doesn't build with it 2014-05-27 21:07:59 +02:00
Wout Mertens
d93b1f80c0 Add Handbrake 0.9.9: DVD ripper
This packaging splices off the unfree faac library and forces handbrake
to use the (more recent/patched) versions of libraries in Nixpkgs.
Produces the CLI HandbrakeCLI and optionally the GTK+ version ghb.
2014-05-04 01:56:49 +02:00