Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/xxdiff/
Date: Thu, 02 Apr 2020 07:38:38
Message-Id: 1585813111.f66dd86475def556af1f7eef01889d80c3ee1a0d.slyfox@gentoo
1 commit: f66dd86475def556af1f7eef01889d80c3ee1a0d
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 2 07:37:49 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 2 07:38:31 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f66dd864
7
8 dev-util/xxdiff: drop python code
9
10 Python libraries and scripts were never ported from python2.
11 Let's keep only 'xxdiff' binary itself.
12
13 Package-Manager: Portage-2.3.96, Repoman-2.3.22
14 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
15
16 dev-util/xxdiff/xxdiff-4.0.1_p20170622-r1.ebuild | 59 ++++++++++++++++++++++++
17 1 file changed, 59 insertions(+)
18
19 diff --git a/dev-util/xxdiff/xxdiff-4.0.1_p20170622-r1.ebuild b/dev-util/xxdiff/xxdiff-4.0.1_p20170622-r1.ebuild
20 new file mode 100644
21 index 00000000000..f7102a96610
22 --- /dev/null
23 +++ b/dev-util/xxdiff/xxdiff-4.0.1_p20170622-r1.ebuild
24 @@ -0,0 +1,59 @@
25 +# Copyright 1999-2020 Gentoo Authors
26 +# Distributed under the terms of the GNU General Public License v2
27 +
28 +EAPI=7
29 +
30 +inherit qmake-utils
31 +
32 +DESCRIPTION="A graphical file and directories comparator and merge tool"
33 +HOMEPAGE="http://furius.ca/xxdiff/"
34 +# generated as 'hg archive xxdiff-${P}.tar'
35 +# from https://bitbucket.org/blais/xxdiff tree
36 +#SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
37 +SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.bz2"
38 +
39 +LICENSE="GPL-2"
40 +SLOT="0"
41 +KEYWORDS="~amd64 ~x86"
42 +IUSE=""
43 +
44 +RDEPEND="
45 + dev-qt/qtcore:5
46 + dev-qt/qtgui:5
47 + dev-qt/qtwidgets:5
48 +"
49 +DEPEND="
50 + ${RDEPEND}
51 + virtual/yacc
52 +"
53 +
54 +PATCHES=(
55 + "${FILESDIR}"/${PN}-4.0.1-no-throw-in-dtor.patch
56 + "${FILESDIR}"/${P}-cxx11.patch
57 +)
58 +
59 +src_configure() {
60 + pushd src >/dev/null || die
61 + # mimic src/Makefile.bootstrap
62 + eqmake5
63 + cat Makefile.extra >> Makefile || die
64 + popd
65 +}
66 +
67 +src_compile() {
68 + emake -C src MAKEDIR=.
69 +
70 + HTML_DOCS+=(
71 + doc/*.{png,html}
72 + src/doc.html
73 + )
74 +}
75 +
76 +src_install() {
77 + dobin bin/xxdiff
78 +
79 + dodoc CHANGES README* TODO doc/*.txt src/doc.txt
80 +
81 + # example tools, use these to build your own ones
82 + dodoc -r tools
83 +}