diff options
Diffstat (limited to 'media-gfx/gfxtablet/gfxtablet-1.2.ebuild')
-rw-r--r-- | media-gfx/gfxtablet/gfxtablet-1.2.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/media-gfx/gfxtablet/gfxtablet-1.2.ebuild b/media-gfx/gfxtablet/gfxtablet-1.2.ebuild new file mode 100644 index 0000000..145b3eb --- /dev/null +++ b/media-gfx/gfxtablet/gfxtablet-1.2.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." +} + |