neocomp: 2019-03-12 -> unstable-2021-04-06

This commit is contained in:
fortuneteller2k 2021-04-15 12:49:33 +08:00
parent c906464396
commit 33ffc32fb4

View File

@ -16,27 +16,30 @@
, libXinerama , libXinerama
, libXrandr , libXrandr
, libXrender , libXrender
, libXres
, pcre , pcre
, pkg-config , pkg-config
}: }:
let
rev = "v0.6-17-g271e784";
in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "neocomp-unstable"; pname = "neocomp";
version = "2019-03-12"; version = "unstable-2021-04-06";
src = fetchFromGitHub { src = fetchFromGitHub {
inherit rev; owner = "DelusionalLogic";
owner = "DelusionalLogic"; repo = "NeoComp";
repo = "NeoComp"; rev = "ccd340d7b2dcd3f828aff958a638cc23686aee6f";
sha256 = "1mp338vz1jm5pwf7pi5azx4hzykmvpkwzx1kw6a9anj272f32zpg"; sha256 = "sha256-tLLEwpAGNVTC+N41bM7pfskIli4Yvc95wH2/NT0OZ+8=";
}; };
buildInputs = [ nativeBuildInputs = [
asciidoc asciidoc
docbook_xml_dtd_45 docbook_xml_dtd_45
docbook_xsl docbook_xsl
pkg-config
];
buildInputs = [
freetype freetype
judy judy
libGL libGL
@ -50,15 +53,15 @@ stdenv.mkDerivation rec {
libXinerama libXinerama
libXrandr libXrandr
libXrender libXrender
libXres
pcre pcre
pkg-config
]; ];
makeFlags = [ makeFlags = [
"PREFIX=${placeholder "out"}" "PREFIX=${placeholder "out"}"
"CFGDIR=${placeholder "out"}/etc/xdg/neocomp" "CFGDIR=${placeholder "out"}/etc/xdg/neocomp"
"ASTDIR=${placeholder "out"}/share/neocomp/assets" "ASTDIR=${placeholder "out"}/share/neocomp/assets"
"COMPTON_VERSION=git-${rev}-${version}" "COMPTON_VERSION=${version}"
]; ];
postPatch = '' postPatch = ''
@ -72,8 +75,8 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
homepage = "https://github.com/DelusionalLogic/NeoComp"; homepage = "https://github.com/DelusionalLogic/NeoComp";
license = licenses.gpl3; license = licenses.gpl3Only;
maintainers = with maintainers; [ twey ]; maintainers = with maintainers; [ twey fortuneteller2k ];
platforms = platforms.linux; platforms = platforms.linux;
description = "A fork of Compton, a compositor for X11"; description = "A fork of Compton, a compositor for X11";
longDescription = '' longDescription = ''