uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
|
|
@ -0,0 +1,8 @@
|
|||
--- a/corepkit/CMakeLists.txt 2021-12-25 17:52:20.000000000 +0700
|
||||
+++ b/corepkit/CMakeLists.txt 2021-12-29 17:58:09.298024297 +0700
|
||||
@@ -32,4 +32,4 @@
|
||||
target_link_libraries( corepkit Qt5::Core )
|
||||
|
||||
install( TARGETS corepkit DESTINATION libexec/coreapps/ )
|
||||
-install( FILES org.cubocore.coreapps.policy DESTINATION share/polkit-1/actions/ )
|
||||
+install( FILES org.cubocore.coreapps.policy DESTINATION ${CMAKE_INSTALL_PREFIX}/usr/share/polkit-1/actions/ )
|
||||
|
|
@ -0,0 +1,87 @@
|
|||
{ mkDerivation
|
||||
, lib
|
||||
, fetchFromGitLab
|
||||
, ffmpeg
|
||||
, cmake
|
||||
, ninja
|
||||
, qtbase
|
||||
, qtx11extras
|
||||
, qtconnectivity
|
||||
, v4l-utils
|
||||
, grim
|
||||
, wf-recorder
|
||||
, libdbusmenu
|
||||
, playerctl
|
||||
, xorg
|
||||
, iio-sensor-proxy
|
||||
, inotify-tools
|
||||
, bluez
|
||||
, networkmanager
|
||||
, connman
|
||||
, redshift
|
||||
, gawk
|
||||
, polkit
|
||||
, libnotify
|
||||
, systemd
|
||||
, xdg-utils
|
||||
, libcprime
|
||||
, libcsys
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "coretoppings";
|
||||
version = "4.3.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "cubocore/coreapps";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-Yq57dY1zIuQN2Gj9haxJMomafL32B+/9v3lWlY9fvcc=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix file cannot create directory: /var/empty/share/polkit-1/actions
|
||||
./0001-fix-install-phase.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qtbase
|
||||
qtx11extras
|
||||
qtconnectivity
|
||||
libdbusmenu
|
||||
ffmpeg
|
||||
v4l-utils
|
||||
grim
|
||||
wf-recorder
|
||||
playerctl
|
||||
xorg.xrandr
|
||||
xorg.xinput
|
||||
xorg.libXdamage
|
||||
iio-sensor-proxy
|
||||
inotify-tools
|
||||
bluez
|
||||
networkmanager
|
||||
connman
|
||||
redshift
|
||||
gawk
|
||||
polkit
|
||||
libnotify
|
||||
systemd
|
||||
xdg-utils
|
||||
libcprime
|
||||
libcsys
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Additional features,plugins etc for CuboCore Application Suite";
|
||||
homepage = "https://gitlab.com/cubocore/coreapps/coretoppings";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ dan4ik605743 ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue