summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2013-01-20 16:48:16 +0000
committerDenis Dupeyron <calchan@gentoo.org>2013-01-20 16:48:16 +0000
commit9f3b9a0635cf640f727af4c850429e69f8aa2a1d (patch)
treeb06755f4ebf2fbb71e453c8e873472656de658c9 /media-gfx/engauge
parent2.2.0_alpha158 version bump. This includes all of the fixes in 2.1.11.47. (diff)
downloadgentoo-2-9f3b9a0635cf640f727af4c850429e69f8aa2a1d.tar.gz
gentoo-2-9f3b9a0635cf640f727af4c850429e69f8aa2a1d.tar.bz2
gentoo-2-9f3b9a0635cf640f727af4c850429e69f8aa2a1d.zip
Version bump with Qt4 support from upstream, thanks to Dominique Michel (bug #436818).
(Portage version: 2.1.11.40/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'media-gfx/engauge')
-rw-r--r--media-gfx/engauge/ChangeLog10
-rw-r--r--media-gfx/engauge/engauge-5.1.ebuild50
2 files changed, 58 insertions, 2 deletions
diff --git a/media-gfx/engauge/ChangeLog b/media-gfx/engauge/ChangeLog
index 04db8070a14c..1be9ea27db78 100644
--- a/media-gfx/engauge/ChangeLog
+++ b/media-gfx/engauge/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/engauge
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/engauge/ChangeLog,v 1.11 2012/10/07 11:54:41 pacho Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/engauge/ChangeLog,v 1.12 2013/01/20 16:48:16 calchan Exp $
+
+*engauge-5.1 (20 Jan 2013)
+
+ 20 Jan 2013; Denis Dupeyron <calchan@gentoo.org> +engauge-5.1.ebuild:
+ Version bump with Qt4 support from upstream, thanks to Dominique Michel (bug
+ #436818).
07 Oct 2012; Pacho Ramos <pacho@gentoo.org> +files/engauge-5.1-gcc47.patch,
+files/engauge-5.1-qreal-double.patch, engauge-4.1-r1.ebuild:
diff --git a/media-gfx/engauge/engauge-5.1.ebuild b/media-gfx/engauge/engauge-5.1.ebuild
new file mode 100644
index 000000000000..e8e10d357968
--- /dev/null
+++ b/media-gfx/engauge/engauge-5.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/engauge/engauge-5.1.ebuild,v 1.1 2013/01/20 16:48:16 calchan Exp $
+
+EAPI=4
+
+inherit versionator qt4-r2 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="~amd64 ~x86"
+IUSE="doc examples"
+
+RDEPEND="x11-libs/qt-qt3support:4
+ x11-libs/qt-gui:4[gif]
+ sci-libs/fftw:3.0
+ x11-libs/libXft"
+DEPEND="${RDEPEND}"
+
+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/html:${ROOT}/usr/share/doc/${PF}/usermanual:" \
+ src/digitmain.cpp || die "sed failed"
+ sed -i -e '/unix {/a DEFINES += DEBIAN_PACKAGE' \
+ digitizer.pro || die "sed failed"
+}
+
+src_configure() {
+ eqmake4 digitizer.pro
+}
+
+src_install() {
+ dobin bin/engauge
+ newicon src/img/lo32-app-digitizer.png "${PN}.png"
+ make_desktop_entry engauge "Engauge Digitizer" ${PN} Graphics
+ insinto /usr/share/doc/${PF}
+ if use doc; then
+ doins -r usermanual || die "install documentation failed"
+ fi
+ if use examples; then
+ doins -r samples || die "install examples failed"
+ fi
+}