Merge pull request #327642 from emilazy/push-xkppnuxutmyo

bino3d: 1.6.8 -> 2.2
This commit is contained in:
Peder Bergebakken Sundt
2024-07-22 15:36:29 +02:00
committed by GitHub
2 changed files with 45 additions and 18 deletions
+44 -15
View File
@@ -1,26 +1,55 @@
{ mkDerivation, lib, fetchurl, pkg-config, ffmpeg_4, glew, libass, openal, qtbase }:
{
lib,
stdenv,
fetchgit,
cmake,
ninja,
pkg-config,
pandoc,
wrapQtAppsHook,
qtbase,
qtmultimedia,
qttools,
}:
mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "bino";
version = "1.6.8";
version = "2.2";
src = fetchurl {
url = "https://bino3d.org/releases/${pname}-${version}.tar.xz";
sha256 = "sha256-8sIdX+qm7CGPHIziFBHHIe+KEbhbwDY6w/iRm1V+so4=";
src = fetchgit {
url = "https://git.marlam.de/git/bino.git";
rev = "bino-${finalAttrs.version}";
hash = "sha256-t7bkpYOswGEjUg+k2gjUkWwZJjj44KIVrEQs5P4DoSI=";
};
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [
cmake
ninja
pkg-config
pandoc
wrapQtAppsHook
];
buildInputs = [ ffmpeg_4 glew libass openal qtbase ];
buildInputs = [
qtbase
qtmultimedia
qttools
# The optional QVR dependency is not currently packaged.
];
enableParallelBuilding = true;
# LTO is currently broken on macOS.
# https://github.com/NixOS/nixpkgs/issues/19098
cmakeFlags = lib.optionals stdenv.isDarwin [
(lib.cmakeBool "CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE" false)
];
meta = with lib; {
description = "Stereoscopic 3D and multi-display video player";
meta = {
description = "Video player with a focus on 3D and Virtual Reality";
homepage = "https://bino3d.org/";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ orivej ];
platforms = platforms.linux;
sourceProvenance = [ lib.sourceTypes.fromSource ];
license = lib.licenses.gpl3Plus;
maintainers = [ lib.maintainers.orivej ];
platforms = lib.platforms.unix;
mainProgram = "bino";
};
}
})
+1 -3
View File
@@ -29442,9 +29442,7 @@ with pkgs;
bibletime = libsForQt5.callPackage ../applications/misc/bibletime { };
bino3d = libsForQt5.callPackage ../applications/video/bino3d {
glew = glew110;
};
bino3d = qt6Packages.callPackage ../applications/video/bino3d { };
bitlbee = callPackage ../applications/networking/instant-messengers/bitlbee { };
bitlbee-plugins = callPackage ../applications/networking/instant-messengers/bitlbee/plugins.nix { };