Created
November 4, 2023 16:47
-
-
Save ctag/e1d51004da409746a2ffcfd0b181ec92 to your computer and use it in GitHub Desktop.
openixcard aur pkgbuild patch for compile fixes and 1.1.8 version update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.SRCINFO b/.SRCINFO | |
index 7766641..a5e5e6f 100644 | |
--- a/.SRCINFO | |
+++ b/.SRCINFO | |
@@ -1,6 +1,6 @@ | |
pkgbase = openixcard | |
pkgdesc = Open Source Version of Allwinner PhoenixCard on Linux | |
- pkgver = 1.1.0 | |
+ pkgver = 1.1.8 | |
pkgrel = 1 | |
url = https://github.com/YuzukiTsuru/OpenixCard | |
arch = x86_64 | |
@@ -8,17 +8,19 @@ pkgbase = openixcard | |
makedepends = cmake | |
depends = glibc | |
depends = confuse | |
- source = openixcard-1.1.0::git+https://github.com/YuzukiTsuru/OpenixCard.git#tag=1.1.0 | |
+ source = openixcard-1.1.8::git+https://github.com/YuzukiTsuru/OpenixCard.git#tag=1.1.8 | |
source = git+https://github.com/YuzukiTsuru/ColorCout.git | |
source = git+https://github.com/p-ranav/argparse.git | |
source = git+https://github.com/arun11299/cpp-subprocess.git | |
source = git+https://github.com/ArthurSonzogni/FTXUI.git | |
source = git+https://github.com/SemaiCZE/inicpp.git | |
+ source = 0001-Added-cstdint-to-fix-error-when-compiling-on-Linux.patch | |
sha256sums = SKIP | |
sha256sums = SKIP | |
sha256sums = SKIP | |
sha256sums = SKIP | |
sha256sums = SKIP | |
sha256sums = SKIP | |
+ sha256sums = 5ef6d78c5e98bf7ca87911ef7609b9192a9a88411741a971d565401b8fd85523 | |
pkgname = openixcard | |
diff --git a/PKGBUILD b/PKGBUILD | |
index aa67ff5..fe0772e 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -1,6 +1,6 @@ | |
# Maintainer: Camber Huang <camber@poi.science> | |
pkgname=openixcard | |
-pkgver=1.1.0 | |
+pkgver=1.1.8 | |
pkgrel=1 | |
pkgdesc="Open Source Version of Allwinner PhoenixCard on Linux" | |
arch=("x86_64") | |
@@ -17,12 +17,14 @@ backup=() | |
options=() | |
install= | |
changelog= | |
-source=("${pkgname}-${pkgver}::git+https://github.com/YuzukiTsuru/OpenixCard.git#tag=1.1.0" | |
+source=("${pkgname}-${pkgver}::git+https://github.com/YuzukiTsuru/OpenixCard.git#tag=${pkgver}" | |
"git+https://github.com/YuzukiTsuru/ColorCout.git" | |
+ #"https://github.com/ctag/ColorCout" | |
"git+https://github.com/p-ranav/argparse.git" | |
"git+https://github.com/arun11299/cpp-subprocess.git" | |
"git+https://github.com/ArthurSonzogni/FTXUI.git" | |
"git+https://github.com/SemaiCZE/inicpp.git" | |
+ "0001-Added-cstdint-to-fix-error-when-compiling-on-Linux.patch" | |
) | |
noextract=() | |
sha256sums=('SKIP' | |
@@ -30,7 +32,8 @@ sha256sums=('SKIP' | |
'SKIP' | |
'SKIP' | |
'SKIP' | |
- 'SKIP') | |
+ 'SKIP' | |
+ '5ef6d78c5e98bf7ca87911ef7609b9192a9a88411741a971d565401b8fd85523') | |
prepare() { | |
pushd $pkgname-$pkgver | |
@@ -40,10 +43,19 @@ prepare() { | |
git config submodule.lib/cpp-subprocess.url "$srcdir/cpp-subprocess" | |
git config submodule.lib/ftxui.url "$srcdir/FTXUI" | |
git config submodule.lib/inicpp.url "$srcdir/inicpp" | |
- git submodule update | |
+ git -c protocol.file.allow=always submodule update | |
pushd lib/argparse | |
#git checkout 95d4850 include/argparse/argparse.hpp | |
popd | |
+ pushd lib/inicpp | |
+ git fetch | |
+ git checkout 0f7bd53 | |
+ popd | |
+ # Temporary workaround until ColorCout and OpenixCard/submodule are both updated. | |
+ pushd lib/ColorCout | |
+ git apply --verbose $srcdir/0001-Added-cstdint-to-fix-error-when-compiling-on-Linux.patch | |
+ popd | |
+ | |
popd | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
0001-Added-cstdint-to-fix-error-when-compiling-on-Linux.patch