Merge pull request #103465 from SCOTT-HAMILTON/hsetroot
hsetroot: 1.0.2 -> 1.0.5
This commit is contained in:
commit
4898f2b9ca
@ -1,36 +1,40 @@
|
|||||||
{ stdenv, fetchurl, autoconf, automake, imlib2, libtool, libX11, pkgconfig, xorgproto }:
|
{ stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pkg-config
|
||||||
|
, imlib2
|
||||||
|
, libX11
|
||||||
|
, libXinerama
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "hsetroot";
|
pname = "hsetroot";
|
||||||
version = "1.0.2";
|
version = "1.0.5";
|
||||||
|
|
||||||
# The primary download site seems to no longer exist; use Gentoo's mirror for now.
|
src = fetchFromGitHub {
|
||||||
src = fetchurl {
|
owner = "himdel";
|
||||||
url = "http://mirror.datapipe.net/gentoo/distfiles/hsetroot-${version}.tar.gz";
|
repo = "hsetroot";
|
||||||
sha256 = "d6712d330b31122c077bfc712ec4e213abe1fe71ab24b9150ae2774ca3154fd7";
|
rev = version;
|
||||||
|
sha256 = "1jbk5hlxm48zmjzkaq5946s58rqwg1v1ds2sdyd2ba029hmvr722";
|
||||||
};
|
};
|
||||||
|
|
||||||
# See https://bugs.gentoo.org/show_bug.cgi?id=504056
|
nativeBuildInputs = [ pkg-config ];
|
||||||
underlinkingPatch = fetchurl {
|
buildInputs = [
|
||||||
url = "http://www.gtlib.gatech.edu/pub/gentoo/gentoo-x86-portage/x11-misc/hsetroot/files/hsetroot-1.0.2-underlinking.patch";
|
imlib2
|
||||||
name = "hsetroot-1.0.2-underlinking.patch";
|
libX11
|
||||||
sha256 = "1px1p3wz7ji725z9nlwb0x0h6lnnvnpz15sblzzq7zrijl3wz65x";
|
libXinerama
|
||||||
};
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
makeFlags = [ "PREFIX=$(out)" ];
|
||||||
buildInputs = [ autoconf automake imlib2 libtool libX11 xorgproto ];
|
|
||||||
|
|
||||||
patches = [ underlinkingPatch ];
|
preInstall = ''
|
||||||
|
mkdir -p "$out/bin"
|
||||||
patchFlags = [ "-p0" ];
|
'';
|
||||||
|
|
||||||
preConfigure = "./autogen.sh";
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Allows you to compose wallpapers ('root pixmaps') for X";
|
description = "Allows you to compose wallpapers ('root pixmaps') for X";
|
||||||
homepage = "https://thegraveyard.org/hsetroot.html";
|
homepage = "https://github.com/himdel/hsetroot";
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = [ maintainers.henrytill ];
|
maintainers = with maintainers; [ henrytill shamilton ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user