xref: /haiku/build/jam/repositories/Haiku (revision 02354704729d38c3b078c696adc1bbbd33cbcf72)
1# Builds the Haiku packages repository.
2
3local haikuRepository = <repository>Haiku ;
4MakeLocate $(haikuRepository)
5	: $(HAIKU_PACKAGE_REPOSITORIES_DIR_$(HAIKU_PACKAGING_ARCH)) ;
6
7local repoInfo = <repository-info-template>haiku ;
8SEARCH on $(repoInfo) = $(HAIKU_TOP)/src/data/repository_infos ;
9
10local secondaryArchs = $(TARGET_PACKAGING_ARCHS[2-]) ;
11local packages = [ FFilterByBuildFeatures
12	haiku
13	haiku_datatranslators
14	haiku_devel
15	haiku_loader
16
17	haiku_$(secondaryArchs)
18	haiku_$(secondaryArchs)_devel
19	] ;
20
21if $(HAIKU_IS_BOOTSTRAP) != 1 && $(HAIKU_BUILD_TYPE) != minimum {
22	packages += [ FFilterByBuildFeatures
23		haiku_extras
24		haiku_source
25		haiku_userguide_ca
26		haiku_userguide_de
27		haiku_userguide_en
28		haiku_userguide_es
29		haiku_userguide_fi
30		haiku_userguide_fr
31		haiku_userguide_fur
32		haiku_userguide_hu
33		haiku_userguide_id
34		haiku_userguide_it
35		haiku_userguide_jp
36		haiku_userguide_pl
37		haiku_userguide_pt_BR
38		haiku_userguide_pt_PT
39		haiku_userguide_ro
40		haiku_userguide_ru
41		haiku_userguide_sk
42		haiku_userguide_sv_SE
43		haiku_userguide_tr
44		haiku_userguide_uk
45		haiku_userguide_zh_CN
46		haiku_welcome
47		makefile_engine
48		netfs
49		userland_fs
50		] ;
51}
52
53local webPositiveIsAvailable ;
54local architectureObject ;
55for architectureObject in [ MultiArchSubDirSetup ] {
56	on $(architectureObject) {
57		if [ FIsBuildFeatureEnabled webpositive ] {
58			webPositiveIsAvailable = true ;
59			break ;
60		}
61	}
62}
63if $(webPositiveIsAvailable) {
64	packages += webpositive ;
65}
66
67HaikuRepository $(haikuRepository) : $(repoInfo) : $(packages:S=.hpkg) ;
68