app-misc/wally-cli - 2.0.1 (gentoo)

Search

Install

Install this version:

emerge -a =app-misc/wally-cli-2.0.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-misc/wally-cli-2.0.1

Or alternatively:

emerge --autounmask-write -a =app-misc/wally-cli-2.0.1

Package Information

Description:
Flash your ZSA Keyboard the EZ way
Homepage:
https://github.com/zsa/wally-cli
License:
Apache-2.0 BSD BSD-4 MIT public-domain

Ebuild Details

Version EAPI Keywords Slot
2.0.1 8 ~amd64 0
View Raw Ebuild
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module udev

DESCRIPTION="Flash your ZSA Keyboard the EZ way"
HOMEPAGE="https://github.com/zsa/wally-cli"
SRC_URI="https://github.com/zsa/${PN}/archive/refs/tags/${PV}-linux.tar.gz -> ${P}.tar.gz
	https://dev.gentoo.org/~ajak/dist/${CATEGORY}/${PN}/${P}-deps.tar.xz"
S="${WORKDIR}/${P}-linux"

LICENSE="Apache-2.0 BSD BSD-4 MIT public-domain"
SLOT="0"
KEYWORDS="~amd64"

DOCS=( README.md license.md )

DEPEND="dev-libs/libusb:1"
RDEPEND="
	acct-group/plugdev
	${DEPEND}
"

src_compile() {
	ego build
}

src_install() {
	default
	dobin wally-cli

	udev_dorules "${FILESDIR}"/50-zsa.rules
	elog "To use ${PN} as a user, you must be in the plugdev group"
}

pkg_postinst() {
	udev_reload
}

pkg_postrm() {
	udev_reload
}

Inherited Eclasses

Dependencies

DEPEND

dev-libs/libusb:1

RDEPEND

	acct-group/plugdev
	dev-libs/libusb:1

Manifest for 2.0.1

Type File Size Source URLs
DIST wally-cli-2.0.1-deps.tar.xz 2545464 bytes https://dev.gentoo.org/~ajak/dist//wally-cli/wally-cli-2.0.1-deps.tar.xz
DIST wally-cli-2.0.1.tar.gz 6641 bytes https://github.com/zsa/wally-cli/archive/refs/tags/2.0.1-linux.tar.gz