summaryrefslogtreecommitdiff
blob: e9712bf9f2e9029e460bc93ff367c1168467252e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit nsplugins

DESCRIPTION="An implementation of the Wacom Tablet Plugin, on Linux"
HOMEPAGE="https://github.com/ZaneA/WacomWebPlugin"
SRC_URI="https://github.com/ZaneA/WacomWebPlugin/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="x11-libs/libX11
	x11-libs/libXi"

DEPEND="${RDEPEND}
	|| ( net-misc/npapi-sdk www-client/firefox[-minimal] )"

S="${WORKDIR}/WacomWebPlugin-${PV}"

src_prepare() {
	epatch "${FILESDIR}/accept-additional-mimetype.patch"
}

src_install() {
	exeinto /usr/$(get_libdir)/${PLUGINS_DIR}
	doexe npWacomWebPlugin.so
	dodoc README.md
}