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
|
2015-10-25 12:13:04 +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
|
2013-11-23 04:46:04 +04:00
|
|
|
haiku_welcome
|
|
|
|
makefile_engine
|
2014-11-20 18:02:37 +03:00
|
|
|
netfs@!x86_64
|
2015-03-29 17:09:34 +03:00
|
|
|
userland_fs
|
2013-11-23 04:46:04 +04:00
|
|
|
|
|
|
|
haiku_$(secondaryArchs)
|
|
|
|
haiku_$(secondaryArchs)_devel
|
2014-11-20 18:02:37 +03:00
|
|
|
] ;
|
2013-11-23 04:46:04 +04:00
|
|
|
|
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
|
|
|
|
2014-07-26 02:35:53 +04:00
|
|
|
HaikuRepository $(haikuRepository) : $(repoInfo) : $(packages:S=.hpkg) ;
|