From 6efc525b71e8072c4acd47fc83235349b89ff45c Mon Sep 17 00:00:00 2001 From: KronoZed Date: Mon, 15 Feb 2016 17:23:01 +0300 Subject: [PATCH] Create feedreader-1.4.2.ebuild --- net-news/feedreader/feedreader-1.4.2.ebuild | 79 +++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 net-news/feedreader/feedreader-1.4.2.ebuild diff --git a/net-news/feedreader/feedreader-1.4.2.ebuild b/net-news/feedreader/feedreader-1.4.2.ebuild new file mode 100644 index 0000000..f31f423 --- /dev/null +++ b/net-news/feedreader/feedreader-1.4.2.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit cmake-utils gnome2 vala + +CMAKE_MIN_VERSION="2.6" +VALA_MIN_API_VERSION="0.24" + +MY_P="FeedReader" + +DESCRIPTION="A simple feedreader client for web services like Tiny Tiny RSS and in the future others." +HOMEPAGE="http://jangernert.github.io/${PN}/" +SRC_URI="https://launchpad.net/${PN}/1.4/${PV}/+download/${MY_P}-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="+gnome webkit4" + +RDEPEND=">=x11-libs/gtk+-3.12:3 + app-text/html2text + $(vala_depend) + dev-libs/json-glib + dev-libs/libgee:0.8 + net-libs/libsoup:2.4 + dev-db/sqlite:3 + app-crypt/libsecret[vala(+)] + x11-libs/libnotify + dev-libs/libxml2 + net-libs/rest:0.7 + !webkit4? ( net-libs/webkit-gtk:3 ) + webkit4? ( net-libs/webkit-gtk:4 ) + dev-libs/gobject-introspection + gnome? ( gnome-base/gnome-keyring )" + +DEPEND="${RDEPEND} + dev-util/intltool + virtual/pkgconfig" + +S="${WORKDIR}" + +src_prepare() { + vala_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DWITH_LIBUNITY=OFF + -DVALA_EXECUTABLE="${VALAC}" + -DCMAKE_INSTALL_PREFIX="${PREFIX}" + -DGSETTINGS_LOCALINSTALL=OFF + ) + $(cmake-utils_use_use webkit4 WEBKIT_4) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + cmake-utils_src_install +} + +pkg_preinst() { + gnome2_pkg_preinst +} + +pkg_postinst() { + gnome2_pkg_postinst +} + +pkg_postrm() { + gnome2_pkg_postrm +}