summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-client/jd/ChangeLog7
-rw-r--r--www-client/jd/jd-2.5.5_p091228.ebuild67
2 files changed, 73 insertions, 1 deletions
diff --git a/www-client/jd/ChangeLog b/www-client/jd/ChangeLog
index b28cc0e2eb17..db2a840a0f20 100644
--- a/www-client/jd/ChangeLog
+++ b/www-client/jd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-client/jd
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/jd/ChangeLog,v 1.18 2009/12/06 23:35:37 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/jd/ChangeLog,v 1.19 2009/12/31 06:02:30 matsuu Exp $
+
+*jd-2.5.5_p091228 (31 Dec 2009)
+
+ 31 Dec 2009; MATSUU Takuto <matsuu@gentoo.org> +jd-2.5.5_p091228.ebuild:
+ Version bumped.
*jd-2.5.0_p091206 (06 Dec 2009)
diff --git a/www-client/jd/jd-2.5.5_p091228.ebuild b/www-client/jd/jd-2.5.5_p091228.ebuild
new file mode 100644
index 000000000000..c49344875ba2
--- /dev/null
+++ b/www-client/jd/jd-2.5.5_p091228.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/jd/jd-2.5.5_p091228.ebuild,v 1.1 2009/12/31 06:02:30 matsuu Exp $
+
+inherit eutils autotools
+
+MY_P="${P/_p/-}"
+MY_P="${MY_P/_/-}"
+
+DESCRIPTION="gtk2 based 2ch browser written in C++"
+HOMEPAGE="http://jd4linux.sourceforge.jp/"
+SRC_URI="mirror://sourceforge.jp/jd4linux/45148/${MY_P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa gnome gnutls migemo"
+
+RDEPEND=">=dev-cpp/gtkmm-2.8
+ >=dev-libs/glib-2
+ x11-misc/xdg-utils
+ alsa? ( >=media-libs/alsa-lib-1 )
+ gnome? ( >=gnome-base/libgnomeui-2 )
+ !gnome? (
+ x11-libs/libSM
+ x11-libs/libICE
+ )
+ gnutls? ( >=net-libs/gnutls-1.2 )
+ !gnutls? ( >=dev-libs/openssl-0.9 )
+ migemo? ( app-text/cmigemo )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ eautoreconf
+}
+
+src_compile() {
+ local myconf="--with-xdgopen"
+
+ # use gnomeui sm instead of Xorg SM/ICE
+ if use gnome ; then
+ myconf="${myconf} --with-sessionlib=gnomeui"
+ else
+ myconf="${myconf} --with-sessionlib=xsmp"
+ fi
+
+ econf \
+ $(use_with alsa) \
+ $(use_with !gnutls openssl) \
+ $(use_with migemo) \
+ $(use_with migemo migemodict /usr/share/migemo/migemo-dict) \
+ ${myconf} || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ doicon ${PN}.png
+ domenu ${PN}.desktop
+ dodoc AUTHORS ChangeLog NEWS README
+}