mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
sys-boot/osk-sdl: bump to 0.65
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Marco Scardovi <marco@scardovi.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST osk-sdl-0.64.tar.gz 37851 BLAKE2B dc297a0b1879f7b64bceb3032275b30f10072c50a2e2ddd985e94136ebf2308819fe71ca831fcc05d413c5e74f8ab955d920cc63bd90529e0c45fd3b6aae44db SHA512 0da985e1e8d0352f53f661dd4f7f6243a8f9b48279297f4ea3b120aa239c733411a83d324b58d152cafd9c2e7a791a36506afec6449e141c6445f0420bb9fd6b
|
||||
DIST osk-sdl-0.65.tar.gz 38007 BLAKE2B 3b64b44f74d72ab58468ecafe2e9aea054cd8a836ce18ece7e0b407de4311af7e70e197330ff3e88091c007a82942c33c1a2b538849cb45f78bd35674cd15e97 SHA512 070dcc1073266ecbe4c4c0089f29ac8687d98bbdcbd1c1578aa737bd6fbc96adeab6bd958295d073ef95515e63f536cef67c7e7e7b492b4ee3dc81fdcc8b9464
|
||||
|
||||
65
sys-boot/osk-sdl/osk-sdl-0.65.ebuild
Normal file
65
sys-boot/osk-sdl/osk-sdl-0.65.ebuild
Normal file
@@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="Lightweight On-Screen-Keyboard based on SDL2"
|
||||
HOMEPAGE="https://gitlab.com/postmarketOS/osk-sdl"
|
||||
SRC_URI="https://gitlab.com/postmarketOS/osk-sdl/-/archive/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
app-portage/gentoolkit
|
||||
media-libs/cogl
|
||||
media-fonts/dejavu
|
||||
media-libs/libglvnd
|
||||
media-libs/libsdl2[kms,haptic]
|
||||
media-libs/mesa
|
||||
media-libs/sdl2-ttf
|
||||
sys-fs/cryptsetup
|
||||
sys-kernel/dracut
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
app-text/scdoc
|
||||
test? (
|
||||
x11-misc/xdotool
|
||||
x11-misc/xvfb-run
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e s/ttf-dejavu/dejavu/ -i osk.conf || die "Failed to sed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
meson_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
insinto /etc
|
||||
doins osk.conf
|
||||
insinto /etc/dracut.conf.d/
|
||||
doins "${FILESDIR}"/osk-sdl-pp.conf
|
||||
insinto /usr/lib/dracut/modules.d/50osk-sdl
|
||||
doins "${FILESDIR}"/osk-sdl-pp.path
|
||||
doins "${FILESDIR}"/osk-sdl-pp.service
|
||||
exeinto /usr/lib/dracut/modules.d/50osk-sdl
|
||||
doexe "${FILESDIR}"/module-setup.sh
|
||||
doexe "${FILESDIR}"/osk-sdl.sh
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "For more info on how to test osk-sdl, and how to report problems, see: ${HOMEPAGE}"
|
||||
einfo "To use osk-sdl to unlock encrypted root at bootime, check osk-sdl-pp.conf in /etc/dracut.conf.d"
|
||||
einfo "and add these boot option 'root=/dev/mapper/root cryptroot=/dev/path/to/encrypted_partition' "
|
||||
}
|
||||
Reference in New Issue
Block a user