# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 inherit cmake-utils vala gnome2-utils fdo-mime DESCRIPTION="FeedReader is a modern desktop application designed to complement existing web-based RSS accounts." HOMEPAGE="http://jangernert.github.io/feedreader" SRC_URI="https://launchpad.net/feedreader/1.4/$PV/+download/$P.tar.gz" S="${WORKDIR}" LICENSE="GPL-3" SLOT="0" KEYWORDS="x86 amd64" DEPEND=" dev-db/sqlite:3 x11-libs/gtk+:3 x11-libs/libnotify net-libs/libsoup dev-libs/libgee:0.8 dev-libs/json-glib app-crypt/libsecret[vala] dev-libs/libxml2 net-libs/rest net-libs/webkit-gtk:4[introspection] dev-libs/gobject-introspection" RDEPEND="${DEPEND}" src_configure() { local mycmakeargs+=( -DCMAKE_INSTALL_PREFIX=/usr -DWITH_LIBUNITY=OFF -DUSE_WEBKIT_4=ON # need to set valac executable -DVALA_EXECUTABLE="${VALAC}" ) cmake-utils_src_configure } src_compile() { # fails with multiple cores set to 1 cd ${WORKDIR}/${P}_build/ emake -j1 } pkg_preinst() { gnome2_icon_savelist gnome2_schemas_savelist } src_install() { addpredict "/usr/share/glib-2.0/schemas/" cd ${WORKDIR}/${P}_build/ default } pkg_postinst() { fdo-mime_desktop_database_update gnome2_icon_cache_update gnome2_schemas_update } pkg_postrm() { fdo-mime_desktop_database_update gnome2_icon_cache_update gnome2_schemas_update }