# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/pino/pino-0.2.11.ebuild,v 1.3 2010/07/26 20:43:25 nirbheek Exp $ EAPI="3" inherit cmake-utils DESCRIPTION="Twitter and Identi.ca desktop client written in Vala" HOMEPAGE="http://pino-app.appspot.com/ http://code.google.com/p/pino-twitter/" SRC_URI="http://pino-twitter.googlecode.com/files/${P}.tar.bz2" LICENSE="LGPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="debug indicate" RDEPEND=">=dev-libs/glib-2.14:2 >=x11-libs/gtk+-2.10:2 >=dev-libs/libgee-0.5.0 x11-libs/libnotify net-libs/libsoup:2.4 dev-libs/libxml2:2 >=net-libs/webkit-gtk-1.1 dev-libs/libunique app-text/gtkspell indicate? ( dev-libs/libindicate )" # vala-0.9 required due to bug 328703 DEPEND="${RDEPEND} >=dev-lang/vala-0.9 dev-util/pkgconfig sys-devel/gettext dev-util/intltool" # TODO: # write a patch (for CMakeLists.txt) to not ignore LINGUAS DOCS="AUTHORS README" # upstream forgot to update the directory (again) S="${WORKDIR}/${PN}-0.2.10" src_configure() { local myconf="" use debug && myconf="--debug" if ! use indicate ; then # sabotage the detection since no configure option sed -i \ -e 's|"indicate|"indicate-false|' \ CMakeLists.txt || die "sed failed" fi mycmakeargs=( $(cmake-utils_use_enable debug DEBUG) ) cmake-utils_src_configure } src_install() { cmake-utils_src_install rm -rf "${D}/usr/share/doc" dodoc ${DOCS} }