Skip to content

Commit

Permalink
Update yaft to v0.1.1 (#763)
Browse files Browse the repository at this point in the history
* Update yaft to v0.1.1
  • Loading branch information
Eeems authored Jan 13, 2024
1 parent edc7d02 commit 9a6fafd
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 39 deletions.
23 changes: 0 additions & 23 deletions package/yaft/input.patch

This file was deleted.

35 changes: 19 additions & 16 deletions package/yaft/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,40 @@
pkgnames=(yaft)
pkgdesc="Yet another framebuffer terminal"
url=https://github.com/timower/rM2-stuff/tree/master/apps/yaft
_tag=0.0.10
pkgver=${_tag}-2
timestamp=2023-08-12T14:31Z
_tag=0.1.1
pkgver=${_tag}-1
timestamp=2023-11-25T20:49:48Z
maintainer="Mattéo Delabre <[email protected]>"
license=GPL-3.0
section="admin"
image=base:v2.3
image=base:v3.1
installdepends=(display terminfo)

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

sha256sums=(
1cd4741a93cde6bd545215eb303e51219fc9901cba1c28b6206b1b5e0871a7b5
SKIP
)
prepare() {
cd "$srcdir"
mkdir -p yaft
cd yaft
git init
git lfs install
git remote add origin https://github.com/timower/rM2-stuff.git
git fetch --depth 1 origin tag v${_tag} --no-tags
git checkout v${_tag}
git lfs fetch
git lfs checkout
}

build() {
patch -u libs/rMlib/Device.cpp -i input.patch
mkdir build
mkdir install
cd build
cmake -DCMAKE_TOOLCHAIN_FILE="/usr/share/cmake/$CHOST.cmake" \
-DCMAKE_INSTALL_PREFIX="../install" -DCMAKE_BUILD_TYPE=Release ..
-DCMAKE_INSTALL_PREFIX="../install" -DCMAKE_BUILD_TYPE=Release ../yaft
cd apps/yaft
make
make install
cd ../../libs/libYaft
make install
}

package() {
Expand Down

0 comments on commit 9a6fafd

Please sign in to comment.