EAPI=8
inherit git-r3 java-pkg-2

EGIT_REPO_URI="https://github.com/processing/processing4.git"

DESCRIPTION="Processing is an open source programming language and
environment for people who want to program images, animation, and sound. It
is used by students, artists, designers, architects, researchers, and
hobbyists for learning, prototyping, and production. It is created to teach
fundamentals of computer programming within a visual context and to serve
as a software sketchbook and professional production tool."
HOMEPAGE="http://processing.org/"
SRC_URI="https://github.com/processing/processing4.git"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND="
  dev-java/ant
  >=virtual/jdk-1.7:*
"
RDEPEND="
  >=virtual/jre-1.7:*
"
S=${WORKDIR}/${P}

src_compile() {
cd build
eant run
}

src_install() {
ewarn "src_install not done yet" && die
}