1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils autotools flag-o-matic
10 DESCRIPTION="gtk2 based 2ch browser written in C++"
11 HOMEPAGE="http://jd4linux.sourceforge.jp/"
12 SRC_URI="mirror://sourceforge.jp/${PN}4linux/62877/${MY_P}.tgz"
16 KEYWORDS="~amd64 ~x86"
17 IUSE="alsa gnutls migemo oniguruma"
19 RDEPEND="dev-cpp/gtkmm:2.4
25 alsa? ( >=media-libs/alsa-lib-1 )
26 gnutls? ( net-libs/gnutls )
27 !gnutls? ( dev-libs/openssl:0 )
28 migemo? ( app-text/cmigemo )
29 oniguruma? ( dev-libs/oniguruma )"
32 S="${WORKDIR}/${MY_P}"
34 PATCHES=( "${FILESDIR}"/${PN}-gcc-5.patch )
38 append-cxxflags -std=c++11
46 $(use_with !gnutls openssl) \
48 $(use_with migemo migemodict "${EREPFIX}"/usr/share/migemo/migemo-dict) \
49 $(use_with oniguruma) \
50 --with-sessionlib=xsmp \