mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
Merge pull request #27005 from jtojnar/fix/corebird-gst
gst_all_1.gst-plugins-bad: build gtksink plugin
This commit is contained in:
commit
28b7d016ca
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [
|
||||
gtk3 json_glib sqlite libsoup gettext vala_0_32 gnome3.rest gnome3.dconf gnome3.gspell glib_networking
|
||||
] ++ (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-libav ]);
|
||||
] ++ (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good (gst-plugins-bad.override { gtkSupport = true; }) gst-libav ]);
|
||||
|
||||
meta = {
|
||||
description = "Native Gtk+ Twitter client for the Linux desktop";
|
||||
|
@ -1,5 +1,6 @@
|
||||
{ stdenv, fetchurl, pkgconfig, python, gst-plugins-base, orc
|
||||
, faacSupport ? false, faac ? null
|
||||
, gtkSupport ? false, gtk3 ? null
|
||||
, faad2, libass, libkate, libmms
|
||||
, libmodplug, mpeg2dec, mpg123
|
||||
, openjpeg, libopus, librsvg
|
||||
@ -10,6 +11,7 @@
|
||||
}:
|
||||
|
||||
assert faacSupport -> faac != null;
|
||||
assert gtkSupport -> gtk3 != null;
|
||||
|
||||
let
|
||||
inherit (stdenv.lib) optional optionalString;
|
||||
@ -41,7 +43,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [
|
||||
gst-plugins-base orc
|
||||
faad2 libass libkate libmms
|
||||
faad2 gtk3 libass libkate libmms
|
||||
libmodplug mpeg2dec mpg123
|
||||
openjpeg libopus librsvg
|
||||
fluidsynth libvdpau
|
||||
@ -50,6 +52,8 @@ stdenv.mkDerivation rec {
|
||||
]
|
||||
++ libintlOrEmpty
|
||||
++ optional faacSupport faac
|
||||
# for gtksink
|
||||
++ optional gtkSupport gtk3
|
||||
++ optional stdenv.isLinux wayland
|
||||
# wildmidi requires apple's OpenAL
|
||||
# TODO: package apple's OpenAL, fix wildmidi, include on Darwin
|
||||
|
Loading…
Reference in New Issue
Block a user