mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
anilibria-winmaclinux: 1.2.12 -> 1.2.14
This commit is contained in:
parent
1c53ca6485
commit
babc062694
@ -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
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user