Adjust libraries arch build

This commit is contained in:
Ark74 2020-07-24 11:41:07 -05:00
parent 13ce291b77
commit 0677fc667e
3 changed files with 64 additions and 5 deletions

View file

@ -22,15 +22,15 @@ VERSION=3
EXTERNAL='deb-src http://ppa.launchpad.net/thomas-schiex/blender/ubuntu bionic main '
REPOKEY=7281E3E842A98114
BACKPORTS=true
DEPENDS=openimageio,openshadinglanguage,openjpeg,opencollada,opensubdiv
DEPENDS=alembic,openimageio,openshadinglanguage,openjpeg,opencollada,openimagedenoise,opensubdiv
. ./config
sed -i "s|debhelper (>= 7.0.50\~)|debhelper (<< 12\~)|" debian/control
#By removing these libraries/features is possible to build other arch rather amd64-only
sed -i "s|openimagedenoise,||" debian/control
sed -i "s|libalembic-dev,||" debian/control
#By adjusting these libraries/features is possible to build other archs
sed -i "s|openimagedenoise,|openimagedenoise [amd64],|" debian/control
sed -i "s|libalembic-dev,|libalembic-dev [amd64],|" debian/control
changelog "Backported from ppa and remove 64bits-only dependencies"
changelog "Backported from ppa and adjust 64bits-only dependencies"
compile