git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #17843 from lucas8/imlibsetroot

imlibsetroot: init at 1.2

commitfd8e5bf117889dc4dd92b00c90e8094241193d10 authorJörg Thalheim <joerg@higgsboson.tk> dateSun 2 Oct 2016, 16:39 (10 years ago) parent3d93d3385f532b
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
@@ -234,6 +234,7 @@
234234 lovek323 = "Jason O'Conal <jason@oconal.id.au>";
235235 lowfatcomputing = "Andreas Wagner <andreas.wagner@lowfatcomputing.org>";
236236 lsix = "Lancelot SIX <lsix@lancelotsix.com>";
237+ lucas8 = "Luc Chabassier <luc.linux@mailoo.org>";
237238 ludo = "Ludovic Courtès <ludo@gnu.org>";
238239 luispedro = "Luis Pedro Coelho <luis@luispedro.org>";
239240 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
@@ -7254,6 +7254,8 @@ in
72547254
72557255 imlib2 = callPackage ../development/libraries/imlib2 { };
72567256
7257+ imlibsetroot = callPackage ../applications/graphics/imlibsetroot { libXinerama = xorg.libXinerama; } ;
7258+
72577259 ijs = callPackage ../development/libraries/ijs { };
72587260
72597261 incrtcl = callPackage ../development/libraries/incrtcl { };