3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #274739 from 3JlOy-PYCCKUi/anilibria-winmaclinux

anilibria-winmaclinux: 1.2.12 -> 1.2.14
This commit is contained in:
Sandro 2024-01-23 10:28:00 +01:00 committed by GitHub
commit a9767322d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,6 +2,7 @@
, lib
, fetchFromGitHub
, qmake
, pkg-config
, qtbase
, qtquickcontrols2
, qtwebsockets
@ -15,29 +16,27 @@
mkDerivation rec {
pname = "anilibria-winmaclinux";
version = "1.2.12";
version = "1.2.14";
src = fetchFromGitHub {
owner = "anilibria";
repo = "anilibria-winmaclinux";
rev = version;
sha256 = "sha256-J9MBnHrVnDaJ8Ykf/n8OkWKbK/JfMxorH9E+mKe3T8k=";
rev = "d941607f078c72fca104ee1e7916cc0ddcc0acf5";
sha256 = "sha256-G4KlYAjOT1UV29vcX7Q8dMTj0BX0rsJcLtK2MQag5nU=";
};
sourceRoot = "source/src";
qmakeFlags = [ "PREFIX=${placeholder "out"}" ];
qmakeFlags = [ "PREFIX=${placeholder "out"}" "CONFIG+=unixvlc" ];
patches = [
./0001-fix-installation-paths.patch
./0002-disable-version-check.patch
./0003-build-with-vlc.patch
];
preConfigure = ''
substituteInPlace AniLibria.pro \
--replace "\$\$PREFIX" '${placeholder "out"}' \
--replace '@VLC_PATH@' '${libvlc}/include'
--replace "\$\$PREFIX" '${placeholder "out"}'
'';
qtWrapperArgs = [
@ -52,6 +51,7 @@ mkDerivation rec {
nativeBuildInputs = [
qmake
pkg-config
wrapQtAppsHook
copyDesktopItems
];