Gentoo Archives: gentoo-commits

From: Akinori Hattori <hattya@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/jd/
Date: Mon, 06 Aug 2018 12:54:10
Message-Id: 1533559226.95edc4b0dea5bab2ea360e7b80fe951606dbe7c4.hattya@gentoo
1 commit: 95edc4b0dea5bab2ea360e7b80fe951606dbe7c4
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 6 12:40:26 2018 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 6 12:40:26 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95edc4b0
7
8 www-client/jd: update to EAPI 6
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 www-client/jd/jd-2.8.5_p120826.ebuild | 46 +++++++++++++++++------------------
13 1 file changed, 23 insertions(+), 23 deletions(-)
14
15 diff --git a/www-client/jd/jd-2.8.5_p120826.ebuild b/www-client/jd/jd-2.8.5_p120826.ebuild
16 index dcc8ee7aced..05dd4ad5f84 100644
17 --- a/www-client/jd/jd-2.8.5_p120826.ebuild
18 +++ b/www-client/jd/jd-2.8.5_p120826.ebuild
19 @@ -1,15 +1,15 @@
20 -# Copyright 1999-2014 Gentoo Foundation
21 +# Copyright 1999-2018 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=5
25 -inherit eutils autotools autotools-utils flag-o-matic
26 +EAPI="6"
27 +
28 +inherit eutils autotools flag-o-matic
29
30 MY_P="${P/_p/-}"
31 -MY_P="${MY_P/_/-}"
32
33 DESCRIPTION="gtk2 based 2ch browser written in C++"
34 HOMEPAGE="http://jd4linux.sourceforge.jp/"
35 -SRC_URI="mirror://sourceforge.jp/jd4linux/56721/${MY_P}.tgz"
36 +SRC_URI="mirror://sourceforge.jp/${PN}4linux/56721/${MY_P}.tgz"
37
38 LICENSE="GPL-2"
39 SLOT="0"
40 @@ -18,6 +18,7 @@ IUSE="alsa gnome gnutls migemo"
41
42 RDEPEND="dev-cpp/gtkmm:2.4
43 dev-libs/glib:2
44 + sys-libs/zlib
45 x11-misc/xdg-utils
46 alsa? ( >=media-libs/alsa-lib-1 )
47 gnome? ( >=gnome-base/libgnomeui-2 )
48 @@ -25,35 +26,34 @@ RDEPEND="dev-cpp/gtkmm:2.4
49 x11-libs/libSM
50 x11-libs/libICE
51 )
52 - gnutls? ( >=net-libs/gnutls-1.2 )
53 - !gnutls? ( >=dev-libs/openssl-0.9 )
54 + gnutls? ( net-libs/gnutls )
55 + !gnutls? ( dev-libs/openssl:0 )
56 migemo? ( app-text/cmigemo )"
57 -
58 DEPEND="${RDEPEND}
59 virtual/pkgconfig"
60 -
61 S="${WORKDIR}/${MY_P}"
62
63 -AUTOTOOLS_AUTORECONF=1
64 +src_prepare() {
65 + default
66 + append-cxxflags -std=c++11
67 +
68 + mv configure.{in,ac} || die
69 + eautoreconf
70 +}
71
72 src_configure() {
73 - append-cxxflags -std=c++11
74 - # use gnomeui sm instead of Xorg SM/ICE
75 - local myeconfargs=(
76 + econf \
77 + $(use_with alsa) \
78 + $(use_with gnome sessionlib gnomeui) \
79 + $(use_with !gnome sessionlib xsmp) \
80 + $(use_with !gnutls openssl) \
81 + $(use_with migemo) \
82 + $(use_with migemo migemodict "${EREPFIX}"/usr/share/migemo/migemo-dict) \
83 --with-xdgopen
84 - $(use_with gnome sessionlib gnomeui)
85 - $(use_with !gnome sessionlib xsmp)
86 - $(use_with alsa)
87 - $(use_with !gnutls openssl)
88 - $(use_with migemo)
89 - $(use_with migemo migemodict /usr/share/migemo/migemo-dict)
90 - )
91 - autotools-utils_src_configure
92 }
93
94 src_install() {
95 - autotools-utils_src_install
96 + default
97 doicon ${PN}.png
98 domenu ${PN}.desktop
99 - #dodoc AUTHORS ChangeLog NEWS README
100 }