diff options
-rw-r--r-- | kde-misc/kdiff3/Manifest | 2 | ||||
-rw-r--r-- | kde-misc/kdiff3/kdiff3-0.9.98-r1.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/kde-misc/kdiff3/Manifest b/kde-misc/kdiff3/Manifest new file mode 100644 index 0000000..7315335 --- /dev/null +++ b/kde-misc/kdiff3/Manifest @@ -0,0 +1,2 @@ +DIST kdiff3-0.9.98.tar.gz 1762715 SHA256 802c1ababa02b403a5dca15955c01592997116a24909745016931537210fd668 SHA512 867f0b1d5beb421f1bf84e6044d8d9279d434900faa1962fd5417653ef6b1cc71a8f5dd6c29cd4826a1c70a6075786faeaee780548521ce2ce221d83229b52e6 WHIRLPOOL 4099488985182d36fc4ecf532914c1439273036e38b66f7584282b6b232c3c4a738ecab35dd8b1a30b9a368cf6a6f9aeebea38e921063b55ac3972f46e118c98 +EBUILD kdiff3-0.9.98-r1.ebuild 959 SHA256 81dc0a5b5b6789d8a079f5f8a4ffc3bc7eda2d6e0e267e02410afccba4d796f7 SHA512 9743155c14a7e6002fcebe52bcd099159a432cadabc84176eb9f75b8ddab93bc0724be9ade4767bf7ffc0d4635bbf830ba9bc6974118e42b9ca4795baabc08e5 WHIRLPOOL 3051ef483f9eb359776be22685e0c631c7cd41f50f618442a5cf2a0db804fe3fe178d61def534905e151af11e381c34787210ff3aaa4023c2ff14a21d7238286 diff --git a/kde-misc/kdiff3/kdiff3-0.9.98-r1.ebuild b/kde-misc/kdiff3/kdiff3-0.9.98-r1.ebuild new file mode 100644 index 0000000..a9bfa14 --- /dev/null +++ b/kde-misc/kdiff3/kdiff3-0.9.98-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit qmake-utils + +DESCRIPTION="Qt/KDE based frontend to diff3" +HOMEPAGE="http://kdiff3.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="4" +KEYWORDS="amd64 x86 ~amd64-linux" +IUSE="qt5" + +DEPEND=" + !qt5? ( dev-qt/qtcore:4 + dev-qt/qtgui:4 ) + qt5? ( dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtprintsupport:5 + dev-qt/qtwidgets:5 ) +" +RDEPEND="${DEPEND} + sys-apps/diffutils +" + +RESTRICT="test" + +src_prepare() { + default + # adapt to Gentoo paths + sed -e s,documentation.path.*$,documentation.path\ =\ "${EPREFIX}"/usr/share/doc/"${PF}", \ + -e s,target.path.*$,target.path\ =\ "${EPREFIX}"/usr/bin, -i src-QT4/kdiff3.pro || die +} + +src_configure() { + if use qt5; then + eqmake5 "${S}"/src-QT4/kdiff3.pro + else + eqmake4 "${S}"/src-QT4/kdiff3.pro + fi +} + +src_install() { + emake INSTALL_ROOT="${D}" install +} + |