Skip to content

Commit

Permalink
Merge pull request #303775 from 3JlOy-PYCCKUi/anilibria-winmaclinux
Browse files Browse the repository at this point in the history
anilibria-winmaclinux: 1.2.15 -> 1.2.16.1
  • Loading branch information
kirillrdy authored Apr 13, 2024
2 parents 3860566 + 96eb78b commit 46e0c97
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 34 deletions.

This file was deleted.

17 changes: 11 additions & 6 deletions pkgs/applications/video/anilibria-winmaclinux/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,27 @@
, wrapQtAppsHook
, makeDesktopItem
, copyDesktopItems
, libvlc

, withVLC ? true , libvlc
, withMPV ? true , mpv-unwrapped
}:

mkDerivation rec {
pname = "anilibria-winmaclinux";
version = "1.2.15";
version = "1.2.16.1";

src = fetchFromGitHub {
owner = "anilibria";
repo = "anilibria-winmaclinux";
rev = version;
sha256 = "sha256-pfM3o4H3XJ4ZE0FXVR1k8pc7lr7SOQjKEMWuG9YkvvI=";
hash = "sha256-QQliz/tLeYsWgh/ZAO7FfbApAEqWhWoaQe9030QZxA8=";
};

sourceRoot = "${src.name}/src";

qmakeFlags = [ "PREFIX=${placeholder "out"}" "CONFIG+=unixvlc" ];
qmakeFlags = [ "PREFIX=${placeholder "out"}" ]
++ lib.optionals withVLC [ "CONFIG+=unixvlc" ]
++ lib.optionals withMPV [ "CONFIG+=unixmpv" ];

patches = [
./0001-fix-installation-paths.patch
Expand Down Expand Up @@ -61,14 +65,15 @@ mkDerivation rec {
qtquickcontrols2
qtwebsockets
qtmultimedia
libvlc
] ++ (with gst_all_1; [
gst-plugins-bad
gst-plugins-good
gst-plugins-base
gst-libav
gstreamer
]);
])
++ lib.optionals withVLC [ libvlc ]
++ lib.optionals withMPV [ mpv-unwrapped.dev ];

desktopItems = [
(makeDesktopItem (rec {
Expand Down

0 comments on commit 46e0c97

Please sign in to comment.