brasero: 3.12.0 -> 3.12.1
This commit is contained in:
parent
d713fd1f9f
commit
aad2f71eee
@ -1,11 +1,13 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gtk3, itstool, gst_all_1, libxml2, libnotify
|
||||
{ stdenv, lib, fetchurl, pkgconfig, gtk3, itstool, gst_all_1, libxml2, libnotify
|
||||
, libcanberra_gtk3, intltool, makeWrapper, dvdauthor, cdrdao
|
||||
, dvdplusrwtools, cdrtools, libdvdcss, wrapGAppsHook }:
|
||||
, dvdplusrwtools, cdrtools, vcdimager, wrapGAppsHook }:
|
||||
|
||||
# libdvdcss is "too old" (in fast "too new"), see https://bugs.launchpad.net/ubuntu/+source/brasero/+bug/611590
|
||||
|
||||
let
|
||||
major = "3.12";
|
||||
minor = "0";
|
||||
binpath = stdenv.lib.makeBinPath [ dvdauthor cdrdao dvdplusrwtools cdrtools ];
|
||||
minor = "1";
|
||||
binpath = lib.makeBinPath [ dvdauthor cdrdao dvdplusrwtools vcdimager cdrtools ];
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
version = "${major}.${minor}";
|
||||
@ -13,12 +15,12 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.gnome.org/sources/brasero/${major}/${name}.tar.xz";
|
||||
sha256 = "68fef2699b772fa262d855dac682100dbfea05563a7e4056eff8fe6447aec2fc";
|
||||
sha256 = "09vi2hyhl0bz7imv3ky6h7x5m3d546n968wcghydwrkvwm9ylpls";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig itstool intltool wrapGAppsHook ];
|
||||
|
||||
buildInputs = [ gtk3 libxml2 libnotify libcanberra_gtk3 libdvdcss
|
||||
buildInputs = [ gtk3 libxml2 libnotify libcanberra_gtk3
|
||||
gst_all_1.gstreamer gst_all_1.gst-plugins-base
|
||||
gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad
|
||||
gst_all_1.gst-plugins-ugly gst_all_1.gst-libav ];
|
||||
@ -27,14 +29,15 @@ in stdenv.mkDerivation rec {
|
||||
# will obviously not work on nix
|
||||
patches = [ ./remove-symlink-check.patch ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
configureFlags = [
|
||||
"--with-girdir=$out/share/gir-1.0"
|
||||
"--with-typelibdir=$out/lib/girepository-1.0" ];
|
||||
|
||||
NIX_CFLAGS_LINK = [ "-ldvdcss" ];
|
||||
"--with-typelibdir=$out/lib/girepository-1.0"
|
||||
];
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(--prefix PATH : "${binpath}")
|
||||
gappsWrapperArgs+=(--prefix PATH : "${binpath}" --prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH")
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user