Add VDPAU_OSD to Pine64 board support package
This commit is contained in:
parent
76444a386f
commit
2d26eeb9e5
@ -257,12 +257,6 @@ create_board_package()
|
||||
else
|
||||
arm-linux-gnueabihf-gcc $SRC/lib/scripts/sunxi-temp/sunxi_tp_temp.c -o $destination/usr/bin/sunxi_tp_temp
|
||||
fi
|
||||
|
||||
# add mpv config for vdpau_sunxi
|
||||
mkdir -p $destination/etc/mpv/
|
||||
cp $SRC/lib/config/mpv_sunxi.conf $destination/etc/mpv/mpv.conf
|
||||
echo "export VDPAU_OSD=1" > $destination/etc/profile.d/90-vdpau.sh
|
||||
chmod 755 $destination/etc/profile.d/90-vdpau.sh
|
||||
fi
|
||||
|
||||
# convert and add fex files
|
||||
@ -272,6 +266,14 @@ create_board_package()
|
||||
done
|
||||
fi
|
||||
|
||||
if [[ ( $LINUXFAMILY == sun*i || $LINUXFAMILY == pine64 ) && $BRANCH == default ]]; then
|
||||
# add mpv config for vdpau_sunxi
|
||||
mkdir -p $destination/etc/mpv/
|
||||
cp $SRC/lib/config/mpv_sunxi.conf $destination/etc/mpv/mpv.conf
|
||||
echo "export VDPAU_OSD=1" > $destination/etc/profile.d/90-vdpau.sh
|
||||
chmod 755 $destination/etc/profile.d/90-vdpau.sh
|
||||
fi
|
||||
|
||||
# add some summary to the image
|
||||
fingerprint_image "$destination/etc/armbian.txt"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user