tint2: 16.4 -> 16.6.1 (#46994)

This commit is contained in:
José Romildo Malaquias 2018-09-20 13:37:33 -03:00 committed by xeji
parent a32d7e0c74
commit 0c631248c1

View File

@ -6,13 +6,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "tint2-${version}"; name = "tint2-${version}";
version = "16.4"; version = "16.6.1";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "o9000"; owner = "o9000";
repo = "tint2"; repo = "tint2";
rev = version; rev = version;
sha256 = "1h9l45zimai2hqfcf2y98g4i03imhmvm3mlsld9x99i650kxr5jm"; sha256 = "1h5bn4vi7gffwi4mpwpn0s6vxvl44rn3m9b23w8q9zyz9v24flz7";
}; };
enableParallelBuilding = true; enableParallelBuilding = true;
@ -24,20 +24,18 @@ stdenv.mkDerivation rec {
libXdmcp libstartup_notification hicolor-icon-theme ]; libXdmcp libstartup_notification hicolor-icon-theme ];
postPatch = '' postPatch = ''
substituteInPlace CMakeLists.txt --replace /etc $out/etc
for f in ./src/launcher/apps-common.c \ for f in ./src/launcher/apps-common.c \
./src/launcher/icon-theme-common.c \ ./src/launcher/icon-theme-common.c
./themes/*tint2rc
do do
substituteInPlace $f --replace /usr/share/ /run/current-system/sw/share/ substituteInPlace $f --replace /usr/share/ /run/current-system/sw/share/
done done
''; '';
meta = { meta = with stdenv.lib; {
homepage = https://gitlab.com/o9000/tint2; homepage = https://gitlab.com/o9000/tint2;
description = "Simple panel/taskbar unintrusive and light (memory, cpu, aestetic)"; description = "Simple panel/taskbar unintrusive and light (memory, cpu, aestetic)";
license = stdenv.lib.licenses.gpl2; license = licenses.gpl2;
platforms = stdenv.lib.platforms.linux; platforms = platforms.linux;
maintainers = [ stdenv.lib.maintainers.romildo ]; maintainers = [ maintainers.romildo ];
}; };
} }