mirror of
https://github.com/DrHo1y/orangepi-build.git
synced 2026-11-11 10:17:21 +07:00
Add H2/H3 legacy branch support
This commit is contained in:
4
external/packages/extras-buildpkgs/00-libdri2.conf
vendored
Normal file → Executable file
4
external/packages/extras-buildpkgs/00-libdri2.conf
vendored
Normal file → Executable file
@@ -12,10 +12,10 @@ local package_component="${release}-desktop"
|
||||
|
||||
package_checkbuild()
|
||||
{
|
||||
[[ $release == jessie ]]
|
||||
[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
package_checkinstall()
|
||||
{
|
||||
[[ $LINUXFAMILY == sun*i && $BRANCH == legacy && $RELEASE == jessie && $BUILD_DESKTOP == yes ]]
|
||||
[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $RELEASE == xenial && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
5
external/packages/extras-buildpkgs/04-libvdpau.conf
vendored
Normal file → Executable file
5
external/packages/extras-buildpkgs/04-libvdpau.conf
vendored
Normal file → Executable file
@@ -11,11 +11,12 @@ local package_component="${release}-desktop"
|
||||
|
||||
package_checkbuild()
|
||||
{
|
||||
false
|
||||
# we don't support running kernels < 3.13 on Stretch or Bionic
|
||||
[[ $release != xenial && $release != stretch && $release != bionic && $release != disco && $release != buster && $release != focal ]]
|
||||
#[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
package_checkinstall()
|
||||
{
|
||||
[[ $LINUXFAMILY == sun*i && $BRANCH == legacy && $RELEASE != stretch && $RELEASE != bionic && $BUILD_DESKTOP == yes ]]
|
||||
[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
5
external/packages/extras-buildpkgs/05-libump.conf
vendored
Normal file → Executable file
5
external/packages/extras-buildpkgs/05-libump.conf
vendored
Normal file → Executable file
@@ -11,11 +11,10 @@ local package_component="${release}-desktop"
|
||||
|
||||
package_checkbuild()
|
||||
{
|
||||
# we don't support running kernels < 3.13 on Stretch or Bionic
|
||||
[[ $arch == armhf && $release != stretch && $release != bionic && $release != buster && $release != disco ]]
|
||||
[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
package_checkinstall()
|
||||
{
|
||||
[[ $LINUXFAMILY == sun*i && $BRANCH == legacy && $RELEASE != stretch && $RELEASE != bionic && $BUILD_DESKTOP == yes ]]
|
||||
[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
5
external/packages/extras-buildpkgs/06-libcedrus.conf
vendored
Normal file → Executable file
5
external/packages/extras-buildpkgs/06-libcedrus.conf
vendored
Normal file → Executable file
@@ -11,11 +11,10 @@ local package_component="${release}-desktop"
|
||||
|
||||
package_checkbuild()
|
||||
{
|
||||
# we don't support running kernels < 3.13 on Stretch or Bionic
|
||||
[[ $release != stretch && $release != bionic && $release != buster && $release != disco ]]
|
||||
[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
package_checkinstall()
|
||||
{
|
||||
[[ $LINUXFAMILY == sun*i && $RELEASE != stretch && $RELEASE != bionic && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
6
external/packages/extras-buildpkgs/06-xf86-video-fbturbo.conf
vendored
Normal file → Executable file
6
external/packages/extras-buildpkgs/06-xf86-video-fbturbo.conf
vendored
Normal file → Executable file
@@ -11,12 +11,10 @@ local package_component="${release}-desktop"
|
||||
|
||||
package_checkbuild()
|
||||
{
|
||||
# we don't support running kernels < 3.13 on Stretch or Bionic
|
||||
[[ $release != stretch && $release != bionic ]]
|
||||
[[ $release != stretch && $release != bionic && $release != buster && $release != disco ]]
|
||||
[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
package_checkinstall()
|
||||
{
|
||||
[[ $LINUXFAMILY == sun*i && $RELEASE != stretch && $RELEASE != bionic && $BUILD_DESKTOP == yes && $BRANCH == default ]]
|
||||
[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ local package_component="${release}-desktop"
|
||||
package_checkbuild()
|
||||
{
|
||||
# until we have access to properly licensed arm64 mali binary drivers
|
||||
[[ $arch == armhf ]]
|
||||
[[ $arch == armhf && $RELEASE != xenial ]]
|
||||
}
|
||||
|
||||
package_checkinstall()
|
||||
|
||||
@@ -9,7 +9,7 @@ local package_component="${release}-utils"
|
||||
|
||||
package_checkbuild()
|
||||
{
|
||||
true
|
||||
[[ $RELEASE != xenial ]]
|
||||
}
|
||||
|
||||
package_checkinstall()
|
||||
|
||||
5
external/packages/extras-buildpkgs/90-libglshim.conf
vendored
Normal file → Executable file
5
external/packages/extras-buildpkgs/90-libglshim.conf
vendored
Normal file → Executable file
@@ -9,11 +9,10 @@ local package_component="${release}-desktop"
|
||||
|
||||
package_checkbuild()
|
||||
{
|
||||
# we don't support running kernels < 3.13 on Stretch or Bionic
|
||||
[[ $arch == armhf && $release != stretch && $release != bionic && $release != buster && $release != disco && $release != focal ]]
|
||||
[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
package_checkinstall()
|
||||
{
|
||||
[[ $LINUXFAMILY == sun[4578]i && $BRANCH == legacy && $RELEASE != stretch && $RELEASE != bionic && $BUILD_DESKTOP == yes ]]
|
||||
[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
5
external/packages/extras-buildpkgs/90-libmali-sunxi-r3p0.conf
vendored
Normal file → Executable file
5
external/packages/extras-buildpkgs/90-libmali-sunxi-r3p0.conf
vendored
Normal file → Executable file
@@ -11,11 +11,10 @@ local package_component="${release}-desktop"
|
||||
|
||||
package_checkbuild()
|
||||
{
|
||||
# we don't support running kernels < 3.13 on Stretch or Bionic
|
||||
[[ $arch == armhf && $release != stretch && $release != bionic && $release != buster && $release != disco && $release != focal ]]
|
||||
[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
package_checkinstall()
|
||||
{
|
||||
[[ $LINUXFAMILY == sun[4578]i && $BRANCH == default && $RELEASE != stretch && $RELEASE != bionic && $BUILD_DESKTOP == yes ]]
|
||||
[[ $LINUXFAMILY == sun8i && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ local package_component="${release}-utils"
|
||||
|
||||
package_checkbuild()
|
||||
{
|
||||
true
|
||||
[[ $RELEASE != xenial ]]
|
||||
}
|
||||
|
||||
package_checkinstall()
|
||||
|
||||
@@ -9,7 +9,7 @@ local package_component="${release}-utils"
|
||||
|
||||
package_checkbuild()
|
||||
{
|
||||
true
|
||||
[[ $RELEASE != xenial ]]
|
||||
}
|
||||
|
||||
package_checkinstall()
|
||||
|
||||
@@ -14,7 +14,6 @@ Homepage: https://github.com/linux-sunxi/sunxi-mali/
|
||||
Package: libmali-sunxi-r3p0
|
||||
Architecture: any
|
||||
Pre-Depends:
|
||||
orangepi-bsp,
|
||||
${misc:Pre-Depends}
|
||||
Depends:
|
||||
${shlibs:Depends},
|
||||
|
||||
@@ -7,7 +7,7 @@ LINUXFAMILY=""
|
||||
|
||||
case "$1" in
|
||||
install)
|
||||
if [ -z "$BRANCH" ] || [ "$BRANCH" != "default" ]; then
|
||||
if [ -z "$BRANCH" ] || [ "$BRANCH" != "legacy" ]; then
|
||||
echo "Mali binary driver can be used only with legacy kernel" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user