2016-07-30 04:13:00 +02:00
|
|
|
{
|
2017-05-16 17:56:41 +02:00
|
|
|
mkDerivation, lib,
|
2017-05-17 21:26:11 +02:00
|
|
|
extra-cmake-modules, kdoctools,
|
|
|
|
exiv2, lcms2,
|
|
|
|
baloo, kactivities, kdelibs4support, kio, kipi-plugins, libkdcraw, libkipi,
|
2019-06-27 03:34:14 +02:00
|
|
|
phonon, qtimageformats, qtsvg, qtx11extras, kinit, fetchpatch
|
2016-04-21 18:00:51 +02:00
|
|
|
}:
|
|
|
|
|
2017-05-16 17:56:41 +02:00
|
|
|
mkDerivation {
|
|
|
|
name = "gwenview";
|
|
|
|
meta = {
|
|
|
|
license = with lib.licenses; [ gpl2 fdl12 ];
|
|
|
|
maintainers = [ lib.maintainers.ttuegel ];
|
|
|
|
};
|
2017-05-17 21:26:11 +02:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
2017-05-22 20:49:07 +02:00
|
|
|
buildInputs = [
|
|
|
|
baloo exiv2 kactivities kdelibs4support kio libkdcraw lcms2 libkipi phonon
|
2017-05-17 21:26:11 +02:00
|
|
|
qtimageformats qtsvg qtx11extras
|
2017-05-16 17:56:41 +02:00
|
|
|
];
|
2017-08-04 10:58:44 +02:00
|
|
|
propagatedUserEnvPkgs = [ kipi-plugins libkipi (lib.getBin kinit) ];
|
2019-06-27 03:34:14 +02: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 13:45:30 +02:00
|
|
|
}
|