haiku/build/jam/repositories/Haiku
Adrien Destugues fda0bf77fb Revert "repo rework: Re-add compatibility url field"
Revert "repo rework: Remove stubs; Breaks repo compat."
Revert "repo rework: Remove need for repos to be self-aware"

This reverts commit a2b2f4d642.
This reverts commit 602076ef82.
This reverts commit 5ffaf72c8a.

These changes break the build on Haiku and the ability to create repo
mirrors, for the lack of a replacement for the URL (an UUID was evoked
on the mailing lists, but not implemented).

We are due for a release soon, please don't break the build.
2016-12-10 12:55:56 +01:00

56 lines
1.2 KiB
Plaintext

# Builds the Haiku packages repository.
local haikuRepository = <repository>Haiku ;
MakeLocate $(haikuRepository)
: $(HAIKU_PACKAGE_REPOSITORIES_DIR_$(HAIKU_PACKAGING_ARCH)) ;
local repoInfo = <repository-info-template>haiku ;
SEARCH on $(repoInfo) = $(HAIKU_TOP)/src/data/repository_infos ;
local secondaryArchs = $(TARGET_PACKAGING_ARCHS[2-]) ;
local packages = [ FFilterByBuildFeatures
haiku
haiku_devel
haiku_loader
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
netfs@!x86_64
userland_fs
haiku_$(secondaryArchs)
haiku_$(secondaryArchs)_devel
] ;
local webPositiveIsAvailable ;
local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup ] {
on $(architectureObject) {
if [ FIsBuildFeatureEnabled webpositive ] {
webPositiveIsAvailable = true ;
break ;
}
}
}
if $(webPositiveIsAvailable) {
packages += webpositive ;
}
HaikuRepository $(haikuRepository) : $(repoInfo) : $(packages:S=.hpkg) ;