git.iko.soy/typeable/nixpkgs
on master help sign in
imlibsetroot: init at 1.2
commit85f532bf4166da24e014822257050ef4b5ea14ff authorlucas8 <luc.linux@mailoo.org> dateFri 19 Aug 2016, 11:27 (10 years ago) parent2b0eace
3 files changed+32
lib/maintainers.nix+1 pkgs/applications/graphics/imlibsetroot/default.nix+29 pkgs/top-level/all-packages.nix+2
lib/maintainers.nix+1
@@ -226,6 +226,7 @@
226226 lovek323 = "Jason O'Conal <jason@oconal.id.au>";
227227 lowfatcomputing = "Andreas Wagner <andreas.wagner@lowfatcomputing.org>";
228228 lsix = "Lancelot SIX <lsix@lancelotsix.com>";
229+ lucas8 = "Luc Chabassier <luc.linux@mailoo.org>";
229230 ludo = "Ludovic Courtès <ludo@gnu.org>";
230231 luispedro = "Luis Pedro Coelho <luis@luispedro.org>";
231232 lukasepple = "Lukas Epple <post@lukasepple.de>";
pkgs/applications/graphics/imlibsetroot/default.nixnew file+29
@@ -0,0 +1,29 @@
1+{ stdenv, fetchurl, libX11, libXinerama, imlib2 }:
2+
3+stdenv.mkDerivation rec {
4+ name = "imlibsetroot-${version}";
5+ version = "1.2";
6+ src = fetchurl {
7+ url = "http://robotmonkeys.net/wp-content/uploads/2010/03/imlibsetroot-12.tar.gz";
8+ sha256 = "8c1b3b7c861e4d865883ec13a96b8e4ab22464a87d4e6c67255b17a88e3cfd1c";
9+ };
10+
11+ buildInputs = [ libX11 imlib2 libXinerama ];
12+ buildPhase = ''
13+ gcc -g imlibsetroot.c -o imlibsetroot \
14+ `imlib2-config --cflags` `imlib2-config --libs` \
15+ -I/include/X11/extensions -lXinerama -lX11
16+ '';
17+ installPhase = ''
18+ mkdir -p $out/bin
19+ install -m 755 imlibsetroot $out/bin
20+ '';
21+
22+ meta = with stdenv.lib; {
23+ description = "A Xinerama Aware Background Changer";
24+ homepage = "http://robotmonkeys.net/2010/03/30/imlibsetroot/";
25+ license = licenses.gpl2;
26+ platforms = platforms.linux;
27+ maintainers = with maintainers; [ lucas8 ];
28+ };
29+}
pkgs/top-level/all-packages.nix+2
@@ -7766,6 +7766,8 @@ in
77667766
77677767 imlib2 = callPackage ../development/libraries/imlib2 { };
77687768
7769+ imlibsetroot = callPackage ../applications/graphics/imlibsetroot { libXinerama = xorg.libXinerama; } ;
7770+
77697771 ijs = callPackage ../development/libraries/ijs { };
77707772
77717773 incrtcl = callPackage ../development/libraries/incrtcl { };