summaryrefslogtreecommitdiffstats
path: root/openbsd/14.0.0/tdelibs/Makefile
blob: 53dbb538e82d12592f374cbff3e7397f6b827c80 (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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
.include </usr/ports/x11/trinity/trinity.port.mk>

PKGNAME=		trinity-tdelibs-${VERSION}
VERSION=		${TDE_VERSION}${PREVERSION}
PREVERSION=		

COMMENT=		TDE Libraries
CATEGORIES=		x11/trinity
HOMEPAGE=		http://www.trinitydesktop.org/
MAINTAINER=		François Andriot <francois.andriot@free.fr>

MASTER_SITES=	http://ppa2.quickbuild.pearsoncomputing.net/redirect.php?file=releases/R14.0.0/
DISTNAME=		tdelibs-R${TDE_VERSION}${PREVERSION}
EXTRACT_SUFX=	.tar.bz2
WRKDIST=		${WRKDIR}/tdelibs

PREFIX=			${TDE_PREFIX}

RUN_DEPENDS=	devel/desktop-file-utils \
				x11/gtk+2,-guic

BUILD_DEPENDS=	devel/imake \
				devel/gmake \
				devel/cmake

LIB_DEPENDS+=	x11/trinity/dependencies/tqtinterface \
				x11/trinity/dependencies/arts \
				x11/trinity/dependencies/dbus-tqt \
				x11/trinity/dependencies/dbus-1-tqt \
				x11/trinity/dependencies/libart-lgpl

LIB_DEPENDS+=	archivers/bzip2 \
				devel/libidn \
				devel/libmagic \
				devel/pcre \
				graphics/jasper \
				graphics/openexr \
				graphics/tiff \
				net/avahi \
				print/cups \
				print/freetype \
				sysutils/gamin \
				sysutils/upower \
				textproc/aspell/core \
				textproc/libxslt>=1.0.10

SHARED_LIBS +=  DCOP                      14.0
SHARED_LIBS +=  artskde                   1.2
SHARED_LIBS +=  connectionmanager         0.0
SHARED_LIBS +=  katepartinterfaces        0.0
SHARED_LIBS +=  kglib                     0.0
SHARED_LIBS +=  kjava                     1.0
SHARED_LIBS +=  kjs                       1.2
SHARED_LIBS +=  networkstatus             0.0
SHARED_LIBS +=  tdeabc                    1.2
SHARED_LIBS +=  tdeabc_dir                1.0
SHARED_LIBS +=  tdeabc_file               1.0
SHARED_LIBS +=  tdeabc_ldaptdeio          1.0
SHARED_LIBS +=  tdeabc_net                1.0
SHARED_LIBS +=  tdecore                   14.0
SHARED_LIBS +=  tdednssd                  1.0
SHARED_LIBS +=  tdefakes                  14.0
SHARED_LIBS +=  tdefx                     14.0
SHARED_LIBS +=  tdehtml                   14.0
SHARED_LIBS +=  tdeimproxy                0.0
SHARED_LIBS +=  tdeio                     14.0
SHARED_LIBS +=  tdemdi                    1.0
SHARED_LIBS +=  tdemdi2                   1.0
SHARED_LIBS +=  tdemediaplayer            0.0
SHARED_LIBS +=  tdemid                    0.0
SHARED_LIBS +=  tdenewstuff               1.0
SHARED_LIBS +=  tdentlm                   0.0
SHARED_LIBS +=  tdeparts                  2.1
SHARED_LIBS +=  tdeprint                  14.0
SHARED_LIBS +=  tdeprint_management       14.0
SHARED_LIBS +=  tderandr                  0.0
SHARED_LIBS +=  tderesources              1.2
SHARED_LIBS +=  tdersync                  0.0
SHARED_LIBS +=  tdesasl                   1.2
SHARED_LIBS +=  tdescreensaver            14.0
SHARED_LIBS +=  tdescript                 0.0
SHARED_LIBS +=  tdespell                  14.0
SHARED_LIBS +=  tdespell2                 1.0
SHARED_LIBS +=  tdesu                     14.0
SHARED_LIBS +=  tdetexteditor             0.0
SHARED_LIBS +=  tdeui                     14.0
SHARED_LIBS +=  tdeunittest               1.0
SHARED_LIBS +=  tdeutils                  1.2
SHARED_LIBS +=  tdewalletbackend          1.0
SHARED_LIBS +=  tdewalletclient           1.0
SHARED_LIBS +=  vcard                     0.0

post-patch:
	cd ${WRKDIST}; \
	gsed -i cmake/install_apidox \
	        cmake/generate_apidox \
	        kate/data/mel.xml \
	        kdoctools/update-entities.sh \
	        tderandr/libtderandr.cc \
	     -e "s|/bin/bash|${LOCALBASE}/bin/bash|g"; \


do-configure: tde-cmake-rmbuild
	${TDE_CMAKE_CONFIGURE} \
		-DDBUS_SYSTEM_CONF_DIRECTORY="${LOCALBASE}/share/dbus-1/system-services" \
		\
		-DWITH_ALL_OPTIONS=ON \
		-DWITH_ARTS=ON \
		-DWITH_ALSA=OFF \
		-DWITH_LIBART=ON \
		-DWITH_LIBIDN=ON \
		-DWITH_SSL=ON \
		-DWITH_CUPS=ON \
		-DWITH_LUA=OFF \
		-DWITH_TIFF=ON \
		-DWITH_JASPER=ON \
		-DWITH_OPENEXR=ON \
		-DWITH_UTEMPTER=OFF \
		-DWITH_ELFICON=OFF \
		-DWITH_AVAHI=ON \
		-DWITH_PCRE=ON \
		-DWITH_INOTIFY=OFF \
		-DWITH_GAMIN=ON \
		-DWITH_TDEHWLIB=OFF \
		-DWITH_TDEHWLIB_DAEMONS=OFF \
		-DWITH_HAL=OFF \
		-DWITH_DEVKITPOWER=OFF \
		-DWITH_LOGINDPOWER=OFF \
		-DWITH_UPOWER=ON \
		-DWITH_UDISKS=OFF \
		-DWITH_UDISKS2=OFF \
		-DWITH_CONSOLEKIT=ON \
		-DWITH_NETWORK_MANAGER_BACKEND=OFF \
		-DWITH_SUDO_TDESU_BACKEND=OFF \
		-DWITH_OLD_XDG_STD=OFF \
		-DWITH_LZMA=ON \
		-DWITH_LIBBFD=OFF \
		-DWITH_XRANDR=ON \
		-DWITH_XCOMPOSITE=ON \
		-DWITH_KDE4_MENU_SUFFIX=OFF \
		\
		-DWITH_ASPELL=ON \
		-DWITH_HSPELL=OFF \
		-DWITH_TDEICONLOADER_DEBUG=OFF \
		..

do-build: tde-cmake-build

do-install: tde-cmake-install
	# Remove setuid bit
	cd "${WRKINST}${TDE_PREFIX}/bin" && chmod 0755 fileshareset kgrantpty kpac_dhcp_helper

.include <bsd.port.mk>