Enable boot branding for all platforms

This commit is contained in:
Evgeny Sinelnikov 2021-04-15 03:26:58 +04:00 committed by Alexey Shabalin
parent fa20a4a9b8
commit cbb8f0a940
2 changed files with 5 additions and 10 deletions

View File

@ -134,7 +134,7 @@ indexhtml:
done
install -Dpm644 indexhtml/indexhtml.desktop $(datadir)/applications/indexhtml.desktop
install: browser-qt ahttpd boot indexhtml
install: browser-qt ahttpd boot-images boot-splash boot indexhtml
# install product icon
# for size in 16 22 24 32 48 64 128; do \
# install -Dm 0644 icons/alt-$(THEME)-$$size.png $(datadir)/icons/hicolor/$${size}x$${size}/apps/alt-$(THEME).png; \

View File

@ -21,9 +21,10 @@ Url: https://basealt.ru
%ifarch %ix86 x86_64
BuildRequires: gfxboot >= 4
%endif
BuildRequires: cpio fonts-ttf-dejavu fonts-ttf-google-droid-sans
BuildRequires: design-bootloader-source >= 5.0-alt2
BuildRequires: cpio
%endif
BuildRequires: fonts-ttf-dejavu fonts-ttf-google-droid-sans
BuildRequires(pre): rpm-macros-branding
BuildRequires: libalternatives-devel
@ -203,15 +204,9 @@ Requires(post): indexhtml-common
%prep
%setup -n branding
%ifnarch %arm
%define x86 boot
%else
%define x86 %nil
%endif
%build
autoconf
THEME=%theme NAME='%Brand %Theme' BRAND_FNAME='%brand' BRAND='%brand' STATUS_EN=%status_en STATUS=%status VERSION=%version PRODUCT_NAME_RU='%distro_name_ru' PRODUCT_NAME='%distro_name' CODENAME='%codename' X86='%x86' ./configure
THEME=%theme NAME='%Brand %Theme' BRAND_FNAME='%brand' BRAND='%brand' STATUS_EN=%status_en STATUS=%status VERSION=%version PRODUCT_NAME_RU='%distro_name_ru' PRODUCT_NAME='%distro_name' CODENAME='%codename' ./configure
make
%install