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