Skip to content

Commit 9a6fafd

Browse files
authored
Update yaft to v0.1.1 (#763)
* Update yaft to v0.1.1
1 parent edc7d02 commit 9a6fafd

File tree

2 files changed

+19
-39
lines changed

2 files changed

+19
-39
lines changed

package/yaft/input.patch

Lines changed: 0 additions & 23 deletions
This file was deleted.

package/yaft/package

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,37 +5,40 @@
55
pkgnames=(yaft)
66
pkgdesc="Yet another framebuffer terminal"
77
url=https://github.com/timower/rM2-stuff/tree/master/apps/yaft
8-
_tag=0.0.10
9-
pkgver=${_tag}-2
10-
timestamp=2023-08-12T14:31Z
8+
_tag=0.1.1
9+
pkgver=${_tag}-1
10+
timestamp=2023-11-25T20:49:48Z
1111
maintainer="Mattéo Delabre <[email protected]>"
1212
license=GPL-3.0
1313
section="admin"
14-
image=base:v2.3
14+
image=base:v3.1
1515
installdepends=(display terminfo)
1616

17-
source=(
18-
"https://github.com/timower/rM2-stuff/archive/refs/tags/v${_tag}.zip"
19-
input.patch
20-
)
17+
source=()
18+
sha256sums=()
2119

22-
sha256sums=(
23-
1cd4741a93cde6bd545215eb303e51219fc9901cba1c28b6206b1b5e0871a7b5
24-
SKIP
25-
)
20+
prepare() {
21+
cd "$srcdir"
22+
mkdir -p yaft
23+
cd yaft
24+
git init
25+
git lfs install
26+
git remote add origin https://github.com/timower/rM2-stuff.git
27+
git fetch --depth 1 origin tag v${_tag} --no-tags
28+
git checkout v${_tag}
29+
git lfs fetch
30+
git lfs checkout
31+
}
2632

2733
build() {
28-
patch -u libs/rMlib/Device.cpp -i input.patch
2934
mkdir build
3035
mkdir install
3136
cd build
3237
cmake -DCMAKE_TOOLCHAIN_FILE="/usr/share/cmake/$CHOST.cmake" \
33-
-DCMAKE_INSTALL_PREFIX="../install" -DCMAKE_BUILD_TYPE=Release ..
38+
-DCMAKE_INSTALL_PREFIX="../install" -DCMAKE_BUILD_TYPE=Release ../yaft
3439
cd apps/yaft
3540
make
3641
make install
37-
cd ../../libs/libYaft
38-
make install
3942
}
4043

4144
package() {

0 commit comments

Comments
 (0)