summaryrefslogtreecommitdiffstats
path: root/redhat/Makefile
blob: 28ac10964beae9d85f7685f9a8482b28e3c9d4d8 (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
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
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
SHELL := /bin/bash
PATH := $(PATH):$(shell pwd)/build
TDE_VERSION := $(shell echo $${TDE_VERSION:-14.0.12})
TDE_GIT_DIR := $(shell cd ../../tde; pwd)
TDE_PACKAGING_DIR := $(shell [ -n "$${TDE_PACKAGING_DIR}" ] && cd "$${TDE_PACKAGING_DIR}" || cd ..; pwd)
RPMDIR := "$(shell rpm -E %{_rpmdir}.tde-$(TDE_VERSION))"
DIST := $(shell rpm -E %dist)

buildpkg = \
  @echo "Now processing '$(1)' [from $(TDE_PACKAGING_DIR)]."; \
  export TDE_PACKAGING_DIR=$(TDE_PACKAGING_DIR); \
  if [ "${REBUILD}" = "$(1)" ] || ! is_latest_package_installed.sh "$(1)" ${TDE_VERSION}; then \
    echo "  Package '${1}' is not yet installed."; \
    if [ "${REBUILD}" = "$(1)" ] || ! is_latest_package_built.sh "$(1)" ${TDE_VERSION}; then \
      echo "  Building package."; \
      build_rpm_package.sh "$(1)" ${TDE_VERSION} || exit 1; \
      echo "  Updating repository."; \
      update_repository.sh ${TDE_VERSION}; \
    fi; \
    echo "Now installing package '$(1)'"; \
    install_rpm_package.sh "$(1)" || exit 2; \
  fi; \
  echo


all:	common dependencies main libraries applications i18n meta
common:	cmake
dependencies:	tqt3 tqtinterface akode arts libart_lgpl libcaldav libcarddav polkit-tqt sip4-tqt tqca tqscintilla avahi-tqt dbus-tqt dbus-1-tqt
main:	tdelibs tdebase tdeaccessibility tdeadmin tdegames tdemultimedia tdepim tdetoys tdevelop tdeaddons tdeartwork tdebindings tdeedu tdegraphics tdenetwork tdesdk tdeutils tdewebdev
libraries:	kipi-plugins libkdcraw libkexiv2 libkipi libksquirrel libtdeldap libtqt-perl pytdeextensions python-trinity
applications:	abakus amarok basket bibletime codeine digikam dolphin filelight gtk3-tqt-engine gtk-qt-engine gwenview k3b k9copy kaffeine kaffeine-mozilla kasablanca katapult kbarcode kbfx kbibtex kbiff kbookreader kchmviewer kcmautostart kcmldap kcmldapcontroller kcmldapmanager kcpuload kdbg kdbusnotification kdiff3 kdirstat keep kerberostray keximdb kftpgrabber kile kima kiosktool kkbswitch klamav klcddimmer kmplayer kmyfirewall kmymoney knemo knetload knetstats knetworkmanager8 knights knmap knowit knutclient koffice kompose konversation kooldock kopete-otr kpicosim kpilot krecipes krename krusader kscope ksensors kshowmail kshutdown ksplash-engine-moodin ksquirrel kstreamripper ksystemlog ktechlab ktorrent kvirc kvkbd kvpnc kxmleditor mathemagics mplayerthumbs piklab polkit-agent-tde potracegui qalculate-tde qt4-tqt-theme-engine rosegarden smartcardauth smb4k soundkonverter tde-guidance tdeio-apt tdeio-ftps tdeio-gopher tastymenu tdedocker tdeio-locate tdeio-sword tdeio-umountwrapper tdenetworkmanager tdepacman tdepowersave tderadio tdesshaskpass tde-style-baghira tde-style-domino tde-style-ia-ora tde-style-lipstik tde-style-qtcurve tdesudo tdesvn tde-systemsettings tdmtheme tellico tork twin-style-crystal twin-style-dekorator twin-style-suse2 wlassistant yakuake
i18n:	gwenview-i18n k3b-i18n koffice-i18n tde-i18n

### Trinity Common

cmake:
	$(call buildpkg,common/cmake)

### Trinity Dependencies
akode:	tqtinterface trinity-filesystem
	$(call buildpkg,dependencies/akode)

arts:	tqtinterface trinity-filesystem esound
	$(call buildpkg,dependencies/arts)

avahi-tqt:	tqtinterface
	$(call buildpkg,dependencies/avahi-tqt)

dbus-1-tqt:	tqtinterface
	$(call buildpkg,dependencies/dbus-1-tqt)

dbus-tqt: tqtinterface
	$(call buildpkg,dependencies/dbus-tqt)

libart_lgpl:	tqtinterface
	$(call buildpkg,dependencies/libart-lgpl)

libcaldav: tqtinterface
	$(call buildpkg,dependencies/libcaldav)

libcarddav:	tqtinterface
	$(call buildpkg,dependencies/libcarddav)

polkit-tqt: tqtinterface dbus-1-tqt
	$(call buildpkg,dependencies/polkit-tqt)

python-tqt: sip4-tqt tdelibs tqscintilla
	$(call buildpkg,dependencies/python-tqt)

sip4-tqt:
	$(call buildpkg,dependencies/sip4-tqt)

tqca:	tqtinterface
	$(call buildpkg,dependencies/tqca)

tqscintilla: tqca tdelibs
	$(call buildpkg,dependencies/tqscintilla)

tqt3:
	$(call buildpkg,dependencies/tqt3)

tqtinterface:	tqt3
	$(call buildpkg,dependencies/tqtinterface)

# Main packages
tdeaccessibility:	tdebase tdemultimedia
	$(call buildpkg,main/tdeaccessibility)

tdeaddons:	tdebase tdegames tdemultimedia tdenetwork tdepim
	$(call buildpkg,main/tdeaddons)

tdeadmin:	tdebase
	$(call buildpkg,main/tdeadmin)

tdeartwork:	tdebase
	$(call buildpkg,main/tdeartwork)

tdebase:	tdelibs htdig fileshareset pinentry-tqt
	$(call buildpkg,main/tdebase)

tdebindings:	tdebase tqscintilla
	$(call buildpkg,main/tdebindings)

tdeedu:	tdebase
	$(call buildpkg,main/tdeedu)

tdegames:	tdebase tdemultimedia
	$(call buildpkg,main/tdegames)

tdegraphics:	tdebase lcms
	$(call buildpkg,main/tdegraphics)

tdelibs:	brp-check-trinity tqt3 tqtinterface arts dbus-tqt dbus-1-tqt avahi-tqt fileshareset trinity-filesystem libart_lgpl
	$(call buildpkg,main/tdelibs)

tdemultimedia:	tdebase akode
	$(call buildpkg,main/tdemultimedia)

tdenetwork:	tdebase rdesktop
	$(call buildpkg,main/tdenetwork)

tdepim:	tdebase libcaldav libcarddav
	$(call buildpkg,main/tdepim)

tdesdk:		tdebase tdebindings tdepim
	$(call buildpkg,main/tdesdk)

tdetoys:	tdebase
	$(call buildpkg,main/tdetoys)

tdeutils:	tdebase
	$(call buildpkg,main/tdeutils)

tdevelop:	tdebase tdesdk
	$(call buildpkg,main/tdevelop)

tdewebdev:	tdebase tdesdk
	$(call buildpkg,main/tdewebdev)

### 3rd party libraries and tools
brp-check-trinity:
ifneq (,$(filter $(DIST), .oss151 .oss152 .oss153 .osstw ))
	$(call buildpkg,3rdparty/brp-check-trinity)
endif

esound:
ifneq (,$(filter $(DIST), .mga6 .mga7 .mga8 .oss151 .oss152 .oss153 .osstw ))
	$(call buildpkg,3rdparty/esound)
endif

htdig:
ifneq (,$(filter $(DIST), .el7 .el8 .mga6 .mga7 .mga8 ))
	$(call buildpkg,extras/htdig)
endif

imlib1:
ifneq (,$(filter $(DIST), .mga6 .mga7 .oss151 .osstw ))
	$(call buildpkg,3rdparty/imlib1)
endif

lcms:
ifneq (,$(filter $(DIST), .el7 .el8 .mga7 .mga8 .oss151 .oss152 .oss153 .osstw ))
	$(call buildpkg,3rdparty/lcms)
endif

libbeagle:
	$(call buildpkg,3rdparty/libbeagle)

mp4v2:
ifneq (,$(filter $(DIST), .oss151 .oss152 .oss153 .osstw ))
	$(call buildpkg,3rdparty/mp4v2)
endif

rdesktop:
ifneq (,$(filter $(DIST), .oss150 ))
	$(call buildpkg,3rdparty/rdesktop)
endif

rdiff-backup:
# Only for PCLINUXOS
ifneq ($(wildcard /etc/pclinuxos-release),)
	$(call buildpkg,3rdparty/rdiff-backup)
endif

recode:
# Build on OpenSUSE >= 15.0 only (not tw)
ifneq (,$(filter $(DIST),.oss150 .oss151))
	$(call buildpkg,3rdparty/recode)
endif

wv2:
ifneq (,$(filter $(DIST), .el5 .el6 .el7 .el8 .fc30 .fc31 .fc32 .fc33 .fc34 .fc35))
	$(call buildpkg,3rdparty/wv2)
endif


### Trinity Libraries
kipi-plugins:	tqtinterface tdelibs tdepim libkdcraw libkexiv2 libkipi
	$(call buildpkg,libraries/kipi-plugins)

libkdcraw:	tqtinterface lcms
	$(call buildpkg,libraries/libkdcraw)

libkexiv2:	tqtinterface tdelibs
	$(call buildpkg,libraries/libkexiv2)

libkipi:	tqtinterface
	$(call buildpkg,libraries/libkipi)

libksquirrel:	tdelibs
	$(call buildpkg,libraries/libksquirrel)

libtdeldap:	tqtinterface
	$(call buildpkg,libraries/libtdeldap)

libtqt-perl:	tqtinterface
	$(call buildpkg,libraries/libtqt-perl)

mlt:	tqtinterface
	$(call buildpkg,libraries/mlt)

pytdeextensions:	tqtinterface python-trinity
	$(call buildpkg,libraries/pytdeextensions)

python-trinity:	tqtinterface python-tqt
	$(call buildpkg,libraries/python-trinity)

### Trinity Applications
abakus:	tdebase
	$(call buildpkg,applications/abakus)

adept:	tdebase
	$(call buildpkg,applications/adept)

amarok:	tdebase mp4v2
	$(call buildpkg,applications/amarok)

basket:	tdebase tdepim
	$(call buildpkg,applications/basket)

bibletime:	tdebase
	$(call buildpkg,applications/bibletime)

codeine:	tdebase
	$(call buildpkg,applications/codeine)

compizconfig-backend-kconfig:	tdebase
	$(call buildpkg,applications/compizconfig-backend-kconfig)

desktop-effects-tde:	tdebase
	$(call buildpkg,applications/desktop-effects-tde)

digikam:	tdebase libkdcraw libkexiv2 libkipi libksquirrel
	$(call buildpkg,applications/digikam)

dolphin:	tdebase
	$(call buildpkg,applications/dolphin)

filelight:	tdebase
	$(call buildpkg,applications/filelight)

filelight-l10n:	tdebase
	$(call buildpkg,applications/filelight-l10n)

fusion-icon:	tdebase
	$(call buildpkg,applications/fusion-icon)

gtk3-tqt-engine:	tdebase
ifeq (,$(filter $(DIST),.el5 .el6))
	$(call buildpkg,applications/gtk3-tqt-engine)
endif

gtk-qt-engine:	tdebase
ifeq (,$(filter $(DIST),.el5))
	$(call buildpkg,applications/gtk-qt-engine)
endif

gwenview:	tdebase
	$(call buildpkg,applications/gwenview)

k3b:	tdebase
	$(call buildpkg,applications/k3b)

k9copy:	tdebase k3b
	$(call buildpkg,applications/k9copy)

kaffeine:	tdebase
	$(call buildpkg,applications/kaffeine)

kaffeine-mozilla:	tdebase kaffeine
	$(call buildpkg,applications/kaffeine-mozilla)

kasablanca:	tdebase
	$(call buildpkg,applications/kasablanca)

katapult:	tdebase
	$(call buildpkg,applications/katapult)

kbarcode:	tdebase
	$(call buildpkg,applications/kbarcode)

kbfx:	tdebase
	$(call buildpkg,applications/kbfx)

kbibtex:	tdebase
	$(call buildpkg,applications/kbibtex)

kbiff:	tdebase
	$(call buildpkg,applications/kbiff)

kbookreader:	tdebase
	$(call buildpkg,applications/kbookreader)

kchmviewer:	tdebase
	$(call buildpkg,applications/kchmviewer)

kcmautostart:	tdebase
	$(call buildpkg,applications/kcmautostart)

kcmldap:	tdebase libtdeldap
	$(call buildpkg,applications/kcmldap)

kcmldapcontroller:	tdebase kcmldap
	$(call buildpkg,applications/kcmldapcontroller)

kcmldapmanager:	tdebase kcmldap
	$(call buildpkg,applications/kcmldapmanager)

kcpuload:	tdebase
	$(call buildpkg,applications/kcpuload)

kdbg:	tdebase
	$(call buildpkg,applications/kdbg)

kdbusnotification:	tdebase
	$(call buildpkg,applications/kdbusnotification)

kdiff3:	tdebase
	$(call buildpkg,applications/kdiff3)

kdirstat:	tdebase
	$(call buildpkg,applications/kdirstat)

kdpkg:	tdebase
	$(call buildpkg,applications/kdpkg)

keep:	tdebase rdiff-backup
	$(call buildpkg,applications/keep)

kerberostray:	tdebase
	$(call buildpkg,applications/kerberostray)

keximdb:	tdebase koffice
	$(call buildpkg,applications/keximdb)

kftpgrabber:	tdebase
	$(call buildpkg,applications/kftpgrabber)

kgtk-qt3:	tdebase
	$(call buildpkg,applications/kgtk-qt3)

kile:	tdebase
	$(call buildpkg,applications/kile)

kima:	tdebase
	$(call buildpkg,applications/kima)

kiosktool:	tdebase
	$(call buildpkg,applications/kiosktool)

kkbswitch:	tdebase
	$(call buildpkg,applications/kkbswitch)

klamav:	tdebase
# Requires clamav >= 0.101.0
ifeq (,$(filter $(DIST), .el5 .el6 .mga6))
	$(call buildpkg,applications/klamav)
endif

klcddimmer:	tdebase
	$(call buildpkg,applications/klcddimmer)

kmplayer:	tdebase
	$(call buildpkg,applications/kmplayer)

kmyfirewall:	tdebase
	$(call buildpkg,applications/kmyfirewall)

kmymoney:	tdebase recode
	$(call buildpkg,applications/kmymoney)

knemo:	tdebase
	$(call buildpkg,applications/knemo)

knetload:	tdebase
	$(call buildpkg,applications/knetload)

knetstats:	tdebase
	$(call buildpkg,applications/knetstats)

knetworkmanager8:	tdebase
ifneq (,$(filter $(DIST),.el6))
	$(call buildpkg,applications/knetworkmanager8)
endif

knights:	tdebase
	$(call buildpkg,applications/knights)

knmap:	tdebase
	$(call buildpkg,applications/knmap)

knowit:	tdebase
	$(call buildpkg,applications/knowit)

knutclient:	tdebase
	$(call buildpkg,applications/knutclient)

koffice:	tdebase tdegraphics wv2
	$(call buildpkg,applications/koffice)

kompose:	tdebase
	$(call buildpkg,applications/kompose)

konversation:	tdebase
	$(call buildpkg,applications/konversation)

kooldock:	tdebase
	$(call buildpkg,applications/kooldock)

kopete-otr:	tdebase tdenetwork
	$(call buildpkg,applications/kopete-otr)

kpicosim:	tdebase
	$(call buildpkg,applications/kpicosim)

kpilot:	tdebase tdepim
ifeq (,$(filter $(DIST),.el5 .osstw))
	$(call buildpkg,applications/kpilot)
endif

kpowersave:	tdebase
	$(call buildpkg,applications/kpowersave)

krecipes:	tdebase
	$(call buildpkg,applications/krecipes)

krename:	tdebase
	$(call buildpkg,applications/krename)

krusader:	tdebase tdebindings
	$(call buildpkg,applications/krusader)

kscope:	tdebase
	$(call buildpkg,applications/kscope)

ksensors:	tdebase
	$(call buildpkg,applications/ksensors)

kshowmail:	tdebase tdepim
	$(call buildpkg,applications/kshowmail)

kshutdown:	tdebase
	$(call buildpkg,applications/kshutdown)

ksplash-engine-moodin:	tdebase
	$(call buildpkg,applications/ksplash-engine-moodin)

ksquirrel:	tdebase libkipi libksquirrel
	$(call buildpkg,applications/ksquirrel)

kstreamripper:	tdebase
	$(call buildpkg,applications/kstreamripper)

ksystemlog:	tdebase
	$(call buildpkg,applications/ksystemlog)

ktechlab:	tdebase
	$(call buildpkg,applications/ktechlab)

ktorrent:	tdebase
	$(call buildpkg,applications/ktorrent)

kvirc:	tdebase
	$(call buildpkg,applications/kvirc)

kvkbd:	tdebase
	$(call buildpkg,applications/kvkbd)

kvpnc:	tdebase
	$(call buildpkg,applications/kvpnc)

kxmleditor:	tdebase
	$(call buildpkg,applications/kxmleditor)

mathemagics: tdebase
	$(call buildpkg,applications/mathemagics)

mplayerthumbs:	tdebase
	$(call buildpkg,applications/mplayerthumbs)

piklab:	tdebase
	$(call buildpkg,applications/piklab)

polkit-agent-tde:	tdebase
	$(call buildpkg,applications/polkit-agent-tde)

potracegui:	tdebase
	$(call buildpkg,applications/potracegui)

qalculate-tde:
	$(call buildpkg,applications/qalculate-tde)

qt4-tqt-theme-engine:	tdebase
ifeq (,$(filter $(DIST),.el5 .el6 .el8 .oss153 .osstw))
	$(call buildpkg,applications/qt4-tqt-theme-engine)
endif

rosegarden:	tdebase
ifeq (,$(filter $(DIST),.el5 .el6 .el7 .el8))
	$(call buildpkg,applications/rosegarden)
endif

smartcardauth:	tdebase
	$(call buildpkg,applications/smartcardauth)

smb4k:	tdebase
	$(call buildpkg,applications/smb4k)

soundkonverter:	tdebase
	$(call buildpkg,applications/soundkonverter)

tastymenu:
	$(call buildpkg,applications/tastymenu)

tdedocker:	tdebase
	$(call buildpkg,applications/tdedocker)

tde-guidance:	tdebase pytdeextensions
	$(call buildpkg,applications/tde-guidance)

tdeio-apt:	tdebase
	$(call buildpkg,applications/tdeio-apt)

tdeio-ftps:	tdebase
	$(call buildpkg,applications/tdeio-ftps)

tdeio-gopher:	tdebase
	$(call buildpkg,applications/tdeio-gopher)

tdeio-locate:	tdebase
	$(call buildpkg,applications/tdeio-locate)

tdeio-sword:	tdebase
	$(call buildpkg,applications/tdeio-sword)

tdeio-umountwrapper:	tdebase
	$(call buildpkg,applications/tdeio-umountwrapper)

tdenetworkmanager:	tdebase
ifeq (,$(filter $(DIST),.el5 .el6))
	$(call buildpkg,applications/tdenetworkmanager)
endif

tdepacman:	tdebase
	$(call buildpkg,applications/tdepacman)

tdepowersave:	tdebase
ifeq (,$(filter $(DIST),.el5))
	$(call buildpkg,applications/tdepowersave)
endif

tderadio:	tdebase
	$(call buildpkg,applications/tderadio)

tdesshaskpass:	tdebase
	$(call buildpkg,applications/tdesshaskpass)

tde-style-baghira:	tdebase
	$(call buildpkg,applications/tde-style-baghira)

tde-style-domino:	tdebase
	$(call buildpkg,applications/tde-style-domino)

tde-style-ia-ora:	tdebase
	$(call buildpkg,applications/tde-style-ia-ora)

tde-style-lipstik:	tdebase
	$(call buildpkg,applications/tde-style-lipstik)

tde-style-qtcurve:	tdebase
	$(call buildpkg,applications/tde-style-qtcurve)

tdesudo:	tdebase
	$(call buildpkg,applications/tdesudo)

tdesvn:	tdebase
	$(call buildpkg,applications/tdesvn)

tde-systemsettings:	tdebase
	$(call buildpkg,applications/tde-systemsettings)

tdmtheme:	tdebase
	$(call buildpkg,applications/tdmtheme)

tellico:	tdebase tdegraphics tdemultimedia tdepim
	$(call buildpkg,applications/tellico)

tork:	tdebase
	$(call buildpkg,applications/tork)

twin-style-crystal:	tdebase
	$(call buildpkg,applications/twin-style-crystal)

twin-style-dekorator:	tdebase
	$(call buildpkg,applications/twin-style-dekorator)

twin-style-suse2: tdebase
	$(call buildpkg,applications/twin-style-suse2)

wlassistant:	tdebase
	$(call buildpkg,applications/wlassistant)

yakuake:	tdebase
	$(call buildpkg,applications/yakuake)

### Trinity Translations
gwenview-i18n:	tdebase
	$(call buildpkg,applications/gwenview-i18n)

k3b-i18n:	tdebase
	$(call buildpkg,applications/k3b-i18n)

koffice-i18n:	tdebase
	$(call buildpkg,applications/koffice-i18n)

tde-i18n:	tdebase
	$(call buildpkg,tde-i18n)

### Meta packages
meta:
	$(call buildpkg,extras/trinity-desktop)

### Extra packages
fileshareset:
	$(call buildpkg,extras/fileshareset)

pinentry-tqt:	tqtinterface
ifeq (,$(filter $(DIST), .el5 .el6 .el7 ))
	$(call buildpkg,extras/pinentry-tqt)
endif

trinity-filesystem:
	$(call buildpkg,extras/trinity-filesystem)


# Developers options
git:
	cd "$(TDE_GIT_DIR)" && ./scripts/switch_all_submodules_to_head_and_clean anonymous

tarballs:
	cd "$(TDE_GIT_DIR)" && COMPRESS=pigz SUFFIX=0 TARBALLS_BASE="${HOME}/tde/tarballs/${TDE_VERSION}" ./scripts/create_all_tarballs


# External packages
external:
	if [ -d "${HOME}/rpmbuild/RPMS" ]; then cp -rfv "${HOME}/rpmbuild/RPMS/"* "$(RPMDIR)"; fi