Package Details: libtsm-patched-git 4.0.2.r41.gba2aea2-1

Git Clone URL: https://aur.archlinux.org/libtsm-patched-git.git (read-only, click to copy)
Package Base: libtsm-patched-git
Description: Terminal-emulator State Machine. Patched flavor (using patches from http://github.com/Aetf/libtsm)
Upstream URL: http://www.freedesktop.org/wiki/Software/kmscon/libtsm
Licenses: MIT
Conflicts: libtsm, libtsm-patched
Provides: libtsm, libtsm-patched
Submitter: Aetf
Maintainer: Aetf
Last Packager: Aetf
Votes: 10
Popularity: 0.000994
First Submitted: 2015-05-22 07:41 (UTC)
Last Updated: 2025-08-14 06:12 (UTC)

Dependencies (4)

Required by (4)

Sources (1)

Latest Comments

1 2 Next › Last »

Aetf commented on 2025-08-14 06:14 (UTC)

Thanks @ItachiSan, updated to use meson.

ItachiSan commented on 2025-08-13 09:37 (UTC)

This works for me:

git diff PKGBUILD
diff --git a/PKGBUILD b/PKGBUILD
index 0c22f21..fef66bc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,14 @@
 # Maintainer: Aetf <aetf at unlimitedcodeworks dor xyz>
 pkgname=libtsm-patched-git
 _gitname=libtsm
-pkgver=4.0.2.r4.g06d52d1
+pkgver=4.0.2.r41.gba2aea2
 pkgrel=1
 pkgdesc="Terminal-emulator State Machine. Patched flavor (using patches from http://github.com/Aetf/libtsm)"
 arch=('x86_64' 'armv7h' 'aarch64')
 url="http://www.freedesktop.org/wiki/Software/kmscon/$_gitname"
 license=('MIT')
 depends=(glibc)
-makedepends=('cmake' 'git' 'libxkbcommon')
+makedepends=('meson' 'git' 'libxkbcommon')
 provides=('libtsm-patched' 'libtsm')
 conflicts=('libtsm' 'libtsm-patched')
 options=(!libtool)
@@ -23,20 +23,12 @@ pkgver() {
 prepare() {
   cd "$srcdir/$_gitname"

-  mkdir -p build && cd build
-
-  cmake \
-    -DBUILD_TESTING=OFF \
-    -DBUILD_GTKTSM=OFF \
-    -DCMAKE_INSTALL_LIBDIR=lib \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=Release \
-    ..
+  arch-meson . build -Dtests=false -Dgtktsm=false
 }

 build() {
   cd "$srcdir/$_gitname/build"
-  make
+  meson compile
 }

 package() {
@@ -44,7 +36,7 @@ package() {
   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$_gitname/COPYING"

   cd build
-  make DESTDIR="$pkgdir/" install
+  meson install --destdir "$pkgdir/"
 }

 # vim:set ts=2 sw=2 et:

XenHat commented on 2025-05-09 07:05 (UTC)

PKGBUILD needs pkgver format update.

-  git describe --long | sed -r "s/^$_gitname-//;s/^v//;s/([^-]*-g)/r\\1/;s/-/./g"
+  echo $(grep '    VERSION' CMakeLists.txt | cut -d\  -f 6).r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)

Aetf commented on 2022-07-21 06:55 (UTC)

@latipun Done.

latipun commented on 2022-07-21 06:37 (UTC)

Please add aarch64, I can build it with Raspberry Pi 4B.

Aetf commented on 2020-03-19 01:42 (UTC)

Thanks @svito. Updated

svito commented on 2020-03-19 00:43 (UTC)

Also mkdir command should have -p flag or otherwise it will fail on rebuild.

svito commented on 2018-12-20 13:59 (UTC)

Needs cmake in makedepends. Thanks for packaging!

Aetf commented on 2018-10-10 16:54 (UTC)

Hi @LChris314

Thanks, I've updated pkgver function to work with new vx.y.z tag names.

LChris314 commented on 2018-10-10 08:51 (UTC)

Hello. The PKGBUILD needs these two updates:

  • pkgver is still 4.0.0, making yay constantly want to update the package.
  • The pkgver function doesn't chop off the prefix v, so it returns v4.0.1.r1<xxxx> instead of 4.0.1.r1<xxxx>.

Thanks!