xref: /haiku/build/jam/repositories/Haiku (revision 072d3935c2497638e9c2502f574c133caeba9d3d)
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_devel
14	haiku_loader
15
16	haiku_$(secondaryArchs)
17	haiku_$(secondaryArchs)_devel
18	] ;
19
20if $(HAIKU_IS_BOOTSTRAP) != 1 && $(HAIKU_BUILD_TYPE) != minimum {
21	packages += [ FFilterByBuildFeatures
22		haiku_extras
23		haiku_source
24		haiku_userguide_ca
25		haiku_userguide_de
26		haiku_userguide_en
27		haiku_userguide_es
28		haiku_userguide_fi
29		haiku_userguide_fr
30		haiku_userguide_fur
31		haiku_userguide_hu
32		haiku_userguide_id
33		haiku_userguide_it
34		haiku_userguide_jp
35		haiku_userguide_pl
36		haiku_userguide_pt_BR
37		haiku_userguide_pt_PT
38		haiku_userguide_ro
39		haiku_userguide_ru
40		haiku_userguide_sk
41		haiku_userguide_sv_SE
42		haiku_userguide_tr
43		haiku_userguide_uk
44		haiku_userguide_zh_CN
45		haiku_welcome
46		makefile_engine
47		netfs
48		userland_fs
49		] ;
50}
51
52local webPositiveIsAvailable ;
53local architectureObject ;
54for architectureObject in [ MultiArchSubDirSetup ] {
55	on $(architectureObject) {
56		if [ FIsBuildFeatureEnabled webpositive ] {
57			webPositiveIsAvailable = true ;
58			break ;
59		}
60	}
61}
62if $(webPositiveIsAvailable) {
63	packages += webpositive ;
64}
65
66HaikuRepository $(haikuRepository) : $(repoInfo) : $(packages:S=.hpkg) ;
67