mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-11-13 03:23:48 +07:00
t527: Add gpu acceleration and gst hw decode
This commit is contained in:
17
external/config/sources/families/sun55iw3.conf
vendored
17
external/config/sources/families/sun55iw3.conf
vendored
@@ -75,6 +75,23 @@ family_tweaks_s()
|
||||
SERIALCON="ttyAS0"
|
||||
fi
|
||||
|
||||
rsync -a --chown=root:root "${EXTER}"/packages/bsp/t527/* ${SDCARD}/
|
||||
|
||||
if [[ ${SELECTED_CONFIGURATION} == desktop ]]; then
|
||||
local packages_to_install=("mesa" "libcedarc" "gst-omx")
|
||||
chroot $SDCARD /bin/bash -c "apt-get -y -qq install gstreamer1.0-x" >> "${DEST}"/${LOG_SUBPATH}/install.log 2>&1
|
||||
for package in ${packages_to_install[@]}; do
|
||||
dpkg_install_debs_chroot $EXTER/cache/sources/t527_packages/$RELEASE/$package
|
||||
done
|
||||
|
||||
if [[ $RELEASE == jammy ]]; then
|
||||
chroot $SDCARD /bin/bash -c "apt-get -y -qq install glmark2 glmark2-wayland" >> "${DEST}"/${LOG_SUBPATH}/install.log 2>&1
|
||||
elif [[ $RELEASE == bookworm ]]; then
|
||||
chroot $SDCARD /bin/bash -c "apt-get -y -qq install glmark2-x11 glmark2-wayland" >> "${DEST}"/${LOG_SUBPATH}/install.log 2>&1
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
install_wiringop
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user