Merge staging-next into staging
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
, config
|
||||
, pkgconfig, python3, gst-plugins-base, orc
|
||||
, gobject-introspection
|
||||
, enableZbar ? true
|
||||
, faacSupport ? false, faac ? null
|
||||
, faad2, libass, libkate, libmms, librdf, ladspaH
|
||||
, libnice, webrtc-audio-processing, lilv, lv2, serd, sord, sratom
|
||||
@@ -136,13 +137,13 @@ stdenv.mkDerivation rec {
|
||||
soundtouch
|
||||
spandsp
|
||||
srtp
|
||||
zbar
|
||||
fluidsynth libvdpau
|
||||
libwebp xvidcore gnutls libGLU_combined
|
||||
libgme openssl x265 libxml2
|
||||
libintl
|
||||
srt
|
||||
]
|
||||
++ optional enableZbar zbar
|
||||
++ optional faacSupport faac
|
||||
++ optional stdenv.isLinux wayland
|
||||
# wildmidi requires apple's OpenAL
|
||||
@@ -158,6 +159,7 @@ stdenv.mkDerivation rec {
|
||||
"-Dexamples=disabled" # requires many dependencies and probably not useful for our users
|
||||
|
||||
"-Ddts=disabled" # required `libdca` library not packaged in nixpkgs as of writing, and marked as "BIG FAT WARNING: libdca is still in early development"
|
||||
"-Dzbar=${if enableZbar then "enabled" else "disabled"}"
|
||||
"-Dfaac=${if faacSupport then "enabled" else "disabled"}"
|
||||
"-Diqa=disabled" # required `dssim` library not packaging in nixpkgs as of writing
|
||||
"-Dmsdk=disabled" # not packaged in nixpkgs as of writing / no Windows support
|
||||
|
||||
@@ -154,17 +154,13 @@ stdenv.mkDerivation rec {
|
||||
done
|
||||
'';
|
||||
|
||||
# Make all demo related things in dev
|
||||
postFixup = ''
|
||||
moveToOutput share/icons/hicolor "$dev"
|
||||
moveToOutput share/applications "$dev"
|
||||
moveToOutput share/gsettings-schemas "$dev"
|
||||
|
||||
# Wrap demos
|
||||
postFixup = optionalString (!stdenv.isDarwin) ''
|
||||
demos=(gtk3-demo gtk3-demo-application gtk3-icon-browser gtk3-widget-factory)
|
||||
|
||||
for program in ''${demos[@]}; do
|
||||
wrapProgram $dev/bin/$program \
|
||||
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:$dev/share/gsettings-schemas/${pname}-${version}"
|
||||
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:$out/share/gsettings-schemas/${pname}-${version}"
|
||||
done
|
||||
'';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, lib, bzip2, cmake, gflags, lz4, snappy, zlib, zstd, enableLite ? false }:
|
||||
{ stdenv, fetchFromGitHub, lib, bzip2, cmake, lz4, snappy, zlib, zstd, enableLite ? false }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rocksdb";
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ bzip2 gflags lz4 snappy zlib zstd ];
|
||||
buildInputs = [ bzip2 lz4 snappy zlib zstd ];
|
||||
|
||||
patches = [ ./0001-findzlib.patch ];
|
||||
|
||||
@@ -27,6 +27,7 @@ stdenv.mkDerivation rec {
|
||||
"-DWITH_SNAPPY=1"
|
||||
"-DWITH_ZLIB=1"
|
||||
"-DWITH_ZSTD=1"
|
||||
"-DWITH_GFLAGS=0"
|
||||
(lib.optional
|
||||
(stdenv.hostPlatform.system == "i686-linux"
|
||||
|| stdenv.hostPlatform.system == "x86_64-linux")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, asciidoc }:
|
||||
{ stdenv, fetchFromGitHub, cmake, asciidoc, enableDrafts ? false }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "zeromq-${version}";
|
||||
@@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
doCheck = false; # fails all the tests (ctest)
|
||||
|
||||
cmakeFlags = if enableDrafts then [ "-DENABLE_DRAFTS=ON" ] else null;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
branch = "4";
|
||||
homepage = http://www.zeromq.org;
|
||||
|
||||
Reference in New Issue
Block a user