diff options
author | eroen <eroen-overlay@occam.eroen.eu> | 2018-05-08 01:17:15 +0200 |
---|---|---|
committer | eroen <eroen-overlay@occam.eroen.eu> | 2018-05-08 01:22:25 +0200 |
commit | e644cbedec751717c6ea1d8e8876841b6230e798 (patch) | |
tree | afb33e040816e2eaf68ce661753c642da297c60c | |
parent | qucs - drop unused eclasses (diff) | |
download | eroen-e644cbedec751717c6ea1d8e8876841b6230e798.tar.gz eroen-e644cbedec751717c6ea1d8e8876841b6230e798.tar.bz2 eroen-e644cbedec751717c6ea1d8e8876841b6230e798.zip |
engauge-5.2 from gentoo
-rw-r--r-- | media-gfx/engauge/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/engauge/engauge-5.2.ebuild | 48 | ||||
-rw-r--r-- | media-gfx/engauge/metadata.xml | 8 |
3 files changed, 57 insertions, 0 deletions
diff --git a/media-gfx/engauge/Manifest b/media-gfx/engauge/Manifest new file mode 100644 index 0000000..262fb4c --- /dev/null +++ b/media-gfx/engauge/Manifest @@ -0,0 +1 @@ +DIST engauge_5.2.tgz 5708224 BLAKE2B 65403f3eb322a3cfee2f04d3a973deef5196a475f594599e3226dad776505c639536fdc46ef94d955d94b0629faf9282378e7bb4d4d7945e0ae69cdd6160a858 SHA512 b1839a223c93866f880ca090b6dd5a9ab45a89b5f6f470fd6abba3e2aa4b108ed228c8b06c3888fa463316798c2d157e20b2e22975bd65a1124d007bb36d2d88 diff --git a/media-gfx/engauge/engauge-5.2.ebuild b/media-gfx/engauge/engauge-5.2.ebuild new file mode 100644 index 0000000..95b1122 --- /dev/null +++ b/media-gfx/engauge/engauge-5.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit versionator qmake-utils eutils + +DESCRIPTION="Convert an image file showing a graph or map into numbers" +HOMEPAGE="http://digitizer.sourceforge.net/" +SRC_URI="mirror://sourceforge/digitizer/${PN}_${PV}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +RDEPEND="dev-qt/qt3support:4 + dev-qt/qtgui:4[gif(+)] + sci-libs/fftw:3.0 + x11-libs/libXft" +DEPEND="${RDEPEND}" + +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" + eapply_user +} + +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 +} diff --git a/media-gfx/engauge/metadata.xml b/media-gfx/engauge/metadata.xml new file mode 100644 index 0000000..630d460 --- /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> + <upstream> + <remote-id type="sourceforge">digitizer</remote-id> + <remote-id type="github">markummitchell/engauge-digitizer</remote-id> + </upstream> +</pkgmetadata> |