summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/sensei-raw-ctl/Manifest13
-rw-r--r--sys-apps/sensei-raw-ctl/sensei-raw-ctl-1.0_pre20160728.ebuild49
2 files changed, 62 insertions, 0 deletions
diff --git a/sys-apps/sensei-raw-ctl/Manifest b/sys-apps/sensei-raw-ctl/Manifest
new file mode 100644
index 0000000..17d2652
--- /dev/null
+++ b/sys-apps/sensei-raw-ctl/Manifest
@@ -0,0 +1,13 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST sensei-raw-ctl-1.0_pre20160728.tar.gz 16681 SHA256 504ecfdbdc69b6959053975dc17f174ce80f9ba388aecad161652217654af383 SHA512 971ac15c8a682b5edfa73a2010789e66df120c9a2304a1bca0f75d8dd8f288163a07f1252980e287f09181597bc15dad7931b0a35b4238f88af5f2bddb97c72f WHIRLPOOL 489fa7d76c5835a5c0f9d307cdd9ca143ce69604c19e83ce54bb1081ac9230c6c0cb2bedbb6deeec60b204426c2e008b0b84ae6535f614e20923dde225efb3b3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iKYEAREIAGYFAlgXzlZfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
+bnBncC5maWZ0aGhvcnNlbWFuLm5ldDVDQTQxN0YyN0IxMzFCQTU5M0MwQkU5MEQ1
+Rjk5NUMxQzYwODU4MDYACgkQ1fmVwcYIWAYVrQCgw/8uo6MZZR2FgNxe3M3D3SOH
+fY0Anil1nxrUGlj9AMXN+ouOOFuoVCjS
+=qqZc
+-----END PGP SIGNATURE-----
diff --git a/sys-apps/sensei-raw-ctl/sensei-raw-ctl-1.0_pre20160728.ebuild b/sys-apps/sensei-raw-ctl/sensei-raw-ctl-1.0_pre20160728.ebuild
new file mode 100644
index 0000000..691283b
--- /dev/null
+++ b/sys-apps/sensei-raw-ctl/sensei-raw-ctl-1.0_pre20160728.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+EGIT_COMMIT="72fb3369c7908b94f42026b0c551c225de6fe112"
+
+inherit cmake-utils gnome2-utils vcs-snapshot xdg
+
+DESCRIPTION="SteelSeries Sensei Raw configuration tool"
+HOMEPAGE="https://github.com/pjanouch/sensei-raw-ctl"
+SRC_URI="https://github.com/pjanouch/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="gtk"
+
+RDEPEND="
+ virtual/libusb:1
+ gtk? ( x11-libs/gtk+:3 )
+"
+DEPEND="${RDEPEND}
+ sys-apps/help2man
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_GUI=$(usex gtk)
+ )
+
+ cmake-utils_src_configure
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+ xdg_pkg_preinst
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_pkg_postinst
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_pkg_postrm
+}