mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
ephoto: wrap libcurl.so in LD_LIBRARY_PATH
This commit is contained in:
parent
eef6df55f1
commit
627724d386
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, efl }:
|
{ stdenv, fetchurl, pkgconfig, efl, curl, makeWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ephoto-${version}";
|
name = "ephoto-${version}";
|
||||||
@ -9,13 +9,9 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0l6zrk22fap6pylmzxwp6nycy8l5wdc7jza890h4zrwmpfag8w31";
|
sha256 = "0l6zrk22fap6pylmzxwp6nycy8l5wdc7jza890h4zrwmpfag8w31";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [ pkgconfig makeWrapper ];
|
||||||
pkgconfig
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [ efl curl ];
|
||||||
efl
|
|
||||||
];
|
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = [
|
NIX_CFLAGS_COMPILE = [
|
||||||
"-I${efl}/include/ecore-con-1"
|
"-I${efl}/include/ecore-con-1"
|
||||||
@ -29,6 +25,10 @@ stdenv.mkDerivation rec {
|
|||||||
"-I${efl}/include/ethumb-client-1"
|
"-I${efl}/include/ethumb-client-1"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/ephoto --prefix LD_LIBRARY_PATH : ${curl.out}/lib
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Image viewer and editor written using the Enlightenment Foundation Libraries";
|
description = "Image viewer and editor written using the Enlightenment Foundation Libraries";
|
||||||
homepage = http://smhouston.us/ephoto/;
|
homepage = http://smhouston.us/ephoto/;
|
||||||
|
Loading…
Reference in New Issue
Block a user