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