xref: /haiku/build/jam/repositories/Haiku (revision f2df0cfe93a902842f6f4629ff614f5b3f9bf687)
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	haiku_userguide_ca
16	haiku_userguide_de
17	haiku_userguide_en
18	haiku_userguide_es
19	haiku_userguide_fi
20	haiku_userguide_fr
21	haiku_userguide_hu
22	haiku_userguide_it
23	haiku_userguide_jp
24	haiku_userguide_pl
25	haiku_userguide_pt_BR
26	haiku_userguide_pt_PT
27	haiku_userguide_ru
28	haiku_userguide_sk
29	haiku_userguide_sv_SE
30	haiku_userguide_uk
31	haiku_userguide_zh_CN
32	haiku_welcome
33	makefile_engine
34	netfs@!x86_64
35	userland_fs
36
37	haiku_$(secondaryArchs)
38	haiku_$(secondaryArchs)_devel
39	] ;
40
41local webPositiveIsAvailable ;
42local architectureObject ;
43for architectureObject in [ MultiArchSubDirSetup ] {
44	on $(architectureObject) {
45		if [ FIsBuildFeatureEnabled webpositive ] {
46			webPositiveIsAvailable = true ;
47			break ;
48		}
49	}
50}
51if $(webPositiveIsAvailable) {
52	packages += webpositive ;
53}
54
55HaikuRepository $(haikuRepository) : $(repoInfo) : $(packages:S=.hpkg) ;
56