summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2009-06-05 22:39:35 +0000
committerDenis Dupeyron <calchan@gentoo.org>2009-06-05 22:39:35 +0000
commit569505eef26c0eb7344c65f1a98ac712dfb3a3ee (patch)
tree16591bd19adcaa8521526e3bea1f1a98b940e00a /media-gfx
parentMake oprofile 0.9.3 build with GCC 4.3.3. (diff)
downloadgentoo-2-569505eef26c0eb7344c65f1a98ac712dfb3a3ee.tar.gz
gentoo-2-569505eef26c0eb7344c65f1a98ac712dfb3a3ee.tar.bz2
gentoo-2-569505eef26c0eb7344c65f1a98ac712dfb3a3ee.zip
Initial commit, bug #108469.
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/engauge/ChangeLog10
-rw-r--r--media-gfx/engauge/engauge-4.1.ebuild46
-rw-r--r--media-gfx/engauge/metadata.xml8
3 files changed, 64 insertions, 0 deletions
diff --git a/media-gfx/engauge/ChangeLog b/media-gfx/engauge/ChangeLog
new file mode 100644
index 000000000000..94674258e4b2
--- /dev/null
+++ b/media-gfx/engauge/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-gfx/engauge
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/engauge/ChangeLog,v 1.1 2009/06/05 22:39:35 calchan Exp $
+
+*engauge-4.1 (05 Jun 2009)
+
+ 05 Jun 2009; Denis Dupeyron <calchan@gentoo.org> +engauge-4.1.ebuild,
+ +metadata.xml:
+ Initial commit, bug #108469.
+
diff --git a/media-gfx/engauge/engauge-4.1.ebuild b/media-gfx/engauge/engauge-4.1.ebuild
new file mode 100644
index 000000000000..f9e617a5d575
--- /dev/null
+++ b/media-gfx/engauge/engauge-4.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/engauge/engauge-4.1.ebuild,v 1.1 2009/06/05 22:39:35 calchan Exp $
+
+EAPI=2
+
+inherit versionator qt3 eutils
+
+DESCRIPTION="Convert an image file showing a graph or map into numbers"
+HOMEPAGE="http://digitizer.sourceforge.net/"
+SRC_URI="mirror://sourceforge/digitizer/digit-src-$(replace_version_separator . _).tar.gz -> ${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc examples"
+
+DEPEND="x11-libs/qt:3
+ sci-libs/fftw:3.0"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ # Some patching and using the DEBIAN_PACKAGE ifdef is necessary to make sure the
+ # documentation is looked for in the proper directory
+ sed -i -e "s:/usr/share/doc/engauge-digitizer-doc:${ROOT}/usr/share/doc/${PF}:" \
+ src/digitmain.cpp || die "sed failed"
+ sed -i -e '/unix {/a \
+DEFINES += DEBIAN_PACKAGE' engauge/digitizer.pro || die "sed failed"
+}
+
+src_configure() {
+ eqmake3 "${PN}"/digitizer.pro
+}
+
+serc_compile() {
+ emake -DDEBIAN_PACKAGE || die "make failed"
+}
+
+src_install() {
+ dobin bin/engauge
+ newicon src/img/lo32-app-digitizer.png "${PN}.png"
+ make_desktop_entry engauge "Engauge Digitizer" "${PN}.png" Graphics
+ use doc && dodoc -r usermanual
+ use examples && dodoc -r samples
+}
diff --git a/media-gfx/engauge/metadata.xml b/media-gfx/engauge/metadata.xml
new file mode 100644
index 000000000000..5b12ed78d92e
--- /dev/null
+++ b/media-gfx/engauge/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>calchan@gentoo.org</email>
+ <name>Denis Dupeyron</name>
+</maintainer>
+</pkgmetadata>