mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-08 19:45:42 +03:00
photoflow: 2018-08-28 -> 2020-08-28
This commit is contained in:
parent
be9410564a
commit
e981d3a448
2 changed files with 65 additions and 18 deletions
13
pkgs/applications/graphics/photoflow/CMakeLists.patch
Normal file
13
pkgs/applications/graphics/photoflow/CMakeLists.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||||
|
index 9b48beea..078ba20d 100644
|
||||||
|
--- a/src/CMakeLists.txt
|
||||||
|
+++ b/src/CMakeLists.txt
|
||||||
|
@@ -603,7 +603,7 @@ ENDIF(APPLE)
|
||||||
|
#
|
||||||
|
# photoflow executable
|
||||||
|
#
|
||||||
|
-add_executable(photoflow main.cc ${RESOURCE_OBJECT})
|
||||||
|
+add_executable(photoflow main.cc version.cc ${RESOURCE_OBJECT})
|
||||||
|
IF(APPLE)
|
||||||
|
set_target_properties(photoflow PROPERTIES LINK_FLAGS " -framework ApplicationServices ")
|
||||||
|
ENDIF(APPLE)
|
|
@ -1,42 +1,75 @@
|
||||||
{ stdenv, fetchFromGitHub, gettext, glib, libxml2, pkgconfig, swig, automake, gobject-introspection, cmake, ninja, libtiff, libjpeg, fftw, exiv2, lensfun, gtkmm2, libraw, lcms2, libexif, vips, expat, pcre, pugixml }:
|
{ automake
|
||||||
|
, cmake
|
||||||
|
, exiv2
|
||||||
|
, expat
|
||||||
|
, fetchFromGitHub
|
||||||
|
, fftw
|
||||||
|
, fftwFloat
|
||||||
|
, gettext
|
||||||
|
, glib
|
||||||
|
, gobject-introspection
|
||||||
|
, gtkmm2
|
||||||
|
, lcms2
|
||||||
|
, lensfun
|
||||||
|
, libexif
|
||||||
|
, libiptcdata
|
||||||
|
, libjpeg
|
||||||
|
, libraw
|
||||||
|
, libtiff
|
||||||
|
, libxml2
|
||||||
|
, ninja
|
||||||
|
, openexr
|
||||||
|
, pcre
|
||||||
|
, pkgconfig
|
||||||
|
, pugixml
|
||||||
|
, stdenv
|
||||||
|
, swig
|
||||||
|
, vips
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "photoflow-unstable-2018-08-28";
|
pname = "photoflow";
|
||||||
|
version = "2020-08-28";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "aferrero2707";
|
owner = "aferrero2707";
|
||||||
repo = "PhotoFlow";
|
repo = pname;
|
||||||
rev = "df03f2538ddd232e693c307db4ab63eb5bdfea38";
|
rev = "8472024fb91175791e0eb23c434c5b58ecd250eb";
|
||||||
sha256 = "08ybhv08h24y4li8wb4m89xgrz1szlwpksf6vjharp8cznn4y4x9";
|
sha256 = "1bq4733hbh15nwpixpyhqfn3bwkg38amdj2xc0my0pii8l9ln793";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [ ./CMakeLists.patch ];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
automake
|
||||||
|
cmake
|
||||||
gettext
|
gettext
|
||||||
glib
|
glib
|
||||||
|
gobject-introspection
|
||||||
libxml2
|
libxml2
|
||||||
|
ninja
|
||||||
pkgconfig
|
pkgconfig
|
||||||
swig
|
swig
|
||||||
automake
|
|
||||||
gobject-introspection
|
|
||||||
cmake
|
|
||||||
ninja
|
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libtiff
|
|
||||||
libjpeg
|
|
||||||
fftw
|
|
||||||
exiv2
|
exiv2
|
||||||
lensfun
|
expat
|
||||||
|
fftw
|
||||||
|
fftwFloat
|
||||||
gtkmm2 # Could be build with gtk3 but proper UI theme is missing and therefore not very usable with gtk3
|
gtkmm2 # Could be build with gtk3 but proper UI theme is missing and therefore not very usable with gtk3
|
||||||
# See: https://discuss.pixls.us/t/help-needed-for-gtk3-theme/5803
|
# See: https://discuss.pixls.us/t/help-needed-for-gtk3-theme/5803
|
||||||
libraw
|
|
||||||
lcms2
|
lcms2
|
||||||
|
lensfun
|
||||||
libexif
|
libexif
|
||||||
vips
|
libiptcdata
|
||||||
expat
|
libjpeg
|
||||||
|
libraw
|
||||||
|
libtiff
|
||||||
|
openexr
|
||||||
pcre
|
pcre
|
||||||
pugixml
|
pugixml
|
||||||
|
vips
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
|
@ -51,6 +84,7 @@ stdenv.mkDerivation {
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = [ maintainers.MtP ];
|
maintainers = [ maintainers.MtP ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
broken = true;
|
# sse3 is not supported on aarch64
|
||||||
|
badPlatforms = [ "aarch64-linux" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue