Replace scheduled AUR imports with direct upstream watches

This commit is contained in:
Ryan Hughes committed 2026-09-14 21:15:17 -04:00
1 parent f26a60aef7
commit b34de5c29e
115 files changed
+2155 -1242

No files matched your search

@@ -1,5 +1,14 @@
{
"source": "aur",
"source": "local",
"release_ring": "fast",
"upstream_commit": "99700efde7dc0200719dfed1a1147ace2cd7b0c0"
"upstream": {
"watch": {
"github": "google-ai-edge/mediapipe",
"pattern": "v(?P<version>[0-9]+(?:\\.[0-9]+)*)"
}
},
"origin": {
"aur": "python-mediapipe",
"commit": "99700efde7dc0200719dfed1a1147ace2cd7b0c0"
}
}
@@ -1,42 +0,0 @@
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,6 +2,7 @@
# Maintainer: Hu Butui <hot123tea123@gmail.com>
_pkgname=mediapipe
+_bazel_version=7.4.1
pkgname=python-mediapipe
pkgver=1.0.0
pkgrel=2
@@ -27,10 +28,10 @@ makedepends=(
python-installer
python-setuptools
python-wheel
- wget
)
source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/google-ai-edge/mediapipe/archive/refs/tags/v${pkgver}.tar.gz"
+ "bazel-${_bazel_version}-linux-x86_64::https://github.com/bazelbuild/bazel/releases/download/${_bazel_version}/bazel-${_bazel_version}-linux-x86_64"
"0004-use-opencv-headers.patch"
"0005-set-hermetic-python-version-and-disable-odml-converter.patch"
"0006-opencv5-geometry-header.patch"
@@ -38,6 +39,7 @@ source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/google-ai-edge/medi
"0007-bump-rules-java.patch"
)
sha256sums=('6343314dad0f4112610807ca723eee63feea00711dc2be9360928b6f0a5eba12'
+ 'c97f02133adce63f0c28678ac1f21d65fa8255c80429b588aeeba8a1fac6202b'
'd18e88a217a00dc77cf2bfaa1d33b5fbc912deed5df686b0d2455fb0db75a677'
'62cbd43346e7a7705127656a74bec44852e5bbfc006c4723005fdd23af5258db'
'fb082d88d9cca47534ae01fca676a3afdb909bfc82d52c97cf0eaedf34571d5f'
@@ -47,9 +49,8 @@ sha256sums=('6343314dad0f4112610807ca723eee63feea00711dc2be9360928b6f0a5eba12'
prepare() {
# bazel in the ArchLinux is not working
mkdir -p ${srcdir}/bin
- bazel_version=$(cat ${srcdir}/${_pkgname}-${pkgver}/.bazelversion)
- wget https://github.com/bazelbuild/bazel/releases/download/${bazel_version}/bazel-${bazel_version}-linux-x86_64 -O ${srcdir}/bin/bazel
- chmod +x ${srcdir}/bin/bazel
+ install -Dm755 "${srcdir}/bazel-${_bazel_version}-linux-x86_64" \
+ "${srcdir}/bin/bazel"
export PATH=${srcdir}/bin:${PATH}
cd "${srcdir}/${_pkgname}-${pkgver}"
patch -p1 -i "${srcdir}/0004-use-opencv-headers.patch"