aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/copperspice/Makefile
blob: a1837dd0796a038896ffd5f955b73ded14d6d7ca (plain) (blame)
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
PORTNAME=	copperspice
DISTVERSION=	1.7.3
PORTREVISION=	2
CATEGORIES=	x11-toolkits
MASTER_SITES=	https://download.copperspice.com/${PORTNAME}/source/

MAINTAINER=	adridg@FreeBSD.org
COMMENT=	First class GUI library to unite the C++ community

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/license/LICENSE.LGPL

NOT_FOR_ARCHS=	i386

LIB_DEPENDS=	libasound.so:audio/alsa-lib \
		libpulse.so:audio/pulseaudio \
		libgstreamer-1.0.so:multimedia/gstreamer1 \
		libcups.so:print/cups \
		libxcb-icccm.so:x11/xcb-util-wm \
		libxcb-image.so:x11/xcb-util-image \
		libxcb-keysyms.so:x11/xcb-util-keysyms \
		libxcb-render-util.so:x11/xcb-util-renderutil \
		libxcb.so:x11/libxcb \
		libxkbcommon.so:x11/libxkbcommon \
		libfontconfig.so:x11-fonts/fontconfig

USES=		compiler:c++17-lang cmake dos2unix gl gnome iconv jpeg pkgconfig ssl tar:bz2 xorg
USE_GL=		gl
USE_GNOME=	cairo glib20 libxml2
USE_GSTREAMER1=	yes
USE_XORG=	ice sm x11 xau xcb xcursor xext xfixes xi xinerama xrandr xrender

CMAKE_ARGS+=	-DCMAKE_INSTALL_BINDIR:PATH='${LOCALBASE}/lib/copperspice/bin' \
		-DCMAKE_INSTALL_INCLUDEDIR:PATH='${LOCALBASE}/include/copperspice' \
		-DCMAKE_INSTALL_PREFIX:PATH='${LOCALBASE}' \
		-DTOOLS_SUFFIX:STRING=-cs

NO_WRKSUBDIR=	yes

# There is a notional conflict with the Qt ports: those have **versioned**
# tool names, like designer-qt5, lupdate-qt5, to allow co-installation
# of Qt[456] (when we had / have more than one current-version in ports).
#
# We use -cs for the Copperspice suffix to distinguish from -qt5, and
# the executables go in a separate directory anyway.
#
# CONFLICTS=	qt5-core

.include <bsd.port.mk>