* [gentoo-commits] dev/nixphoeni:master commit in: app-misc/system76-driver/, app-misc/system76-driver/files/
@ 2014-09-09 14:43 Joe Sapp
0 siblings, 0 replies; only message in thread
From: Joe Sapp @ 2014-09-09 14:43 UTC (permalink / raw
To: gentoo-commits
commit: ea93a6a78ff0aac76599e7b566bd6c2a4ba636e0
Author: Joe Sapp <joe <AT> babyjoe>
AuthorDate: Tue Sep 9 14:43:17 2014 +0000
Commit: Joe Sapp <nixphoeni <AT> gentoo <DOT> org>
CommitDate: Tue Sep 9 14:43:17 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=dev/nixphoeni.git;a=commit;h=ea93a6a7
Add app-misc/system76-driver
---
app-misc/system76-driver/Manifest | 3 ++
.../system76-driver/files/system76driver.service | 10 ++++
.../system76-driver/system76-driver-256.ebuild | 53 ++++++++++++++++++++++
3 files changed, 66 insertions(+)
diff --git a/app-misc/system76-driver/Manifest b/app-misc/system76-driver/Manifest
new file mode 100644
index 0000000..586e9d0
--- /dev/null
+++ b/app-misc/system76-driver/Manifest
@@ -0,0 +1,3 @@
+AUX system76driver.service 176 SHA256 f8d7d0a5ac99db22cfac3c8a798571da5232fdfedeaff64a475291c2dcc65db3 SHA512 3ca99c86701f599954adc9d2f9f4e2930a7fd6935c3cc0a1d18e71d5878ba43bd139ead5a0494baa8e5d38073a0b6aec92cd43ccfaabe6cde92664b0f50a4926 WHIRLPOOL f7b6cef8c16ba1de2d21c089009299448df9db7d26cd981fbd6bccfddebeafc8de6c22c5dafed98805cfdf845f81d5e66747e3a4162e656495128a2c337e5e07
+DIST system76-driver-256.tar.gz 11328 SHA256 77b173bc07d4b157d4024e897236316613c49beab8c070331d76c68a34a1d501 SHA512 12d577478684739c5eda64ae4688d2f7461ed24445291a60f66f90cf7f702e025f477d68bdb99bd1fde7e87c7e8bad0a7b39a9a8c5e88271adc20ab55b2f86c0 WHIRLPOOL b6f8cf811db31fd7659510afd60d6760e0bef98aa16b951fed0b9f65a48a824a4367c585d913eb8a874d0dc16b7c8153def1c201ac96b5e0be5c489d11b0234b
+EBUILD system76-driver-256.ebuild 1204 SHA256 114d9b2a836a15004411ffbbb914f3f3759a11eb97de96f568820ca2b15e1d4c SHA512 755dde349c0cfe35be3d6160f35f9703c4c76e0c0eca0cb8d09d816f96d3deb4451e66a82448eaa683793147ad20228a5e62bcd7f20a8ac2c8788f85ac65491e WHIRLPOOL 0e4a207dd249d7fdced757d186f0e1d534fdbd5b1051efa7622ac67cb893e93fb729c382b10e20509aba6734ea9413ddff474cce6796ac92dbbe2a58b6c935dc
diff --git a/app-misc/system76-driver/files/system76driver.service b/app-misc/system76-driver/files/system76driver.service
new file mode 100644
index 0000000..666fa4d
--- /dev/null
+++ b/app-misc/system76-driver/files/system76driver.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=System76 airplane-mode hotkey and LED support
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/system76-daemon
+Restart=always
+
+[Install]
+WantedBy=multi-user.target
diff --git a/app-misc/system76-driver/system76-driver-256.ebuild b/app-misc/system76-driver/system76-driver-256.ebuild
new file mode 100644
index 0000000..282a21e
--- /dev/null
+++ b/app-misc/system76-driver/system76-driver-256.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+PYTHON_COMPAT=( python{3_2,3_3,3_4} )
+
+inherit linux-info python-r1 python-utils-r1 systemd
+
+CONFIG_CHECK="~ACPI_EC_DEBUGFS ~DMIID ~RFKILL"
+
+DESCRIPTION="Universal driver for System76 computers"
+HOMEPAGE="https://code.launchpad.net/~system76-dev"
+SRC_URI="http://dev.gentoo.org/~nixphoeni/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="systemd"
+
+RDEPEND="${PYTHON_DEPS}
+ systemd? ( sys-apps/systemd )
+ dev-python/simplejson[${PYTHON_USEDEP}]
+ dev-python/pygobject[${PYTHON_USEDEP}]"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"
+
+pkg_setup() {
+ linux-info_pkg_setup
+}
+
+src_install() {
+ # For storing files
+ keepdir /var/lib/${PN}
+
+ # Only really need {daemon,mockable}.py
+ python_foreach_impl python_domodule \
+ "${S}/system76driver"
+ python_foreach_impl python_doscript \
+ "${S}/system76-daemon"
+
+ # Install systemd file
+ use systemd && \
+ systemd_dounit "${FILESDIR}/system76driver.service"
+}
+
+pkg_postinst() {
+ einfo "It is up to you to append options to kernel modules, if"
+ einfo "applicable."
+ einfo "See $(python_moduleroot)/system76driver/actions.py"
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-09-09 14:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-09 14:43 [gentoo-commits] dev/nixphoeni:master commit in: app-misc/system76-driver/, app-misc/system76-driver/files/ Joe Sapp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox