mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-05 02:23:07 +03:00
Merge pull request #102526 from IvarWithoutBones/empty-capitaine-cursors-fix
capitaine-cursors: fix build with inkscape => 1.0
This commit is contained in:
commit
7b6ccbfba0
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub
|
{ stdenv, fetchFromGitHub, fetchpatch, makeFontsConf
|
||||||
, inkscape, xcursorgen, bc }:
|
, inkscape, xcursorgen, bc }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -12,11 +12,23 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0652ydy73x29z7wc6ccyqihmfg4bk0ksl7yryycln6c7i0iqfmc9";
|
sha256 = "0652ydy73x29z7wc6ccyqihmfg4bk0ksl7yryycln6c7i0iqfmc9";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fixes the build on inscape => 1.0, without this it generates empty cursor files
|
||||||
|
(fetchpatch {
|
||||||
|
name = "inkscape-1.0-compat";
|
||||||
|
url = "https://github.com/keeferrourke/capitaine-cursors/commit/9da0b53e6098ed023c5c24c6ef6bfb1f68a79924.patch";
|
||||||
|
sha256 = "0lx5i60ahy6a2pir4zzlqn5lqsv6claqg8mv17l1a028h9aha3cv";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs =[
|
# Complains about not being able to find the fontconfig config file otherwise
|
||||||
|
FONTCONFIG_FILE = makeFontsConf { fontDirectories = [ ]; };
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
inkscape
|
inkscape
|
||||||
xcursorgen
|
xcursorgen
|
||||||
bc
|
bc
|
||||||
@ -36,14 +48,10 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = ''
|
description = "An x-cursor theme inspired by macOS and based on KDE Breeze";
|
||||||
An x-cursor theme inspired by macOS and based on KDE Breeze
|
|
||||||
'';
|
|
||||||
homepage = "https://github.com/keeferrourke/capitaine-cursors";
|
homepage = "https://github.com/keeferrourke/capitaine-cursors";
|
||||||
license = licenses.lgpl3;
|
license = licenses.lgpl3;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [
|
maintainers = with maintainers; [ eadwu ];
|
||||||
eadwu
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user