summaryrefslogtreecommitdiff
path: root/graphics/krita/Makefile
blob: b57d7cea38e31a2cd1e53a11527f1b44afcc5cbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# $NetBSD: Makefile,v 1.2 2018/04/11 15:15:55 maya Exp $

DISTNAME=		krita-4.0.1
CATEGORIES=		misc kde
MASTER_SITES=		${MASTER_SITE_KDE:=krita/4.0.1/}

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.krita.org/
COMMENT=		Raster graphics editor for digital painting
LICENSE=		gnu-gpl-v2 AND gnu-lgpl-v2.1

#BUILD_DEPENDS+=	automoc4>=0.9.87:../../devel/automoc4

USE_TOOLS+=		msgfmt pkg-config perl gmake
USE_LANGUAGES=		c c++
USE_CMAKE=		yes
CMAKE_ARG_PATH=		..
CONFIGURE_DIRS=		_KDE_build
CMAKE_ARGS+=		-DCMAKE_INSTALL_PREFIX=${PREFIX}

pre-configure:
	${MKDIR} ${WRKSRC}/_KDE_build

DEPENDS+=	extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules
DEPENDS+=	kitemmodels-[0-9]*:../../devel/kitemmodels

# librpcsvc.so deprecation warnings
BUILDLINK_TRANSFORM.NetBSD+=	rm:-Wl,--fatal-warnings

BUILDLINK_TRANSFORM+=		rm:-Werror=implicit-function-declaration

CONF_FILES+=	${PREFIX}/share/examples/kde-xdg/kritarc \
		${PKG_SYSCONFDIR}/xdg/kritarc

.include "../../graphics/exiv2/buildlink3.mk"
.include "../../graphics/openexr/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/giflib/buildlink3.mk"
.include "../../graphics/lcms2/buildlink3.mk"
.include "../../graphics/openjpeg/buildlink3.mk"
.include "../../graphics/opencolorio/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../math/eigen3/buildlink3.mk"
.include "../../archivers/karchive/buildlink3.mk"
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/ki18n/buildlink3.mk"
.include "../../devel/kio/buildlink3.mk"
.include "../../devel/kconfig/buildlink3.mk"
.include "../../devel/kcoreaddons/buildlink3.mk"
.include "../../devel/kcrash/buildlink3.mk"
.include "../../textproc/kcompletion/buildlink3.mk"
.include "../../x11/kitemviews/buildlink3.mk"
.include "../../x11/kguiaddons/buildlink3.mk"
.include "../../x11/kwidgetsaddons/buildlink3.mk"
.include "../../x11/kwindowsystem/buildlink3.mk"
.include "../../math/gsl/buildlink3.mk"
.include "../../graphics/libraw/buildlink3.mk"
.include "../../print/poppler-qt5/buildlink3.mk"
.include "../../math/fftw/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qtdeclarative/buildlink3.mk"
.include "../../x11/qt5-qtmultimedia/buildlink3.mk"
.include "../../x11/qt5-qtsvg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"