tint2: 0.14.6 -> 15.1

This commit is contained in:
José Romildo Malaquias 2017-09-20 06:35:19 -03:00
parent add7faf539
commit ee88bd3424

View File

@ -1,18 +1,18 @@
{ stdenv, fetchFromGitLab, pkgconfig, cmake, gettext, cairo, pango, pcre { stdenv, fetchFromGitLab, pkgconfig, cmake, gettext, cairo, pango, pcre
, glib , imlib2, gtk2, libXinerama , libXrender, libXcomposite, libXdamage , glib, imlib2, gtk2, libXinerama, libXrender, libXcomposite, libXdamage
, libX11 , libXrandr, librsvg, libpthreadstubs , libXdmcp , libX11, libXrandr, librsvg, libpthreadstubs, libXdmcp
, libstartup_notification , hicolor_icon_theme, wrapGAppsHook , libstartup_notification, hicolor_icon_theme, wrapGAppsHook
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "tint2-${version}"; name = "tint2-${version}";
version = "0.14.6"; version = "15.1";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "o9000"; owner = "o9000";
repo = "tint2"; repo = "tint2";
rev = version; rev = version;
sha256 = "0v7i8araj85cbl45icinvmsz5741cx2ybjgkx72m3xfcb9fqg69l"; sha256 = "16mpvknibbqy0vjgkwig7g8i6rivm14ipd7ixvqydgcj7wibn0b7";
}; };
enableParallelBuilding = true; enableParallelBuilding = true;
@ -23,11 +23,8 @@ stdenv.mkDerivation rec {
libXcomposite libXdamage libX11 libXrandr librsvg libpthreadstubs libXcomposite libXdamage libX11 libXrandr librsvg libpthreadstubs
libXdmcp libstartup_notification hicolor_icon_theme ]; libXdmcp libstartup_notification hicolor_icon_theme ];
preConfigure = '' postPatch = ''
substituteInPlace CMakeLists.txt --replace /etc $out/etc substituteInPlace CMakeLists.txt --replace /etc $out/etc
'';
prePatch = ''
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 ./themes/*tint2rc