commit
6882716623
@ -16,7 +16,7 @@
|
|||||||
, withDevices ? true, udisks2
|
, withDevices ? true, udisks2
|
||||||
, withDynamic ? true
|
, withDynamic ? true
|
||||||
, withHttpServer ? true
|
, withHttpServer ? true
|
||||||
, withLibVlc ? false, vlc
|
, withLibVlc ? false, libvlc
|
||||||
, withStreams ? true
|
, withStreams ? true
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -71,7 +71,7 @@ in mkDerivation {
|
|||||||
++ lib.optional withMtp libmtp
|
++ lib.optional withMtp libmtp
|
||||||
++ lib.optional withMusicbrainz libmusicbrainz5
|
++ lib.optional withMusicbrainz libmusicbrainz5
|
||||||
++ lib.optional withUdisks udisks2
|
++ lib.optional withUdisks udisks2
|
||||||
++ lib.optional withLibVlc vlc;
|
++ lib.optional withLibVlc libvlc;
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkgconfig qttools ];
|
nativeBuildInputs = [ cmake pkgconfig qttools ];
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
, withGstreamer ? true
|
, withGstreamer ? true
|
||||||
, gst_all_1 ? null
|
, gst_all_1 ? null
|
||||||
, withVlc ? true
|
, withVlc ? true
|
||||||
, vlc ? null
|
, libvlc ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
@ -75,7 +75,7 @@ mkDerivation rec {
|
|||||||
gst-plugins-good
|
gst-plugins-good
|
||||||
gst-plugins-ugly
|
gst-plugins-ugly
|
||||||
])
|
])
|
||||||
++ lib.optional withVlc vlc;
|
++ lib.optional withVlc libvlc;
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ninja pkgconfig qttools ];
|
nativeBuildInputs = [ cmake ninja pkgconfig qttools ];
|
||||||
|
|
||||||
|
@ -14,13 +14,13 @@
|
|||||||
, kinit
|
, kinit
|
||||||
, kirigami2
|
, kirigami2
|
||||||
, baloo
|
, baloo
|
||||||
, vlc
|
, libvlc
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
name = "elisa";
|
name = "elisa";
|
||||||
|
|
||||||
buildInputs = [ vlc ];
|
buildInputs = [ libvlc ];
|
||||||
|
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, pkgs, python3Packages, makeWrapper
|
{ stdenv, fetchurl, pkgs, python3Packages, makeWrapper
|
||||||
, enablePlayer ? true, vlc ? null, qt5, lib }:
|
, enablePlayer ? true, libvlc ? null, qt5, lib }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "tribler";
|
pname = "tribler";
|
||||||
@ -50,9 +50,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
${stdenv.lib.optionalString enablePlayer ''
|
${stdenv.lib.optionalString enablePlayer ''
|
||||||
substituteInPlace "./TriblerGUI/vlc.py" --replace "ctypes.CDLL(p)" "ctypes.CDLL('${vlc}/lib/libvlc.so')"
|
substituteInPlace "./TriblerGUI/vlc.py" --replace "ctypes.CDLL(p)" "ctypes.CDLL('${libvlc}/lib/libvlc.so')"
|
||||||
substituteInPlace "./TriblerGUI/widgets/videoplayerpage.py" --replace "if vlc and vlc.plugin_path" "if vlc"
|
substituteInPlace "./TriblerGUI/widgets/videoplayerpage.py" --replace "if vlc and vlc.plugin_path" "if vlc"
|
||||||
substituteInPlace "./TriblerGUI/widgets/videoplayerpage.py" --replace "os.environ['VLC_PLUGIN_PATH'] = vlc.plugin_path" "os.environ['VLC_PLUGIN_PATH'] = '${vlc}/lib/vlc/plugins'"
|
substituteInPlace "./TriblerGUI/widgets/videoplayerpage.py" --replace "os.environ['VLC_PLUGIN_PATH'] = vlc.plugin_path" "os.environ['VLC_PLUGIN_PATH'] = '${libvlc}/lib/vlc/plugins'"
|
||||||
''}
|
''}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -69,7 +69,7 @@ stdenv.mkDerivation rec {
|
|||||||
--run 'cd $_TRIBLERPATH' \
|
--run 'cd $_TRIBLERPATH' \
|
||||||
--add-flags "-O $out/run_tribler.py" \
|
--add-flags "-O $out/run_tribler.py" \
|
||||||
${stdenv.lib.optionalString enablePlayer ''
|
${stdenv.lib.optionalString enablePlayer ''
|
||||||
--prefix LD_LIBRARY_PATH : ${vlc}/lib
|
--prefix LD_LIBRARY_PATH : ${libvlc}/lib
|
||||||
''}
|
''}
|
||||||
|
|
||||||
mkdir -p $out/share/applications $out/share/icons $out/share/man/man1
|
mkdir -p $out/share/applications $out/share/icons $out/share/man/man1
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, libhdhomerun, vlc, gcc, gnumake, pkg-config, gtk2 }:
|
{ stdenv, fetchurl, libhdhomerun, gcc, gnumake, pkg-config, gtk2 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "hdhomerun-config-gui";
|
pname = "hdhomerun-config-gui";
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
, xorg
|
, xorg
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, pkgconfig
|
, pkgconfig
|
||||||
, vlc
|
, libvlc
|
||||||
, mbedtls
|
, mbedtls
|
||||||
|
|
||||||
, scriptingSupport ? true
|
, scriptingSupport ? true
|
||||||
@ -65,7 +65,7 @@ in mkDerivation rec {
|
|||||||
qtsvg
|
qtsvg
|
||||||
speex
|
speex
|
||||||
x264
|
x264
|
||||||
vlc
|
libvlc
|
||||||
makeWrapper
|
makeWrapper
|
||||||
mbedtls
|
mbedtls
|
||||||
]
|
]
|
||||||
@ -84,7 +84,7 @@ in mkDerivation rec {
|
|||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/obs \
|
wrapProgram $out/bin/obs \
|
||||||
--prefix "LD_LIBRARY_PATH" : "${xorg.libX11.out}/lib:${vlc}/lib"
|
--prefix "LD_LIBRARY_PATH" : "${xorg.libX11.out}/lib:${libvlc}/lib"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup = stdenv.lib.optionalString stdenv.isLinux ''
|
postFixup = stdenv.lib.optionalString stdenv.isLinux ''
|
||||||
|
@ -99,6 +99,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = "http://www.videolan.org/vlc/";
|
homepage = "http://www.videolan.org/vlc/";
|
||||||
license = licenses.lgpl21Plus;
|
license = licenses.lgpl21Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
broken = versionAtLeast qtbase.version "5.15";
|
broken = if qtbase != null then versionAtLeast qtbase.version "5.15" else false;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, fetchurl, cmake, phonon, pkgconfig, vlc
|
{ stdenv, lib, fetchurl, cmake, phonon, pkgconfig, libvlc
|
||||||
, extra-cmake-modules, qttools, qtbase, qtx11extras
|
, extra-cmake-modules, qttools, qtbase, qtx11extras
|
||||||
, debug ? false
|
, debug ? false
|
||||||
}:
|
}:
|
||||||
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
phonon
|
phonon
|
||||||
vlc
|
libvlc
|
||||||
qtbase
|
qtbase
|
||||||
qtx11extras
|
qtx11extras
|
||||||
];
|
];
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, setuptools
|
, setuptools
|
||||||
, vlc
|
, libvlc
|
||||||
, substituteAll
|
, substituteAll
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
|||||||
patches = [
|
patches = [
|
||||||
(substituteAll {
|
(substituteAll {
|
||||||
src = ./vlc-paths.patch;
|
src = ./vlc-paths.patch;
|
||||||
libvlcPath="${vlc}/lib/libvlc.so.5";
|
libvlcPath="${libvlc}/lib/libvlc.so.5";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, cmake, pkgconfig, git, curl, SDL2, xercesc, openal, lua, vlc
|
{ stdenv, cmake, pkgconfig, git, curl, SDL2, xercesc, openal, lua, libvlc
|
||||||
, libjpeg, wxGTK, cppunit, ftgl, glew, libogg, libvorbis, buildEnv, libpng
|
, libjpeg, wxGTK, cppunit, ftgl, glew, libogg, libvorbis, buildEnv, libpng
|
||||||
, fontconfig, freetype, xorg, makeWrapper, bash, which, gnome3, libGLU, glib
|
, fontconfig, freetype, xorg, makeWrapper, bash, which, gnome3, libGLU, glib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
@ -29,7 +29,7 @@ stdenv.mkDerivation {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ cmake git curl SDL2 xercesc openal lua libpng libjpeg vlc wxGTK
|
buildInputs = [ cmake git curl SDL2 xercesc openal lua libpng libjpeg libvlc wxGTK
|
||||||
glib cppunit fontconfig freetype ftgl glew libogg libvorbis makeWrapper libGLU ];
|
glib cppunit fontconfig freetype ftgl glew libogg libvorbis makeWrapper libGLU ];
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
|
@ -2637,9 +2637,7 @@ in
|
|||||||
|
|
||||||
davix = callPackage ../tools/networking/davix { };
|
davix = callPackage ../tools/networking/davix { };
|
||||||
|
|
||||||
cantata = libsForQt5.callPackage ../applications/audio/cantata {
|
cantata = libsForQt5.callPackage ../applications/audio/cantata { };
|
||||||
inherit vlc;
|
|
||||||
};
|
|
||||||
|
|
||||||
can-utils = callPackage ../os-specific/linux/can-utils { };
|
can-utils = callPackage ../os-specific/linux/can-utils { };
|
||||||
|
|
||||||
@ -15147,8 +15145,6 @@ in
|
|||||||
|
|
||||||
telepathy = callPackage ../development/libraries/telepathy/qt { };
|
telepathy = callPackage ../development/libraries/telepathy/qt { };
|
||||||
|
|
||||||
vlc = callPackage ../applications/video/vlc {};
|
|
||||||
|
|
||||||
qtwebkit-plugins = callPackage ../development/libraries/qtwebkit-plugins { };
|
qtwebkit-plugins = callPackage ../development/libraries/qtwebkit-plugins { };
|
||||||
|
|
||||||
};
|
};
|
||||||
@ -23932,10 +23928,19 @@ in
|
|||||||
|
|
||||||
vkeybd = callPackage ../applications/audio/vkeybd {};
|
vkeybd = callPackage ../applications/audio/vkeybd {};
|
||||||
|
|
||||||
vlc = libsForQt514.vlc;
|
vlc = libsForQt514.callPackage ../applications/video/vlc {};
|
||||||
|
|
||||||
vlc_qt5 = vlc;
|
vlc_qt5 = vlc;
|
||||||
|
|
||||||
|
libvlc = vlc.override {
|
||||||
|
withQt5 = false;
|
||||||
|
qtbase = null;
|
||||||
|
qtsvg = null;
|
||||||
|
qtx11extras = null;
|
||||||
|
wrapQtAppsHook = null;
|
||||||
|
onlyLibVLC = true;
|
||||||
|
};
|
||||||
|
|
||||||
vmpk = callPackage ../applications/audio/vmpk { };
|
vmpk = callPackage ../applications/audio/vmpk { };
|
||||||
|
|
||||||
vocproc = callPackage ../applications/audio/vocproc { };
|
vocproc = callPackage ../applications/audio/vocproc { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user