diff options
Diffstat (limited to 'app-misc/tek')
-rw-r--r-- | app-misc/tek/Manifest | 3 | ||||
-rw-r--r-- | app-misc/tek/metadata.xml | 11 | ||||
-rw-r--r-- | app-misc/tek/tek-1.3.0.ebuild | 44 |
3 files changed, 58 insertions, 0 deletions
diff --git a/app-misc/tek/Manifest b/app-misc/tek/Manifest new file mode 100644 index 000000000000..5cb1db432cf9 --- /dev/null +++ b/app-misc/tek/Manifest @@ -0,0 +1,3 @@ +DIST tek-1.3.0.tar.gz 99399 BLAKE2B 191fec7992ea4b79aed5833012cb22ac3ad399eced53e74467139aa05e2dfda08af220b35cb191f5f1bf706186a8460f3d80196599f43654d5de05e36b5df84b SHA512 20e3e704db71a7c0fb7a7791c8ebbdb348d370b06bea39f2ee77cae72ac4b71873884c6ec58712c9bf85d7d0785310f33189ce977a77b970951e39c8803d28fd +EBUILD tek-1.3.0.ebuild 935 BLAKE2B f3e3402447b1b3fb451389018fd16497bfe2eb52be781eace5bf5fe907fb86370283e23fd16572b56fa1eb8798ac46172c7c8de7f359901bf3a3f12b8864af1d SHA512 24f9cc5e5b8a8859a9f9a1de0fbd10c7deab048b40e2723fe65e0279f0c3eea345621a3bd386ceee482b5d9a5fc41dd293da5ba12378a73b903ea31c0d0ea13e +MISC metadata.xml 330 BLAKE2B 98389927d53498647e22bc7460337219fee86fec8d06edc73edcf17a8a67d6b1c62bad2ef2fb3eec3d037b3960f5da0356ae6b81b5c525334c3216b7049c4190 SHA512 6d46988601ab6a6284211d488d55a6b56e63442424b4abc5910320cdfac5c1b5c8f050090878a7f3680de4acbecbd8e67f3195c9f6734139123c32fcebc103ee diff --git a/app-misc/tek/metadata.xml b/app-misc/tek/metadata.xml new file mode 100644 index 000000000000..b51edd0de5da --- /dev/null +++ b/app-misc/tek/metadata.xml @@ -0,0 +1,11 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>aidecoe@gentoo.org</email> + <name>Amadeusz Żołnowski</name> + </maintainer> + <upstream> + <remote-id type="github">m-ou-se/tek</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-misc/tek/tek-1.3.0.ebuild b/app-misc/tek/tek-1.3.0.ebuild new file mode 100644 index 000000000000..69421b1eaec1 --- /dev/null +++ b/app-misc/tek/tek-1.3.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +WX_GTK_VER=3.0 + +inherit udev wxwidgets + +DESCRIPTION="GUI tool for upgrading the firmware of a Truly Ergonomic Keyboard" +HOMEPAGE="https://trulyergonomic.com/ https://github.com/m-ou-se/tek" +SRC_URI="https://github.com/m-ou-se/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="all-rights-reserved GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="mirror" + +RDEPEND="x11-libs/wxGTK:${WX_GTK_VER}=[X] + virtual/libusb:1 + virtual/udev" +DEPEND="${RDEPEND} + app-editors/vim-core" + +src_prepare() { + default + setup-wxwidgets + sed -r \ + -e '/LIN_STRIP/d' \ + -e 's/LIN_CXX/CXX/g' \ + -e 's/CXX=/CXX\?=/' \ + -e 's/CXXFLAGS=(.*)/CXXFLAGS:=\1 $(CXXFLAGS)/' \ + -i "${S}"/Makefile || die +} + +src_install() { + newbin tek.lin tek + udev_newrules linux-udev-rules 40-tek.rules + einstalldocs +} + +pkg_postinst() { + udev_reload +} |