arc-theme: 20210127 -> 20210412, switch to meson
This commit is contained in:
parent
f070de253c
commit
28f2476fe4
|
@ -1,9 +1,11 @@
|
||||||
{ lib, stdenv
|
{ lib, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, sassc
|
, sassc
|
||||||
, autoreconfHook
|
, meson
|
||||||
|
, ninja
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, gtk3
|
, gtk3
|
||||||
|
, glib
|
||||||
, gnome
|
, gnome
|
||||||
, gtk-engine-murrine
|
, gtk-engine-murrine
|
||||||
, optipng
|
, optipng
|
||||||
|
@ -13,22 +15,24 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "arc-theme";
|
pname = "arc-theme";
|
||||||
version = "20210127";
|
version = "20210412";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jnsh";
|
owner = "jnsh";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-P7YZTD5bAWNWepL7qsZZAMf8ujzNbHOj/SLx8Fw3bi4=";
|
sha256 = "sha256-BNJirtBtdWsIzQfsJsZzg1zFbJEzZPq1j2qZ+1QjRH8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
autoreconfHook
|
meson
|
||||||
|
ninja
|
||||||
pkg-config
|
pkg-config
|
||||||
sassc
|
sassc
|
||||||
optipng
|
optipng
|
||||||
inkscape
|
inkscape
|
||||||
gtk3
|
gtk3
|
||||||
|
glib # for glib-compile-resources
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedUserEnvPkgs = [
|
propagatedUserEnvPkgs = [
|
||||||
|
@ -36,23 +40,21 @@ stdenv.mkDerivation rec {
|
||||||
gtk-engine-murrine
|
gtk-engine-murrine
|
||||||
];
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
# Shut up inkscape's warnings about creating profile directory
|
# Shut up inkscape's warnings about creating profile directory
|
||||||
export HOME="$NIX_BUILD_ROOT"
|
export HOME="$NIX_BUILD_ROOT"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = [
|
mesonFlags = [
|
||||||
"--with-cinnamon=${cinnamon.cinnamon-common.version}"
|
"-Dthemes=cinnamon,gnome-shell,gtk2,gtk3,plank,xfwm"
|
||||||
"--with-gnome-shell=${gnome.gnome-shell.version}"
|
"-Dvariants=light,darker,dark,lighter"
|
||||||
"--disable-unity"
|
"-Dcinnamon_version=${cinnamon.cinnamon-common.version}"
|
||||||
|
"-Dgnome_shell_version=${gnome.gnome-shell.version}"
|
||||||
|
"-Dgtk3_version=${gtk3.version}"
|
||||||
|
# You will need to patch gdm to make use of this.
|
||||||
|
"-Dgnome_shell_gresource=true"
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
install -Dm644 -t $out/share/doc/${pname} AUTHORS *.md
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Flat theme with transparent elements for GTK 3, GTK 2 and Gnome Shell";
|
description = "Flat theme with transparent elements for GTK 3, GTK 2 and Gnome Shell";
|
||||||
homepage = "https://github.com/jnsh/arc-theme";
|
homepage = "https://github.com/jnsh/arc-theme";
|
||||||
|
|
Loading…
Reference in New Issue