63b76faeea
Translators and media-plugins are the main source of dependencies in haiku.hpkg, and thus the main source of packages being pulled into chroots, especially HaikuPorter chroots. (FFmpeg pulls in a rather large array of sub- dependencies, itself.) So, here we break all the translators into their own sub-package. For now, haiku.hpkg is declared to depend on haiku_datatranslators, so that users will not suddenly update and have no translators. In the future, this will be dropped. Note that this is only done for the primary arch at present. Secondary architecture translators remain in the main secondary package for now. Change-Id: Id0b352f34f7110b79ec7787792bf3ae0edab4054 Reviewed-on: https://review.haiku-os.org/c/haiku/+/4477 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
68 lines
1.5 KiB
Plaintext
68 lines
1.5 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_datatranslators
|
|
haiku_devel
|
|
haiku_loader
|
|
|
|
haiku_$(secondaryArchs)
|
|
haiku_$(secondaryArchs)_devel
|
|
] ;
|
|
|
|
if $(HAIKU_IS_BOOTSTRAP) != 1 && $(HAIKU_BUILD_TYPE) != minimum {
|
|
packages += [ FFilterByBuildFeatures
|
|
haiku_extras
|
|
haiku_source
|
|
haiku_userguide_ca
|
|
haiku_userguide_de
|
|
haiku_userguide_en
|
|
haiku_userguide_es
|
|
haiku_userguide_fi
|
|
haiku_userguide_fr
|
|
haiku_userguide_fur
|
|
haiku_userguide_hu
|
|
haiku_userguide_id
|
|
haiku_userguide_it
|
|
haiku_userguide_jp
|
|
haiku_userguide_pl
|
|
haiku_userguide_pt_BR
|
|
haiku_userguide_pt_PT
|
|
haiku_userguide_ro
|
|
haiku_userguide_ru
|
|
haiku_userguide_sk
|
|
haiku_userguide_sv_SE
|
|
haiku_userguide_tr
|
|
haiku_userguide_uk
|
|
haiku_userguide_zh_CN
|
|
haiku_welcome
|
|
makefile_engine
|
|
netfs
|
|
userland_fs
|
|
] ;
|
|
}
|
|
|
|
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) ;
|