summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandy <andy@mailbox.tu-berlin.de>2013-10-07 14:21:42 +0200
committerandy <andy@mailbox.tu-berlin.de>2013-10-07 14:21:42 +0200
commit98cc5e6f3b84c48877faebeb38d5061577585592 (patch)
tree48f1a07b618bfaad82baaee5b1b7eccf7ee9aa37
parentadded khal live-ebuild, but atm very buggish (diff)
downloadandy-98cc5e6f3b84c48877faebeb38d5061577585592.tar.gz
andy-98cc5e6f3b84c48877faebeb38d5061577585592.tar.bz2
andy-98cc5e6f3b84c48877faebeb38d5061577585592.zip
bumped gfxtablet
-rw-r--r--media-gfx/gfxtablet/Manifest4
-rw-r--r--media-gfx/gfxtablet/gfxtablet-1.1.ebuild45
-rw-r--r--media-gfx/gfxtablet/gfxtablet-9999.ebuild18
3 files changed, 61 insertions, 6 deletions
diff --git a/media-gfx/gfxtablet/Manifest b/media-gfx/gfxtablet/Manifest
index 20b0567..4a3b8b6 100644
--- a/media-gfx/gfxtablet/Manifest
+++ b/media-gfx/gfxtablet/Manifest
@@ -1 +1,3 @@
-EBUILD gfxtablet-9999.ebuild 744 SHA256 e1320451f9534fadbf65ca81e83ae8ad554a583eae8ccaa2f79e155a37f1167c SHA512 fe6d5f5581030fce63995eb2b11391d7e8c963e06dee484623ee77553cd03177de37edac931d5050c8f10f199f7e0cc8a9306141e5367f746a7f9530d2367db0 WHIRLPOOL 2bdb8b1a63128aa7837f73b401fc88a1f6f539b2dfaea608e563c359eaec21e0fbff4e0b453a1f8b3939d75c4be4e36f6b67eb2834abc48201d2ba7875749250
+DIST android-app-1.1.tar.gz 38639 SHA256 25f5bd6ac0b8a219a60c887db1bf3e730cbad1504d8189e85c42a1ed7c59a6c5 SHA512 e2e80b8413b2caa94b121557cdc0dd0b091f3ef420ed8fc55ca18725a46f6f6c7462a9c0020ce33d15b6df5514db046139db6ba4b402b5d0b2735d704ca309ff WHIRLPOOL 05d3c901fa0b5338b258c206ee5e658eb583ed68a303dc2f4181dbd4303dc64c5a6ee3a27257acc86cef6bacda4ec0cafec49686ace450127c9d69ff9e2cacf9
+EBUILD gfxtablet-1.1.ebuild 987 SHA256 60095b99215cfd730e45e79831ae7851ec493f4cff7d8a8c5660cd1bb206251d SHA512 255d7c5399df7be85fd64531c18a27f90756c427f3198cddd271103454ba547146206b039176ee578e9ddf76f072a88f95277aaad42bd2cb8d0412928cd9ac0e WHIRLPOOL d149f1a9ed640e45fb5698e3498062b3fa601f96553ec15fd90fc6d1738e97b762831c4703d5ea6c425d9fb66a66f7f3eddc1dc298328e3d1028fc3661965847
+EBUILD gfxtablet-9999.ebuild 987 SHA256 60095b99215cfd730e45e79831ae7851ec493f4cff7d8a8c5660cd1bb206251d SHA512 255d7c5399df7be85fd64531c18a27f90756c427f3198cddd271103454ba547146206b039176ee578e9ddf76f072a88f95277aaad42bd2cb8d0412928cd9ac0e WHIRLPOOL d149f1a9ed640e45fb5698e3498062b3fa601f96553ec15fd90fc6d1738e97b762831c4703d5ea6c425d9fb66a66f7f3eddc1dc298328e3d1028fc3661965847
diff --git a/media-gfx/gfxtablet/gfxtablet-1.1.ebuild b/media-gfx/gfxtablet/gfxtablet-1.1.ebuild
new file mode 100644
index 0000000..145b3eb
--- /dev/null
+++ b/media-gfx/gfxtablet/gfxtablet-1.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit linux-info
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="git://github.com/rfc2822/GfxTablet.git"
+ inherit git-2
+ SRC_URI=""
+else
+ SRC_URI="https://github.com/rfc2822/GfxTablet/archive/android-app-${PV}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ S=${WORKDIR}/"GfxTablet-android-app-${PV}"
+fi
+
+DESCRIPTION="GfxTablet shall make it possible to use your Android device (especially tablets) like a graphics tablet."
+HOMEPAGE="http://rfc2822.github.io/GfxTablet"
+
+EGIT_REPO_URI="git://github.com/rfc2822/GfxTablet.git"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+
+CONFIG_CHECK="~INPUT_UINPUT"
+
+src_compile() {
+ cd driver-uinput && emake || die "emake failed"
+}
+
+src_install() {
+ dobin driver-uinput/networktablet
+}
+
+pkg_postinst() {
+ einfo "You need to run networktablet as root or"
+ einfo "change the the permissions of /dev/uinput."
+}
+
diff --git a/media-gfx/gfxtablet/gfxtablet-9999.ebuild b/media-gfx/gfxtablet/gfxtablet-9999.ebuild
index 9e825ff..145b3eb 100644
--- a/media-gfx/gfxtablet/gfxtablet-9999.ebuild
+++ b/media-gfx/gfxtablet/gfxtablet-9999.ebuild
@@ -2,18 +2,26 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=4
-inherit linux-info git-2
+EAPI=5
+inherit linux-info
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="git://github.com/rfc2822/GfxTablet.git"
+ inherit git-2
+ SRC_URI=""
+else
+ SRC_URI="https://github.com/rfc2822/GfxTablet/archive/android-app-${PV}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ S=${WORKDIR}/"GfxTablet-android-app-${PV}"
+fi
DESCRIPTION="GfxTablet shall make it possible to use your Android device (especially tablets) like a graphics tablet."
-HOMEPAGE="http://rfc2822.github.io/GfxTablet/"
-SRC_URI=""
+HOMEPAGE="http://rfc2822.github.io/GfxTablet"
EGIT_REPO_URI="git://github.com/rfc2822/GfxTablet.git"
LICENSE="MIT"
SLOT="0"
-KEYWORDS=""
IUSE=""
DEPEND=""