Merge pull request #39117 from Anton-Latukha/handbrake-rw

handbrake: refactor (fx, clenup, description, cosmetics, add maintainer)
This commit is contained in:
Wout Mertens 2018-04-23 15:47:23 +02:00 committed by GitHub
commit 7c3dc2f53f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 10 deletions

View File

@ -28,6 +28,11 @@
github = "AndersonTorres";
name = "Anderson Torres";
};
Anton-Latukha = {
email = "anton.latuka+nixpkgs@gmail.com";
github = "Anton-Latukha";
name = "Anton Latukha";
};
Baughn = {
email = "sveina@gmail.com";
github = "Baughn";

View File

@ -37,15 +37,13 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
cmake python2 pkgconfig yasm autoconf automake libtool m4
] ++ lib.optionals useGtk [
intltool wrapGAppsHook
];
] ++ lib.optionals useGtk [ intltool wrapGAppsHook ];
buildInputs = [
fribidi fontconfig freetype jansson zlib
libass libiconv libsamplerate libxml2 bzip2
libogg libopus libtheora libvorbis libdvdcss a52dec libmkv
lame ffmpeg libdvdread libdvdnav libbluray mp4v2 mpeg2dec x264 x265 libvpx
lame libdvdread libdvdnav libbluray mp4v2 mpeg2dec x264 x265 libvpx
] ++ lib.optionals useGtk [
glib gtk3 libappindicator-gtk3 libnotify
gst_all_1.gstreamer gst_all_1.gst-plugins-base dbus-glib udev
@ -60,8 +58,6 @@ stdenv.mkDerivation rec {
preConfigure = ''
patchShebangs scripts
echo 'TAG=${version}' > version.txt
# `configure` errors out when trying to read the current year which is too low
substituteInPlace make/configure.py \
--replace developer release \
@ -97,13 +93,17 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
homepage = http://handbrake.fr/;
description = "A tool for ripping DVDs into video files";
description = "A tool for converting video files and ripping DVDs";
longDescription = ''
Handbrake is a versatile transcoding DVD ripper. This package
provides the cli HandbrakeCLI and the GTK+ version ghb.
Tool for converting and remuxing video files
into selection of modern and widely supported codecs
and containers. Very versatile and customizable.
Package provides:
CLI - `HandbrakeCLI`
GTK+ GUI - `ghb`
'';
license = licenses.gpl2;
maintainers = with maintainers; [ wmertens ];
maintainers = with maintainers; [ Anton-Latukha wmertens ];
# Not tested on anything else
platforms = platforms.linux;
};