Fixed missing file in tarball package - 0001-Fixed-missing-autogen.sh.patch
Signed-off-by: Lim Siew Hoon <[email protected]> --- .../files/0001-Fixed-missing-autogen.sh.patch | 82 +++++++++++++++++++ ...-intel_2.20.0.bb => libva-intel_2.21.0.bb} | 3 +- 2 files changed, 84 insertions(+), 1 deletion(-) create mode 100644 recipes-graphics/libva/files/0001-Fixed-missing-autogen.sh.patch rename recipes-graphics/libva/{libva-intel_2.20.0.bb => libva-intel_2.21.0.bb} (93%) diff --git a/recipes-graphics/libva/files/0001-Fixed-missing-autogen.sh.patch b/recipes-graphics/libva/files/0001-Fixed-missing-autogen.sh.patch new file mode 100644 index 00000000..5a88d2de --- /dev/null +++ b/recipes-graphics/libva/files/0001-Fixed-missing-autogen.sh.patch @@ -0,0 +1,82 @@ +From 00b6787cc6cf4c4b075b0dfaa836a9924154a8bc Mon Sep 17 00:00:00 2001 +From: Lim Siew Hoon <[email protected]> +Date: Thu, 18 Apr 2024 16:13:14 +0800 +Subject: [PATCH] Fixed missing autogen.sh + +The tar.gz file missing out autogen.sh, but github code +based contains autogen.sh file in 2.21.0 version code +based. + +Signed-off-by: Lim Siew Hoon <[email protected]> +--- + autogen.sh | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 58 insertions(+) + create mode 100755 autogen.sh + +diff --git a/autogen.sh b/autogen.sh +new file mode 100755 +index 0000000..aa99976 +--- /dev/null ++++ b/autogen.sh +@@ -0,0 +1,58 @@ ++#!/bin/sh ++# Copyright (c) 2007 Intel Corporation. All Rights Reserved. ++# ++# Permission is hereby granted, free of charge, to any person obtaining a ++# copy of this software and associated documentation files (the ++# "Software"), to deal in the Software without restriction, including ++# without limitation the rights to use, copy, modify, merge, publish, ++# distribute, sub license, and/or sell copies of the Software, and to ++# permit persons to whom the Software is furnished to do so, subject to ++# the following conditions: ++# ++# The above copyright notice and this permission notice (including the ++# next paragraph) shall be included in all copies or substantial portions ++# of the Software. ++# ++# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ++# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ++# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. ++# IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR ++# ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, ++# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE ++# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ++ ++PROJECT="libva" ++ ++# for `meson dist` ++if test -z "$srcdir"; then ++ srcdir="$MESON_PROJECT_DIST_ROOT" ++ test -n "$srcdir" || srcdir="$MESON_DIST_ROOT" ++ test -n "$srcdir" && NOCONFIGURE=1 ++fi ++ ++test -n "$srcdir" || srcdir="`dirname \"$0\"`" ++test -n "$srcdir" || srcdir=. ++ ++if ! test -f "$srcdir/configure.ac"; then ++ echo "Failed to find the top-level $PROJECT directory" ++ exit 1 ++fi ++ ++olddir="`pwd`" ++cd "$srcdir" ++ ++mkdir -p m4 ++ ++AUTORECONF=`command -v autoreconf` ++if test -z $AUTORECONF; then ++ echo "*** No autoreconf found ***" ++ exit 1 ++else ++ autoreconf -v --install || exit $? ++fi ++ ++cd "$olddir" ++ ++if test -z "$NOCONFIGURE"; then ++ $srcdir/configure "$@" && echo "Now type 'make' to compile $PROJECT." ++fi +-- +2.40.1 + diff --git a/recipes-graphics/libva/libva-intel_2.20.0.bb b/recipes-graphics/libva/libva-intel_2.21.0.bb similarity index 93% rename from recipes-graphics/libva/libva-intel_2.20.0.bb rename to recipes-graphics/libva/libva-intel_2.21.0.bb index c81ed65c..a68e32bb 100644 --- a/recipes-graphics/libva/libva-intel_2.20.0.bb +++ b/recipes-graphics/libva/libva-intel_2.21.0.bb @@ -18,8 +18,9 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f" SRC_URI = "https://github.com/intel/libva/releases/download/${PV}/libva-${PV}.tar.bz2 \ + file://0001-Fixed-missing-autogen.sh.patch \ " -SRC_URI[sha256sum] = "f72bdb4f48dfe71ad01f1cbefe069672a2c949a6abd51cf3c4d4784210badc49" +SRC_URI[sha256sum] = "9dc1a84373b656434e6a8f3ac7522bc1c959cc3434aea89d2c02092986d87016" S = "${WORKDIR}/libva-${PV}" -- 2.43.2
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8306): https://lists.yoctoproject.org/g/meta-intel/message/8306 Mute This Topic: https://lists.yoctoproject.org/mt/105955741/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
