From: JamiKettunen <JamiKettunen@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: buffyboard-0.2.0
Date: Sun, 27 Feb 2022 18:18:35 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35876@inbox.vuxu.org> (raw)
[-- 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
+}
next reply other threads:[~2022-02-27 17:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-27 17:18 JamiKettunen [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35876@inbox.vuxu.org \
--to=jamikettunen@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).