Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: buffyboard-0.2.0
@ 2022-02-27 17:18 JamiKettunen
  2022-02-27 19:49 ` the-maldridge
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: JamiKettunen @ 2022-02-27 17:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1227 bytes --]

There is a new pull request by JamiKettunen against master on the void-packages repository

https://github.com/JamiKettunen/void-packages buffyboard
https://github.com/void-linux/void-packages/pull/35876

New package: buffyboard-0.2.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/35876.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-buffyboard-35876.patch --]
[-- Type: text/x-diff, Size: 2743 bytes --]

From 937049740a4d20a6fd5a6138814bdeb5be3071c6 Mon Sep 17 00:00:00 2001
From: Jami Kettunen <jami.kettunen@protonmail.com>
Date: Sun, 27 Feb 2022 19:16:00 +0200
Subject: [PATCH] New package: buffyboard-0.2.0

---
 srcpkgs/buffyboard/files/buffyboard/run |  9 ++++++
 srcpkgs/buffyboard/template             | 37 +++++++++++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 srcpkgs/buffyboard/files/buffyboard/run
 create mode 100644 srcpkgs/buffyboard/template

diff --git a/srcpkgs/buffyboard/files/buffyboard/run b/srcpkgs/buffyboard/files/buffyboard/run
new file mode 100644
index 000000000000..8ab9c2272067
--- /dev/null
+++ b/srcpkgs/buffyboard/files/buffyboard/run
@@ -0,0 +1,9 @@
+#!/bin/sh
+[ -e /dev/uinput ] || modprobe uinput || exit 1
+[ -r conf ] && . ./conf
+if [ -z "$OPTS" ]; then
+	# match current framebuffer rotation if no OPTS specified
+	ROTATION=$(cat /sys/class/graphics/fbcon/rotate 2>/dev/null)
+	OPTS="-r ${ROTATION:-0}"
+fi
+exec buffyboard ${OPTS}
diff --git a/srcpkgs/buffyboard/template b/srcpkgs/buffyboard/template
new file mode 100644
index 000000000000..77d67f55bd57
--- /dev/null
+++ b/srcpkgs/buffyboard/template
@@ -0,0 +1,37 @@
+# Template file for 'buffyboard'
+pkgname=buffyboard
+version=0.2.0
+revision=1
+_lv_drivers_commit=33983bcb0a9bfd0a4cf44dba67617b9f537e76f3
+_lvgl_commit=a2b555e096f7d401b5d8e877a6b5e81ff81c747a
+_squeek2lvgl_commit=e3ce01bc38020b21bc61844fa1fed1a4f41097c5
+build_style=meson
+hostmakedepends="pkg-config"
+makedepends="libinput-devel libxkbcommon-devel eudev-libudev-devel linux-headers"
+short_desc="Touch-enabled framebuffer keyboard (not only) for vampire slayers"
+maintainer="Jami Kettunen <jami.kettunen@protonmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.com/cherrypicker/buffyboard"
+distfiles="
+	https://gitlab.com/cherrypicker/buffyboard/-/archive/${version}/${pkgname}-${version}.tar.gz
+	https://github.com/lvgl/lv_drivers/archive/${_lv_drivers_commit}/lv_drivers-${_lv_drivers_commit}.tar.gz
+	https://github.com/lvgl/lvgl/archive/${_lvgl_commit}/lvgl-${_lvgl_commit}.tar.gz
+	https://gitlab.com/cherrypicker/squeek2lvgl/-/archive/${_squeek2lvgl_commit}/squeek2lvgl-${_squeek2lvgl_commit}.tar.gz
+"
+checksum="
+	936cb01609defb26d8f57cd4893d7ad54d1b019e0e735f1e2aece2b8185a4eb8
+	4605f6aa933049d21d06fc342674057bf97bc4ad343245de08317c7ff6d51289
+	ccc38659c1fa64df5de84c3fe533afeef50a826dbcd1bdc960348767c0807286
+	1c4ba6540ecb06eafabe920f1f9c2e95271382873b3f13189c27006527bfd5e7
+"
+
+post_extract() {
+	rmdir lv_drivers lvgl squeek2lvgl
+	mv ../lv_drivers-${_lv_drivers_commit} lv_drivers
+	mv ../lvgl-${_lvgl_commit} lvgl
+	mv ../squeek2lvgl-${_squeek2lvgl_commit} squeek2lvgl
+}
+
+post_install() {
+	vsv buffyboard
+}

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-11-10 19:32 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-27 17:18 [PR PATCH] New package: buffyboard-0.2.0 JamiKettunen
2022-02-27 19:49 ` the-maldridge
2022-02-27 20:01 ` classabbyamp
2022-02-27 20:56 ` JamiKettunen
2022-02-27 20:57 ` JamiKettunen
2022-03-03  7:58 ` classabbyamp
2022-06-26  2:17 ` github-actions
2022-07-11  2:13 ` [PR PATCH] [Closed]: " github-actions
2022-11-10 19:17 ` Johennes
2022-11-10 19:24 ` classabbyamp
2022-11-10 19:32 ` Johennes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).