aboutsummaryrefslogtreecommitdiffstats
path: root/x11/leechcraft/Makefile
blob: aeefbfd8e33153d9382eb026b9dddc5ae713c8c1 (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
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$

PORTNAME=   leechcraft
PORTVERSION=    0.6.70
PORTREVISION=   39
CATEGORIES= x11
MASTER_SITES=   http://dist.leechcraft.org/LeechCraft/0.6.70/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Cross-platform modular live environment

LICENSE=    BSL
LICENSE_FILE=   ${WRKDIR}/${DISTNAME}/LICENSE

DEPRECATED=     Qt4 has been EOL since december 2015
EXPIRATION_DATE=    2019-03-15

LIB_DEPENDS=    libqwt6.so:x11-toolkits/qwt6@qt4 \
        libpcre.so:devel/pcre \
        libboost_program_options.so:devel/boost-libs

#LC_REV=        1526-g7fdb92a
INSTALLS_ICONS= yes
USE_LDCONFIG=   yes
USES=       cmake:insource pkgconfig qt:4 tar:xz
USE_QT=     corelib declarative gui network script sql sql-sqlite3_run \
        webkit xml qmake_build moc_build rcc_build uic_build \
        linguisttools_build
USE_XORG=   x11
CMAKE_OFF=  ENABLE_LADS \
        ENABLE_SYNCER \
        ENABLE_MONOCLE
CMAKE_ARGS= -DLEECHCRAFT_VERSION=${PORTVERSION}

WRKSRC_SUBDIR=  src

OPTIONS_DEFINE= AGGREGATOR ANHERO ANOTIFI AUSCRIE AZOTH BITTORRENT BLASQ BLOGIQUE \
        CERTMGR CPULOAD CSTP DBUSMANAGER DEADLYRICS DEVMON DOLOZHEE \
        ELEEMINATOR FENET GACTS GLANCE GNOTIFI HARBINGER HISTORYHOLDER \
        HOTSENSORS HOTSTREAMS HTTHARE IMGASTE KBSWITCH KINOTIFY KNOWHOW KRIGSTASK \
        LACKMAN LASTFMSCROBBLE LAUGHTY LAUNCHY LEMON LHTR LIZNOO LMP MELLONETRAY \
        MUSICZOMBIE NACHEKU NETSTOREMANAGER NETWORKMONITOR \
        NEWLIFE OORONEE OTLOZHU PINTAB POGOOGLUE POLEEMERY POPISHU POSHUKU QROSP \
        ROSENTHAL SB2 SCROBLIBRE SECMAN SEEKTHRU SUMMARY SYSNOTIFY TABSESSMANAGER \
        TABSLIST TEXTOGROOSE TOUCHSTREAMS TPI VGRABBER VROOBY VTYULC \
        XPROXY XTAZY
OPTIONS_SUB=    yes

AGGREGATOR_DESC=    Full-featured RSS/Atom feed reader
AGGREGATOR_CMAKE_ON=    -DENABLE_AGGREGATOR:BOOL=true
AGGREGATOR_CMAKE_OFF=   -DENABLE_AGGREGATOR:BOOL=false

ANHERO_DESC=        AnHero, crash handler for LeechCraft
ANHERO_CMAKE_ON=    -DENABLE_ANHERO:BOOL=true
ANHERO_CMAKE_OFF=   -DENABLE_ANHERO:BOOL=false

ANOTIFI_DESC=       Flexible and customizable notifications framework
ANOTIFI_CMAKE_ON=   -DENABLE_ADVANCEDNOTIFICATIONS:BOOL=true
ANOTIFI_CMAKE_OFF=  -DENABLE_ADVANCEDNOTIFICATIONS:BOOL=false

AUSCRIE_DESC=       Auscrie, LeechCraft auto screenshooter
AUSCRIE_CMAKE_ON=   -DENABLE_AUSCRIE:BOOL=true
AUSCRIE_CMAKE_OFF=  -DENABLE_AUSCRIE:BOOL=false

AZOTH_DESC=     Azoth, the modular IM client
AZOTH_CMAKE_ON=     -DENABLE_AZOTH:BOOL=true \
            -DENABLE_AZOTH_OTROID:BOOL=true \
            -DENABLE_AZOTH_VELVETBIRD:BOOL=true
AZOTH_CMAKE_OFF=    -DENABLE_AZOTH:BOOL=false

AZOTH_LIB_DEPENDS=  libQtMultimediaKit.so:multimedia/qt4-mobility \
            libkqoauth.so:security/kqoauth \
            libotr.so.5:security/libotr \
            libpurple.so:net-im/libpurple \
            libqca.so:devel/qca@qt4 \
            libqxmpp.so:net-im/qxmpp \
            libspeex.so:audio/speex
AZOTH_USES=     desktop-file-utils

BITTORRENT_DESC=    Full-featured BitTorrent client plugin
BITTORRENT_CMAKE_ON=    -DENABLE_TORRENT:BOOL=true
BITTORRENT_CMAKE_OFF=   -DENABLE_TORRENT:BOOL=false
BITTORRENT_LIB_DEPENDS= libtorrent-rasterbar.so:net-p2p/libtorrent-rasterbar
BITTORRENT_BROKEN=  see https://dev.leechcraft.org/issues/2062

BLASQ_DESC=     Cloud image storage services client (like Flickr or Picasa)
BLASQ_CMAKE_ON=     -DENABLE_BLASQ:BOOL=true
BLASQ_CMAKE_OFF=    -DENABLE_BLASQ:BOOL=false
BLASQ_LIB_DEPENDS=  libkqoauth.so:security/kqoauth

BLOGIQUE_DESC=      Blogging client
BLOGIQUE_CMAKE_ON=  -DENABLE_BLOGIQUE:BOOL=true
BLOGIQUE_CMAKE_OFF= -DENABLE_BLOGIQUE:BOOL=false

CERTMGR_DESC=       SSL certificates manager
CERTMGR_CMAKE_ON=   -DENABLE_CERTMGR:BOOL=true
CERTMGR_CMAKE_OFF=  -DENABLE_CERTMGR:BOOL=false

CPULOAD_DESC=       CPU load graph quark
CPULOAD_CMAKE_ON=   -DENABLE_CPULOAD:BOOL=true
CPULOAD_CMAKE_OFF=  -DENABLE_CPULOAD:BOOL=false

CSTP_DESC=      CSTP, the clean & stupid HTTP implementation
CSTP_CMAKE_ON=      -DENABLE_HTTP:BOOL=true
CSTP_CMAKE_OFF=     -DENABLE_HTTP:BOOL=false

DBUSMANAGER_DESC=   DBusManager provides some basic D-Bus interoperability
DBUSMANAGER_CMAKE_ON=   -DENABLE_DBUSMANAGER:BOOL=true
DBUSMANAGER_CMAKE_OFF=  -DENABLE_DBUSMANAGER:BOOL=false

DEADLYRICS_DESC=    Searches for song lyrics and displays them in LeechCraft
DEADLYRICS_CMAKE_ON=    -DENABLE_DEADLYRICS:BOOL=true
DEADLYRICS_CMAKE_OFF=   -DENABLE_DEADLYRICS:BOOL=false

DEVMON_DESC=        (BROKEN) Non-storage USB devices manager
DEVMON_CMAKE_ON=    -DENABLE_DEVMON:BOOL=true
DEVMON_CMAKE_OFF=   -DENABLE_DEVMON:BOOL=false

DOLOZHEE_DESC=      An issue reporting client for LeechCraft issue tracker
DOLOZHEE_CMAKE_ON=  -DENABLE_DOLOZHEE:BOOL=true
DOLOZHEE_CMAKE_OFF= -DENABLE_DOLOZHEE:BOOL=false

ELEEMINATOR_DESC=   (BROKEN) Embedded LeechCraft Terminal Emulator
ELEEMINATOR_CMAKE_ON=   -DENABLE_ELEEMINATOR:BOOL=true
ELEEMINATOR_CMAKE_OFF=  -DENABLE_ELEEMINATOR:BOOL=false

FENET_DESC=     LeechCraft WM and compositor manager
FENET_CMAKE_ON=     -DENABLE_FENET:BOOL=true
FENET_CMAKE_OFF=    -DENABLE_FENET:BOOL=false

GACTS_DESC=     Allows other LeechCraft modules to register global shortcuts
GACTS_CMAKE_ON=     -DENABLE_GACTS:BOOL=true
GACTS_CMAKE_OFF=    -DENABLE_GACTS:BOOL=false

GLANCE_DESC=        Glance, quick thumbnailed overview of opened tabs
GLANCE_CMAKE_ON=    -DENABLE_GLANCE:BOOL=true
GLANCE_CMAKE_OFF=   -DENABLE_GLANCE:BOOL=false

GNOTIFI_DESC=       Notifier about new mail in a GMail inbox
GNOTIFI_CMAKE_ON=   -DENABLE_GMAILNOTIFIER:BOOL=true
GNOTIFI_CMAKE_OFF=  -DENABLE_GMAILNOTIFIER:BOOL=false

HARBINGER_DESC=     Build Harbinger, the collections manager
HARBINGER_CMAKE_ON= -DENABLE_HARBINGER:BOOL=true
HARBINGER_CMAKE_OFF=    -DENABLE_HARBINGER:BOOL=false

HISTORYHOLDER_DESC= HistoryHolder keeps track of stuff downloaded
HISTORYHOLDER_CMAKE_ON= -DENABLE_HISTORYHOLDER:BOOL=true
HISTORYHOLDER_CMAKE_OFF=-DENABLE_HISTORYHOLDER:BOOL=false

HOTSENSORS_DESC=    (BROKEN) Temperature sensors monitor plugin
HOTSENSORS_CMAKE_ON=    -DENABLE_HOTSENSORS:BOOL=true
HOTSENSORS_CMAKE_OFF=   -DENABLE_HOTSENSORS:BOOL=false

HOTSTREAMS_DESC=    Provides some cool radio streams to music players like LMP
HOTSTREAMS_CMAKE_ON=    -DENABLE_HOTSTREAMS:BOOL=true
HOTSTREAMS_CMAKE_OFF=   -DENABLE_HOTSTREAMS:BOOL=false

HTTHARE_DESC=       Simple HTTP server
HTTHARE_CMAKE_ON=   -DENABLE_HTTHARE:BOOL=true
HTTHARE_CMAKE_OFF=  -DENABLE_HTTHARE:BOOL=false

IMGASTE_DESC=       The simple image uploader data filter
IMGASTE_CMAKE_ON=   -DENABLE_IMGASTE:BOOL=true
IMGASTE_CMAKE_OFF=  -DENABLE_IMGASTE:BOOL=false

KBSWITCH_DESC=      Provides plugin- or tab-grained keyboard layout control
KBSWITCH_CMAKE_ON=  -DENABLE_KBSWITCH:BOOL=true
KBSWITCH_CMAKE_OFF= -DENABLE_KBSWITCH:BOOL=false
KBSWITCH_USE=       xorg=xkbfile

KINOTIFY_DESC=      Fancy visual notifications
KINOTIFY_CMAKE_ON=  -DENABLE_KINOTIFY:BOOL=true
KINOTIFY_CMAKE_OFF= -DENABLE_KINOTIFY:BOOL=false

KNOWHOW_DESC=       KnowHow, plugin for showing Tips of the Day
KNOWHOW_CMAKE_ON=   -DENABLE_KNOWHOW:BOOL=true
KNOWHOW_CMAKE_OFF=  -DENABLE_KNOWHOW:BOOL=false

KRIGSTASK_DESC=     The taskbar quark
KRIGSTASK_CMAKE_ON= -DENABLE_KRIGSTASK:BOOL=true
KRIGSTASK_CMAKE_OFF=    -DENABLE_KRIGSTASK:BOOL=false
KRIGSTASK_USE=      xorg=xcomposite

LACKMAN_DESC=       Package Manager for extensions, scripts, themes etc
LACKMAN_CMAKE_ON=   -DENABLE_LACKMAN:BOOL=true
LACKMAN_CMAKE_OFF=  -DENABLE_LACKMAN:BOOL=false

LASTFMSCROBBLE_DESC=        Last.FM scrobbler plugin
LASTFMSCROBBLE_CMAKE_ON=    -DENABLE_LASTFMSCROBBLE:BOOL=true
LASTFMSCROBBLE_CMAKE_OFF=   -DENABLE_LASTFMSCROBBLE:BOOL=false
LASTFMSCROBBLE_LIB_DEPENDS= liblastfm.so:audio/liblastfm

LAUGHTY_DESC=       The LeechCraft notification daemon
LAUGHTY_CMAKE_ON=   -DENABLE_LAUGHTY:BOOL=true
LAUGHTY_CMAKE_OFF=  -DENABLE_LAUGHTY:BOOL=false

LAUNCHY_DESC=       Allows one to launch third-party applications
LAUNCHY_CMAKE_ON=   -DENABLE_LAUNCHY:BOOL=true
LAUNCHY_CMAKE_OFF=  -DENABLE_LAUNCHY:BOOL=false

LEMON_DESC=     (BROKEN) Network monitor plugin
LEMON_CMAKE_ON=     -DENABLE_LEMON:BOOL=true
LEMON_CMAKE_OFF=    -DENABLE_LEMON:BOOL=false

LHTR_DESC=      LeechCraft HTML Text editoR component
LHTR_CMAKE_ON=      -DENABLE_LHTR:BOOL=true
LHTR_CMAKE_OFF=     -DENABLE_LHTR:BOOL=false
LHTR_BUILD_DEPENDS= tidy:www/tidy-devel

LIZNOO_DESC=        UPower-based power manager
LIZNOO_CMAKE_ON=    -DENABLE_LIZNOO:BOOL=true
LIZNOO_CMAKE_OFF=   -DENABLE_LIZNOO:BOOL=false

LMP_DESC=       LeechCraft Media Player, Phonon-based audio/video player
LMP_CMAKE_ON=       -DENABLE_LMP:BOOL=true \
            -DUSE_GSTREAMER_10:BOOL=false
LMP_CMAKE_OFF=      -DENABLE_LMP:BOOL=false
LMP_USE=        GSTREAMER=yes
LMP_LIB_DEPENDS=    libguess.so:textproc/libguess \
            libtag.so:audio/taglib

MELLONETRAY_DESC=   System tray quark
MELLONETRAY_CMAKE_ON=   -DENABLE_MELLONETRAY:BOOL=true
MELLONETRAY_CMAKE_OFF=  -DENABLE_MELLONETRAY:BOOL=false
MELLONETRAY_USE=    xorg=xdamage

MUSICZOMBIE_DESC=   MusicBrainz client plugin
MUSICZOMBIE_CMAKE_ON=   -DENABLE_MUSICZOMBIE:BOOL=true
MUSICZOMBIE_CMAKE_OFF=  -DENABLE_MUSICZOMBIE:BOOL=false
MUSICZOMBIE_LIB_DEPENDS=libchromaprint.so:audio/chromaprint \
            libavdevice.so:multimedia/ffmpeg

NACHEKU_DESC=       Monitors selected directory and clipboard for downloadable entities
NACHEKU_CMAKE_ON=   -DENABLE_NACHEKU:BOOL=true
NACHEKU_CMAKE_OFF=  -DENABLE_NACHEKU:BOOL=false

NETSTOREMANAGER_DESC=       Supporting and managing Internet data storages like Yandex.Disk
NETSTOREMANAGER_CMAKE_ON=   -DENABLE_NETSTOREMANAGER:BOOL=true \
                -DENABLE_NETSTOREMANAGER_INOTIFY:BOOL=false
NETSTOREMANAGER_CMAKE_OFF=  -DENABLE_NETSTOREMANAGER:BOOL=false

NETWORKMONITOR_DESC=        NetworkMonitor watches HTTP requests in
NETWORKMONITOR_CMAKE_ON=    -DENABLE_NETWORKMONITOR:BOOL=true
NETWORKMONITOR_CMAKE_OFF=   -DENABLE_NETWORKMONITOR:BOOL=false

NEWLIFE_DESC=       New Life imports settings from various other applications
NEWLIFE_CMAKE_ON=   -DENABLE_NEWLIFE:BOOL=true
NEWLIFE_CMAKE_OFF=  -DENABLE_NEWLIFE:BOOL=false

OORONEE_DESC=       Quark handling text and images droppend onto it
OORONEE_CMAKE_ON=   -DENABLE_OORONEE:BOOL=true
OORONEE_CMAKE_OFF=  -DENABLE_OORONEE:BOOL=false

OTLOZHU_DESC=       (BROKEN) Otlozhu, a GTD-inspired ToDo manager
OTLOZHU_CMAKE_ON=   -DENABLE_OTLOZHU:BOOL=true
OTLOZHU_CMAKE_OFF=  -DENABLE_OTLOZHU:BOOL=false

PINTAB_DESC=        Provides support for pinning tabs
PINTAB_CMAKE_ON=    -DENABLE_PINTAB:BOOL=true
PINTAB_CMAKE_OFF=   -DENABLE_PINTAB:BOOL=false

POGOOGLUE_DESC=     Provides searching with Google to other
POGOOGLUE_CMAKE_ON= -DENABLE_POGOOGLUE:BOOL=true
POGOOGLUE_CMAKE_OFF=    -DENABLE_POGOOGLUE:BOOL=false

POLEEMERY_DESC=     Build Poleemery, the personal finances manager
POLEEMERY_CMAKE_ON= -DENABLE_POLEEMERY:BOOL=true
POLEEMERY_CMAKE_OFF=    -DENABLE_POLEEMERY:BOOL=false

POPISHU_DESC=       Text editor with IDE features
POPISHU_CMAKE_ON=   -DENABLE_POPISHU:BOOL=true
POPISHU_CMAKE_OFF=  -DENABLE_POPISHU:BOOL=false
POPISHU_LIB_DEPENDS=    libqscintilla2_qt4.so:devel/qscintilla2

POSHUKU_DESC=       The full-featured web browser plugin
POSHUKU_CMAKE_ON=   -DENABLE_POSHUKU:BOOL=true
POSHUKU_CMAKE_OFF=  -DENABLE_POSHUKU:BOOL=false

QROSP_DESC=     Scrpting support for LeechCraft via Qross
QROSP_CMAKE_ON=     -DENABLE_QROSP:BOOL=true
QROSP_CMAKE_OFF=    -DENABLE_QROSP:BOOL=false
QROSP_LIB_DEPENDS=  libqrosscore.so:devel/qross

ROSENTHAL_DESC=     Spellchecking support
ROSENTHAL_CMAKE_ON= -DENABLE_ROSENTHAL:BOOL=true
ROSENTHAL_CMAKE_OFF=    -DENABLE_ROSENTHAL:BOOL=false
ROSENTHAL_LIB_DEPENDS=  libhunspell-1.6.so:textproc/hunspell

SB2_DESC=       Sidebar for LeechCraft with combined launcher and tab switcher
SB2_CMAKE_ON=       -DENABLE_SB2:BOOL=true
SB2_CMAKE_OFF=      -DENABLE_SB2:BOOL=false

SCROBLIBRE_DESC=    Submissions API 1.2-compliant scrobbler for services like libre.fm
SCROBLIBRE_CMAKE_ON=    -DENABLE_SCROBLIBRE:BOOL=true
SCROBLIBRE_CMAKE_OFF=   -DENABLE_SCROBLIBRE:BOOL=false

SECMAN_DESC=        Security and personal data manager
SECMAN_CMAKE_ON=    -DENABLE_SECMAN:BOOL=true
SECMAN_CMAKE_OFF=   -DENABLE_SECMAN:BOOL=false

#SEE AGAIN
SEEKTHRU_DESC=      OpenSearch support
SEEKTHRU_CMAKE_ON=  -DENABLE_SEEKTHRU:BOOL=true
SEEKTHRU_CMAKE_OFF= -DENABLE_SEEKTHRU:BOOL=false

SUMMARY_DESC=       Summary plugin
SUMMARY_CMAKE_ON=   -DENABLE_SUMMARY:BOOL=true
SUMMARY_CMAKE_OFF=  -DENABLE_SUMMARY:BOOL=false

SYSNOTIFY_DESC=     Notifications via system libnotify daemon
SYSNOTIFY_CMAKE_ON= -DENABLE_SYSNOTIFY:BOOL=true
SYSNOTIFY_CMAKE_OFF=    -DENABLE_SYSNOTIFY:BOOL=false

TABSESSMANAGER_DESC=        Tab Session Manager
TABSESSMANAGER_CMAKE_ON=    -DENABLE_TABSESSMANAGER:BOOL=true
TABSESSMANAGER_CMAKE_OFF=   -DENABLE_TABSESSMANAGER:BOOL=false

TABSLIST_DESC=      Quick navigation between tabs
TABSLIST_CMAKE_ON=  -DENABLE_TABSLIST:BOOL=true
TABSLIST_CMAKE_OFF= -DENABLE_TABSLIST:BOOL=false

TEXTOGROOSE_DESC=   Build Text-o-Groose, script-based lyrics fetcher
TEXTOGROOSE_CMAKE_ON=   -DENABLE_TEXTOGROOSE:BOOL=true
TEXTOGROOSE_CMAKE_OFF=  -DENABLE_TEXTOGROOSE:BOOL=false

TOUCHSTREAMS_DESC=  VKontakte music source plugin
TOUCHSTREAMS_CMAKE_ON=  -DENABLE_TOUCHSTREAMS:BOOL=true
TOUCHSTREAMS_CMAKE_OFF= -DENABLE_TOUCHSTREAMS:BOOL=false

TPI_DESC=   Task progress indicator quark
TPI_CMAKE_ON=   -DENABLE_TPI:BOOL=true
TPI_CMAKE_OFF=  -DENABLE_TPI:BOOL=false

VGRABBER_DESC=      Vkontakte.ru music/video grabber
VGRABBER_CMAKE_ON=  -DENABLE_VGRABBER:BOOL=true
VGRABBER_CMAKE_OFF= -DENABLE_VGRABBER:BOOL=false

VROOBY_DESC=        Vrooby, removable device manager
VROOBY_CMAKE_ON=    -DENABLE_VROOBY:BOOL=true
VROOBY_CMAKE_OFF=   -DENABLE_VROOBY:BOOL=false

VTYULC_DESC=        Build VtyuLC, the videoplayer plugin
VTYULC_CMAKE_ON=    -DENABLE_VTYULC:BOOL=true
VTYULC_CMAKE_OFF=   -DENABLE_VTYULC:BOOL=false
VTYULC_LIB_DEPENDS= libvlc.so:multimedia/vlc

XPROXY_DESC=        Provides advanced proxy support features
XPROXY_CMAKE_ON=    -DENABLE_XPROXY:BOOL=true
XPROXY_CMAKE_OFF=   -DENABLE_XPROXY:BOOL=false

XTAZY_DESC=     Fetches info about current tune and provides it to other plugins
XTAZY_CMAKE_ON=     -DENABLE_XTAZY:BOOL=true
XTAZY_CMAKE_OFF=    -DENABLE_XTAZY:BOOL=false

OPTIONS_DEFAULT=AGGREGATOR ANHERO ANOTIFI AUSCRIE AZOTH BLASQ BLOGIQUE CERTMGR \
        CPULOAD CSTP DBUSMANAGER DEADLYRICS DOLOZHEE FENET GACTS GLANCE GNOTIFI \
        HARBINGER HISTORYHOLDER HOTSTREAMS HTTHARE IMGASTE KBSWITCH KINOTIFY \
        KNOWHOW KRIGSTASK LACKMAN LASTFMSCROBBLE LAUGHTY LAUNCHY LHTR LIZNOO \
        LMP MELLONETRAY MUSICZOMBIE NACHEKU NETSTOREMANAGER NETWORKMONITOR \
        NEWLIFE OORONEE PINTAB POGOOGLUE POLEEMERY POPISHU POSHUKU QROSP ROSENTHAL \
        SB2 SCROBLIBRE SECMAN SEEKTHRU SUMMARY SYSNOTIFY TABSESSMANAGER TABSLIST \
        TEXTOGROOSE TOUCHSTREAMS TPI VGRABBER VROOBY XPROXY XTAZY

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MAZOTH}   || ${PORT_OPTIONS:MDBUSMANAGER} || \
    ${PORT_OPTIONS:MLAUGHTY} || ${PORT_OPTIONS:MLIZNOO} || \
    ${PORT_OPTIONS:MLMP}     || ${PORT_OPTIONS:MSYSNOTIFY} || \
    ${PORT_OPTIONS:MVROOBY}  || ${PORT_OPTIONS:MXTAZY}
