mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
kipi-plugins: find gdk
svn path=/nixpkgs/trunk/; revision=24091
This commit is contained in:
parent
d7d8f7d64f
commit
4591f1fe51
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, cmake, qt4, kdelibs, automoc4, phonon, qimageblitz, qca2,
|
||||
kdegraphics, kdepimlibs, libxml2, libxslt, gettext, opencv, libgpod}:
|
||||
kdegraphics, kdepimlibs, libxml2, libxslt, gettext, opencv, libgpod, gtk }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "kipi-plugins-1.4.0";
|
||||
@ -10,10 +10,12 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ cmake qt4 kdelibs kdegraphics automoc4 phonon qimageblitz qca2 kdepimlibs
|
||||
libxml2 libxslt gettext opencv libgpod ];
|
||||
libxml2 libxslt gettext opencv libgpod gtk ];
|
||||
|
||||
KDEDIRS = kdegraphics;
|
||||
|
||||
patches = [ ./find-gdk.patch ];
|
||||
|
||||
meta = {
|
||||
description = "Photo Management Program";
|
||||
license = "GPL";
|
||||
|
16
pkgs/applications/graphics/kipi-plugins/find-gdk.patch
Normal file
16
pkgs/applications/graphics/kipi-plugins/find-gdk.patch
Normal file
@ -0,0 +1,16 @@
|
||||
diff --git a/cmake/modules/FindGdk.cmake b/cmake/modules/FindGdk.cmake
|
||||
index 033959a..ff61961 100644
|
||||
--- a/cmake/modules/FindGdk.cmake
|
||||
+++ b/cmake/modules/FindGdk.cmake
|
||||
@@ -23,8 +23,9 @@ else (GDK_INCLUDE_DIR AND GDK_LIBRARIES)
|
||||
set(GDK_DEFINITIONS ${_GDKCflags})
|
||||
endif(NOT WIN32)
|
||||
|
||||
- FIND_PATH(GDK_INCLUDE_DIR gdk-pixbuf/gdk-pixbuf.h /usr/include/gtk-2.0
|
||||
- ${_GDKIncDir}
|
||||
+ FIND_PATH(GDK_INCLUDE_DIR gdk-pixbuf/gdk-pixbuf.h
|
||||
+ HINTS ${_GDKIncDir}
|
||||
+ PATH_SUFFIXES gtk-2.0
|
||||
)
|
||||
|
||||
FIND_LIBRARY(GDK_LIBRARIES NAMES gdk_pixbuf-2.0
|
Loading…
Reference in New Issue
Block a user