imlib2: 1.7.3 -> 1.7.5
This commit is contained in:
parent
f4d82e40e8
commit
597f76f0bb
|
@ -12,11 +12,11 @@ let
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "imlib2";
|
pname = "imlib2";
|
||||||
version = "1.7.3";
|
version = "1.7.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/enlightenment/${pname}-${version}.tar.bz2";
|
url = "mirror://sourceforge/enlightenment/${pname}-${version}.tar.xz";
|
||||||
sha256 = "sha256-FY0LjCC8ESIa+ed6ZKEW/KcFGwPN6ixPMdMfRpOC+Zc=";
|
hash = "sha256-RY2DAKp6bUzjU1GDi7pdn9+wiES9WxU8WTjs/kP/Ngo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -28,11 +28,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
preConfigure = ''
|
|
||||||
substituteInPlace imlib2-config.in \
|
|
||||||
--replace "@my_libs@" ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
# Do not build amd64 assembly code on Darwin, because it fails to compile
|
# Do not build amd64 assembly code on Darwin, because it fails to compile
|
||||||
# with unknow directive errors
|
# with unknow directive errors
|
||||||
configureFlags = optional stdenv.isDarwin "--enable-amd64=no"
|
configureFlags = optional stdenv.isDarwin "--enable-amd64=no"
|
||||||
|
@ -40,10 +35,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
outputs = [ "bin" "out" "dev" ];
|
outputs = [ "bin" "out" "dev" ];
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
moveToOutput bin/imlib2-config "$dev"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Image manipulation library";
|
description = "Image manipulation library";
|
||||||
|
|
||||||
|
@ -56,7 +47,8 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
homepage = "https://docs.enlightenment.org/api/imlib2/html";
|
homepage = "https://docs.enlightenment.org/api/imlib2/html";
|
||||||
license = licenses.mit;
|
changelog = "https://git.enlightenment.org/legacy/imlib2.git/plain/ChangeLog?h=v${version}";
|
||||||
|
license = licenses.imlib2;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ spwhitt ];
|
maintainers = with maintainers; [ spwhitt ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue