summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2010-03-19 17:31:05 +0000
committerDenis Dupeyron <calchan@gentoo.org>2010-03-19 17:31:05 +0000
commit136dea9cde4ec162e517cb84488cdae4a6c6e140 (patch)
treee7a6f413982345276df897f3f19c72088c7dfb21 /media-gfx/engauge
parentAlso add warning and dont install useless files without QEMU_SOFTMMU_TARGETS=... (diff)
downloadhistorical-136dea9cde4ec162e517cb84488cdae4a6c6e140.tar.gz
historical-136dea9cde4ec162e517cb84488cdae4a6c6e140.tar.bz2
historical-136dea9cde4ec162e517cb84488cdae4a6c6e140.zip
Saved in extremis from complete removal by Oliver Borm who provided a patch to build against Qt4, thanks a lot (bug #310125). Fixed bug #299788 also thanks to Oliver Borm.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'media-gfx/engauge')
-rw-r--r--media-gfx/engauge/ChangeLog10
-rw-r--r--media-gfx/engauge/Manifest14
-rw-r--r--media-gfx/engauge/engauge-4.1-r1.ebuild51
3 files changed, 63 insertions, 12 deletions
diff --git a/media-gfx/engauge/ChangeLog b/media-gfx/engauge/ChangeLog
index 80382331d71e..03e452e38cf4 100644
--- a/media-gfx/engauge/ChangeLog
+++ b/media-gfx/engauge/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-gfx/engauge
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/engauge/ChangeLog,v 1.5 2010/03/09 11:35:13 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/engauge/ChangeLog,v 1.6 2010/03/19 17:31:05 calchan Exp $
+
+*engauge-4.1-r1 (19 Mar 2010)
+
+ 19 Mar 2010; <calchan@gentoo.org> +engauge-4.1-r1.ebuild,
+ +files/engauge-4.1_qt4.patch:
+ Saved in extremis from complete removal by Oliver Borm who provided a
+ patch to build against Qt4, thanks a lot (bug #310125). Fixed bug #299788
+ also thanks to Oliver Borm.
09 Mar 2010; Jonathan Callen <abcd@gentoo.org> engauge-4.1.ebuild:
QA: When not using an absolute path, you MUST NOT use a file extension
diff --git a/media-gfx/engauge/Manifest b/media-gfx/engauge/Manifest
index fe86e7e8ad6e..0bd82f1e7b7b 100644
--- a/media-gfx/engauge/Manifest
+++ b/media-gfx/engauge/Manifest
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST engauge-4.1.tar.gz 5831396 RMD160 b1d26ff502c2051d2c5791c0e341bf74ceec75dd SHA1 c9e98d855d7c297c5868823e5f3c811452b1ec81 SHA256 a9dc871d57b51cf874633d6565a2ac5bf38681050a152a94122d497bd19e9d24
+DIST engauge-4.1_qt4.patch.xz 43820 RMD160 83bb0b61fb6487b95686779537addf5a3d7c29dd SHA1 cf3cbbbcc8a1bcc76dbd544c5f639ac70f18152b SHA256 7bc65c9660faa88ed52246031f92debdb0802e14aa7fe660353bedbc8858c599
+EBUILD engauge-4.1-r1.ebuild 1522 RMD160 89d531affb81ee1cbd12a330772c13eed7f0af92 SHA1 8c34616718418e40e422c4f37a7c0fde5e7294cd SHA256 abac106fbece5c65ddd9e01b4cab97e0ff663acd464b9509d6cca24104ea6da5
EBUILD engauge-4.1.ebuild 1340 RMD160 1082a57bc8258da44e7b8b8d1ddbb070b51ffd00 SHA1 d42a816c94f75910535d00ff379dbce3ef54cf76 SHA256 2922795184a63990845a5793ce3913df40cd29d71c35b7aa373a598a4618941e
-MISC ChangeLog 862 RMD160 af9052f0f1844c76c489647d1f1bb8a5c1361c93 SHA1 4c8cc14f8e62df738d4f5ae49bb0adb99ec7ae83 SHA256 eedfbb0168d228fcbbe1147facb0db3094a81b039d3ee5aca6d1bfc5ce630e39
+MISC ChangeLog 1167 RMD160 49c6ec2c6f34b244f757d5c031c38ef0471483dc SHA1 270809b9228d2f1174b043046e1e54cc81c9b3bd SHA256 0833fbdaa4d9e878e29df0914ad4d57c650185aa8f4fc73d93f6ea1ea5236649
MISC metadata.xml 253 RMD160 c8950662719d03599d036e3eb69d051f3bd510ef SHA1 e2917bed8b1a88dc1c08e5448eda832233343182 SHA256 979ef9baba638b0dea7e0604553bd3eb5c1192a1849b989860525b6243a463a8
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
-
-iEYEARECAAYFAkuWMnYACgkQOypDUo0oQOq83ACfbstH8FtNbYkyIs0/h2xFrPkQ
-dtgAoJfjBq3XEHVExE5e3xugGiC4KSbh
-=YQiq
------END PGP SIGNATURE-----
diff --git a/media-gfx/engauge/engauge-4.1-r1.ebuild b/media-gfx/engauge/engauge-4.1-r1.ebuild
new file mode 100644
index 000000000000..ac4bdf557dff
--- /dev/null
+++ b/media-gfx/engauge/engauge-4.1-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/engauge/engauge-4.1-r1.ebuild,v 1.1 2010/03/19 17:31:05 calchan Exp $
+
+EAPI=3
+
+inherit versionator qt4 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
+ http://dev.gentoo.org/~calchan/distfiles/${P}_qt4.patch.xz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples"
+
+RDEPEND="x11-libs/qt-qt3support
+ sci-libs/fftw:3.0"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ epatch "${DISTDIR}"/${P}_qt4.patch.xz
+
+ # 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' \
+ 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
+}