From 27bcff44135c56736aaa36788961de0d1984abdf Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Sat, 29 Sep 2018 21:26:58 +0200 Subject: [PATCH] Copy feedreader-2.0.2-r2 -> feedreader-2.3.0 and adapt some dependencies. --- net-news/feedreader/feedreader-2.3.0.ebuild | 87 +++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 net-news/feedreader/feedreader-2.3.0.ebuild diff --git a/net-news/feedreader/feedreader-2.3.0.ebuild b/net-news/feedreader/feedreader-2.3.0.ebuild new file mode 100644 index 0000000..bd0b2a4 --- /dev/null +++ b/net-news/feedreader/feedreader-2.3.0.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit cmake-utils gnome2 vala + +CMAKE_MIN_VERSION="2.6" +VALA_MIN_API_VERSION="0.38" + +MY_PN="FeedReader" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Simple News Feed Reader for feeds aggregated by Tiny Tiny RSS or feedly" +HOMEPAGE="https://github.com/jangernert/${MY_PN}" +SRC_URI="https://github.com/jangernert/${MY_PN}/archive/v${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +RESTRICT="mirror" + +RDEPEND="$(vala_depend) + app-crypt/libsecret[vala] + dev-db/sqlite:3 + dev-libs/gobject-introspection + dev-libs/json-glib + dev-libs/libgee:0.8 + dev-libs/libpeas + dev-libs/libxml2 + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + >=net-libs/gnome-online-accounts-3.20 + net-libs/libsoup:2.4 + net-libs/rest + >=net-libs/webkit-gtk-2.20:4 + net-misc/curl + >=x11-libs/gtk+-3.22:3 + x11-libs/libnotify" + +DEPEND="${RDEPEND} + dev-libs/gumbo + dev-util/intltool + dev-util/meson + dev-util/ninja + virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}/0001-fix-webkit2gtk-vapi.patch" + vala_src_prepare + eapply_user +} + +src_configure() { + local PREFIX=/usr + local mycmakeargs=( + -DWITH_LIBUNITY=OFF + -DVALA_EXECUTABLE="${VALAC}" + -DCMAKE_INSTALL_PREFIX="${PREFIX}" + -DGSETTINGS_LOCALINSTALL=OFF + -DUSE_WEBKIT_4=ON + ) + 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 +}