2016-07-30 03:13:00 +01:00
|
|
|
{
|
2017-05-16 16:56:41 +01:00
|
|
|
mkDerivation, lib,
|
2017-05-17 20:26:11 +01:00
|
|
|
extra-cmake-modules, kdoctools,
|
|
|
|
exiv2, lcms2,
|
|
|
|
baloo, kactivities, kdelibs4support, kio, kipi-plugins, libkdcraw, libkipi,
|
2019-06-27 02:34:14 +01:00
|
|
|
phonon, qtimageformats, qtsvg, qtx11extras, kinit, fetchpatch
|
2016-04-21 17:00:51 +01:00
|
|
|
}:
|
|
|
|
|
2017-05-16 16:56:41 +01:00
|
|
|
mkDerivation {
|
|
|
|
name = "gwenview";
|
|
|
|
meta = {
|
|
|
|
license = with lib.licenses; [ gpl2 fdl12 ];
|
|
|
|
maintainers = [ lib.maintainers.ttuegel ];
|
|
|
|
};
|
2017-05-17 20:26:11 +01:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
2017-05-22 19:49:07 +01:00
|
|
|
buildInputs = [
|
|
|
|
baloo exiv2 kactivities kdelibs4support kio libkdcraw lcms2 libkipi phonon
|
2017-05-17 20:26:11 +01:00
|
|
|
qtimageformats qtsvg qtx11extras
|
2017-05-16 16:56:41 +01:00
|
|
|
];
|
2017-08-04 09:58:44 +01:00
|
|
|
propagatedUserEnvPkgs = [ kipi-plugins libkipi (lib.getBin kinit) ];
|
2019-06-27 02:34:14 +01:00
|
|
|
|
|
|
|
# Fixes build with exiv2-0.27.1. Drop in 19.04.2
|
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/KDE/gwenview/commit/172560b845460b6121154f88221c855542219943.patch";
|
|
|
|
sha256 = "0y1l34h2s7rhfknvg6ggcc389jfzhpq69wf0s3xd5ccwfw7c0ycq";
|
|
|
|
})
|
|
|
|
];
|
2016-10-18 12:45:30 +01:00
|
|
|
}
|