USE_QT+=    dbus
.endif

.if ${PORT_OPTIONS:MBLASQ} || ${PORT_OPTIONS:MBLOGIQUE} || \
    ${PORT_OPTIONS:MLACKMAN}
USE_QT+=    xmlpatterns
.endif

.if ${PORT_OPTIONS:MAZOTH} || ${PORT_OPTIONS:MBLASQ} || \
    ${PORT_OPTIONS:MFENET} || ${PORT_OPTIONS:MHOTSTREAMS} || \
    ${PORT_OPTIONS:MNETSTOREMANAGER} || ${PORT_OPTIONS:MPOSHUKU} || \
    ${PORT_OPTIONS:MQROSP} || ${PORT_OPTIONS:MSB2} || \
    ${PORT_OPTIONS:MTOUCHSTREAMS}
LIB_DEPENDS+=   libqjson.so:devel/qjson@qt4
.endif

.if ${PORT_OPTIONS:MELEEMINATOR}
BROKEN=     Eleeminator has not supported yet (not ported qtermwidget)
.endif

.if ${PORT_OPTIONS:MHOTSENSORS}
BROKEN=     Hotsensors has not supported yet (depended by lm_sensosrs)
.endif

.if ${PORT_OPTIONS:MDEVMON}
BROKEN=     Devmon has not supported yet (depended by udev)
.endif

.if ${PORT_OPTIONS:MLEMON}
BROKEN=     Lemon has not supported yet because depended by libnl
.endif

.if ${PORT_OPTIONS:MOTLOZHU}
BROKEN=     Otlozhu has not supported yet (not ported liblaretz)
.endif

.if ${PORT_OPTIONS:MVTYULC}
BROKEN=     VtyuLC plugin does not build with vlc 3.x
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|%%QT_INCDIR%%|${QT_INCDIR}|g' \
                        -e 's|%%QT_LIBDIR%%|${QT_LIBDIR}|g' \
                        ${WRKSRC}/cmake/FindQwt.cmake
post-install:
    @${FIND} -d ${STAGEDIR}${PREFIX}/include/leechcraft \
        -type d -empty -exec ${RMDIR} {} \;

.include <bsd.port.mk>