2013-11-23 04:46:04 +04:00
|
|
|
# Builds the Haiku packages repository.
|
|
|
|
|
2014-08-15 16:44:05 +04:00
|
|
|
local haikuRepository = <repository>Haiku ;
|
2013-11-23 04:46:04 +04:00
|
|
|
MakeLocate $(haikuRepository)
|
|
|
|
: $(HAIKU_PACKAGE_REPOSITORIES_DIR_$(HAIKU_PACKAGING_ARCH)) ;
|
|
|
|
|
2014-01-19 02:25:49 +04:00
|
|
|
local repoInfo = <repository-info-template>haiku ;
|
2013-11-23 04:46:04 +04:00
|
|
|
SEARCH on $(repoInfo) = $(HAIKU_TOP)/src/data/repository_infos ;
|
|
|
|
|
|
|
|
local secondaryArchs = $(TARGET_PACKAGING_ARCHS[2-]) ;
|
2014-11-20 18:02:37 +03:00
|
|
|
local packages = [ FFilterByBuildFeatures
|
2013-11-23 04:46:04 +04:00
|
|
|
haiku
|
|
|
|
haiku_devel
|
|
|
|
haiku_loader
|
|
|
|
|
|
|
|
haiku_$(secondaryArchs)
|
|
|
|
haiku_$(secondaryArchs)_devel
|
2014-11-20 18:02:37 +03:00
|
|
|
] ;
|
2013-11-23 04:46:04 +04:00
|
|
|
|
2017-12-03 17:16:52 +03:00
|
|
|
if $(HAIKU_IS_BOOTSTRAP) != 1 {
|
|
|
|
packages += [ FFilterByBuildFeatures
|
2018-11-02 11:27:03 +03:00
|
|
|
haiku_extras
|
2018-08-21 03:56:17 +03:00
|
|
|
haiku_source
|
2017-12-03 17:16:52 +03:00
|
|
|
haiku_userguide_ca
|
|
|
|
haiku_userguide_de
|
|
|
|
haiku_userguide_en
|
|
|
|
haiku_userguide_es
|
|
|
|
haiku_userguide_fi
|
|
|
|
haiku_userguide_fr
|
|
|
|
haiku_userguide_hu
|
|
|
|
haiku_userguide_it
|
|
|
|
haiku_userguide_jp
|
|
|
|
haiku_userguide_pl
|
|
|
|
haiku_userguide_pt_BR
|
|
|
|
haiku_userguide_pt_PT
|
|
|
|
haiku_userguide_ru
|
|
|
|
haiku_userguide_sk
|
|
|
|
haiku_userguide_sv_SE
|
|
|
|
haiku_userguide_uk
|
|
|
|
haiku_userguide_zh_CN
|
|
|
|
haiku_welcome
|
|
|
|
makefile_engine
|
2018-11-18 22:37:06 +03:00
|
|
|
netfs
|
2017-12-03 17:16:52 +03:00
|
|
|
userland_fs
|
|
|
|
] ;
|
|
|
|
}
|
|
|
|
|
2014-08-25 22:49:03 +04:00
|
|
|
local webPositiveIsAvailable ;
|
|
|
|
local architectureObject ;
|
|
|
|
for architectureObject in [ MultiArchSubDirSetup ] {
|
|
|
|
on $(architectureObject) {
|
|
|
|
if [ FIsBuildFeatureEnabled webpositive ] {
|
|
|
|
webPositiveIsAvailable = true ;
|
|
|
|
break ;
|
|
|
|
}
|
2014-08-11 22:56:11 +04:00
|
|
|
}
|
2013-12-01 04:10:15 +04:00
|
|
|
}
|
2014-08-25 22:49:03 +04:00
|
|
|
if $(webPositiveIsAvailable) {
|
|
|
|
packages += webpositive ;
|
|
|
|
}
|
2013-12-01 04:10:15 +04:00
|
|
|
|
2016-12-10 14:51:50 +03:00
|
|
|
HaikuRepository $(haikuRepository) : $(repoInfo) : $(packages:S=.hpkg) ;
|