You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.2 KiB
60 lines
1.2 KiB
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
12 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
6 years ago
|
EAPI="6"
|
||
|
|
||
3 years ago
|
inherit desktop autotools flag-o-matic
|
||
12 years ago
|
|
||
|
MY_P="${P/_p/-}"
|
||
|
|
||
|
DESCRIPTION="gtk2 based 2ch browser written in C++"
|
||
|
HOMEPAGE="http://jd4linux.sourceforge.jp/"
|
||
6 years ago
|
SRC_URI="mirror://sourceforge.jp/${PN}4linux/56721/${MY_P}.tgz"
|
||
12 years ago
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
6 years ago
|
IUSE="alsa gnutls migemo oniguruma"
|
||
12 years ago
|
|
||
|
RDEPEND="dev-cpp/gtkmm:2.4
|
||
|
dev-libs/glib:2
|
||
6 years ago
|
sys-libs/zlib
|
||
|
x11-libs/libICE
|
||
|
x11-libs/libSM
|
||
12 years ago
|
x11-misc/xdg-utils
|
||
|
alsa? ( >=media-libs/alsa-lib-1 )
|
||
6 years ago
|
gnutls? ( net-libs/gnutls )
|
||
3 years ago
|
!gnutls? ( dev-libs/openssl:0= )
|
||
6 years ago
|
migemo? ( app-text/cmigemo )
|
||
|
oniguruma? ( dev-libs/oniguruma )"
|
||
12 years ago
|
DEPEND="${RDEPEND}
|
||
|
virtual/pkgconfig"
|
||
|
S="${WORKDIR}/${MY_P}"
|
||
|
|
||
6 years ago
|
PATCHES=( "${FILESDIR}"/${PN}-gcc-5.patch )
|
||
12 years ago
|
|
||
6 years ago
|
src_prepare() {
|
||
|
default
|
||
9 years ago
|
append-cxxflags -std=c++11
|
||
6 years ago
|
|
||
|
mv configure.{in,ac} || die
|
||
|
eautoreconf
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
econf \
|
||
|
$(use_with alsa) \
|
||
|
$(use_with !gnutls openssl) \
|
||
|
$(use_with migemo) \
|
||
|
$(use_with migemo migemodict "${EREPFIX}"/usr/share/migemo/migemo-dict) \
|
||
|
$(use_with oniguruma) \
|
||
|
--with-sessionlib=xsmp \
|
||
12 years ago
|
--with-xdgopen
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
6 years ago
|
default
|
||
12 years ago
|
doicon ${PN}.png
|
||
|
domenu ${PN}.desktop
|
||
|
}
|