rav1e: restore build on i686
This commit is contained in:
parent
ad127539ec
commit
00fcc82146
@ -14,29 +14,16 @@ checksum=16c383692a5e7abd9f6d1eddb1a5e0269f859392387883361bb09e5555852ec1
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64*) hostmakedepends+=" nasm" ;;
|
||||
esac
|
||||
if [ "$XBPS_WORDSIZE" = 32 ]; then
|
||||
broken="broken large file offset support"
|
||||
fi
|
||||
|
||||
post_build() {
|
||||
local _slib=
|
||||
# 32 bit off_t, no idea how to widen it
|
||||
if [ "$XBPS_WORDSIZE" != 32 ]; then
|
||||
_slib=yes
|
||||
fi
|
||||
cargo auditable cbuild --release --target ${RUST_TARGET} \
|
||||
--library-type cdylib ${_slib:+--library-type staticlib} \
|
||||
--library-type cdylib --library-type staticlib \
|
||||
--destdir="${DESTDIR}" --prefix="/usr" ${configure_args}
|
||||
}
|
||||
|
||||
post_install() {
|
||||
local _slib=
|
||||
# 32 bit off_t, no idea how to widen it
|
||||
if [ "$XBPS_WORDSIZE" != 32 ]; then
|
||||
_slib=yes
|
||||
fi
|
||||
cargo auditable cinstall --release --target ${RUST_TARGET} \
|
||||
--library-type cdylib ${_slib:+--library-type staticlib} \
|
||||
--library-type cdylib --library-type staticlib \
|
||||
--destdir="${DESTDIR}" --prefix="/usr" --offline --locked ${configure_args}
|
||||
|
||||
vlicense LICENSE
|
||||
@ -46,9 +33,7 @@ rav1e-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
if [ "$XBPS_WORDSIZE" != 32 ]; then
|
||||
vmove "usr/lib/*.a"
|
||||
fi
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/include
|
||||
|
Loading…
x
Reference in New Issue
Block a user