Merge pull request #13541 from romildo/update.tint2
tint2: 0.12 -> 0.12.7
This commit is contained in:
commit
7c245c4f40
1 changed files with 12 additions and 13 deletions
|
@ -1,27 +1,31 @@
|
|||
{ stdenv, fetchurl, pkgconfig, cmake, pango, cairo, glib, imlib2, libXinerama
|
||||
{ stdenv, fetchFromGitLab, pkgconfig, cmake, pango, cairo, glib, imlib2, libXinerama
|
||||
, libXrender, libXcomposite, libXdamage, libX11, libXrandr, gtk, libpthreadstubs
|
||||
, libXdmcp, librsvg, fetchgit
|
||||
, libXdmcp, librsvg, libstartup_notification
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "tint2-${version}";
|
||||
version = "0.12";
|
||||
version = "0.12.7";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://gitlab.com/o9000/tint2.git";
|
||||
src = fetchFromGitLab {
|
||||
owner = "o9000";
|
||||
repo = "tint2";
|
||||
rev = version;
|
||||
sha256 = "0pd84ydpqz2l6gkhj565nqi2xyiph8zfpn4xha60xshqpsg3pqjq";
|
||||
sha256 = "01wb1yy7zfi01fl34yzpn1d30fykcf8ivmdlynnxp5znqrdsqm2r";
|
||||
};
|
||||
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = [ pkgconfig cmake pango cairo glib imlib2 libXinerama
|
||||
libXrender libXcomposite libXdamage libX11 libXrandr gtk libpthreadstubs
|
||||
libXdmcp librsvg
|
||||
libXdmcp librsvg libstartup_notification
|
||||
];
|
||||
|
||||
preConfigure =
|
||||
''
|
||||
substituteInPlace CMakeLists.txt --replace /etc $out/etc
|
||||
'';
|
||||
|
||||
prePatch =
|
||||
''
|
||||
substituteInPlace ./src/tint2conf/properties.c --replace /usr/share/ /run/current-system/sw/share/
|
||||
|
@ -29,11 +33,6 @@ stdenv.mkDerivation rec {
|
|||
substituteInPlace ./src/launcher/icon-theme-common.c --replace /usr/share/ /run/current-system/sw/share/
|
||||
'';
|
||||
|
||||
cmakeFlags = [
|
||||
"-DENABLE_TINT2CONF=0"
|
||||
"-DENABLE_SN=0"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = https://gitlab.com/o9000/tint2;
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
|
|
Loading…
Reference in a new issue