summaryrefslogtreecommitdiff
blob: 3185dcf2a6d76f41daad9737ea786ec115d520df (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-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

PYTHON_COMPAT=( python2_7 )

inherit distutils-r1

DESCRIPTION="GUI interface for 3D printing on RepRap and other printers"
HOMEPAGE="https://github.com/kliment/Printrun"
SRC_URI="https://github.com/kliment/Printrun/archive/${P}.tar.gz"

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

DEPEND="dev-python/pyserial
	dev-python/wxpython:*
	dev-python/pyglet
	dev-python/dbus-python
	media-gfx/cairosvg"
RDEPEND="${DEPEND}"

S="${WORKDIR}/Printrun-${P}"

PATCHES=(
	# https://bugzilla.redhat.com/show_bug.cgi?id=1231518
	"${FILESDIR}"/${PN}-gtk3.patch

	# https://github.com/kliment/Printrun/pull/790
	"${FILESDIR}"/${PN}-x11.patch
)