dino: disable optional features per default as they are experimental
This commit is contained in:
@@ -27,14 +27,14 @@
|
|||||||
srtp,
|
srtp,
|
||||||
libnice,
|
libnice,
|
||||||
gnutls,
|
gnutls,
|
||||||
gstreamer,
|
gst_all_1,
|
||||||
gst-plugins-base,
|
|
||||||
gst-plugins-good,
|
|
||||||
gst-plugins-bad,
|
|
||||||
gst-vaapi,
|
|
||||||
webrtc-audio-processing,
|
webrtc-audio-processing,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
# Upstream is very deliberate about which features are enabled per default or are automatically enabled.
|
||||||
|
# Everything that is disabled per default has to been seen experimental and should not be enabled without strong reasoning.
|
||||||
|
# see https://github.com/NixOS/nixpkgs/issues/469614#issuecomment-3649662176
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "dino";
|
pname = "dino";
|
||||||
version = "0.5.1";
|
version = "0.5.1";
|
||||||
@@ -79,24 +79,13 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
srtp
|
srtp
|
||||||
libnice
|
libnice
|
||||||
gnutls
|
gnutls
|
||||||
gstreamer
|
gst_all_1.gstreamer
|
||||||
gst-plugins-base
|
gst_all_1.gst-plugins-base
|
||||||
gst-plugins-good # contains rtpbin, required for VP9
|
|
||||||
gst-plugins-bad # required for H264, MSDK
|
|
||||||
gst-vaapi # required for VAAPI
|
|
||||||
webrtc-audio-processing
|
webrtc-audio-processing
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
mesonFlags = [
|
|
||||||
"-Dplugin-notification-sound=enabled"
|
|
||||||
"-Dplugin-rtp-h264=enabled"
|
|
||||||
"-Dplugin-rtp-msdk=enabled"
|
|
||||||
"-Dplugin-rtp-vaapi=enabled"
|
|
||||||
"-Dplugin-rtp-vp9=enabled"
|
|
||||||
];
|
|
||||||
|
|
||||||
# Undefined symbols for architecture arm64: "_gpg_strerror"
|
# Undefined symbols for architecture arm64: "_gpg_strerror"
|
||||||
NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isDarwin "-lgpg-error";
|
NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isDarwin "-lgpg-error";
|
||||||
|
|
||||||
@@ -108,7 +97,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
# will load
|
# will load
|
||||||
#
|
#
|
||||||
# See https://github.com/dino/dino/wiki/macOS
|
# See https://github.com/dino/dino/wiki/macOS
|
||||||
postFixup = lib.optionalString (stdenv.hostPlatform.isDarwin) ''
|
postFixup = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||||
cd "$out/lib/dino/plugins/"
|
cd "$out/lib/dino/plugins/"
|
||||||
for f in *.dylib; do
|
for f in *.dylib; do
|
||||||
mv "$f" "$(basename "$f" .dylib).so"
|
mv "$f" "$(basename "$f" .dylib).so"
|
||||||
|
|||||||
@@ -1875,15 +1875,7 @@ with pkgs;
|
|||||||
asciidoc = asciidoc-full;
|
asciidoc = asciidoc-full;
|
||||||
};
|
};
|
||||||
|
|
||||||
dino = callPackage ../applications/networking/instant-messengers/dino {
|
dino = callPackage ../applications/networking/instant-messengers/dino { };
|
||||||
inherit (gst_all_1)
|
|
||||||
gstreamer
|
|
||||||
gst-plugins-base
|
|
||||||
gst-plugins-bad
|
|
||||||
gst-vaapi
|
|
||||||
;
|
|
||||||
gst-plugins-good = gst_all_1.gst-plugins-good.override { gtkSupport = true; };
|
|
||||||
};
|
|
||||||
|
|
||||||
dnschef = python3Packages.callPackage ../tools/networking/dnschef { };
|
dnschef = python3Packages.callPackage ../tools/networking/dnschef { };
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user