2016-07-10 03:09:48 +02:00
|
|
|
# Copyright 1999-2016 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Id$
|
|
|
|
|
2016-09-02 00:47:49 +02:00
|
|
|
EAPI="6"
|
2016-07-10 03:09:48 +02:00
|
|
|
|
|
|
|
inherit cmake-utils gnome2 vala
|
|
|
|
|
|
|
|
CMAKE_MIN_VERSION="2.6"
|
|
|
|
VALA_MIN_API_VERSION="0.26"
|
|
|
|
|
|
|
|
MY_PN="FeedReader"
|
2016-08-30 10:13:59 +02:00
|
|
|
MY_PV="${PV}"
|
|
|
|
MY_P="${MY_PN}-${PV}"
|
2016-07-10 03:09:48 +02:00
|
|
|
|
|
|
|
DESCRIPTION="Simple News Feed Reader for feeds aggregated by Tiny Tiny RSS or feedly"
|
|
|
|
HOMEPAGE="https://github.com/jangernert/${MY_PN}"
|
2016-08-30 10:13:59 +02:00
|
|
|
SRC_URI="https://github.com/jangernert/${MY_PN}/archive/v${PV}.tar.gz"
|
2016-07-10 03:09:48 +02:00
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
|
2016-08-30 10:13:59 +02:00
|
|
|
IUSE="+gnome"
|
2016-07-10 03:09:48 +02:00
|
|
|
|
|
|
|
# from old ebuild 1.4.3
|
|
|
|
# app-text/html2text
|
|
|
|
# gnome? ( gnome-base/gnome-keyring )
|
|
|
|
|
2016-08-30 10:13:59 +02:00
|
|
|
RDEPEND=">=x11-libs/gtk+-3.20:3
|
2016-07-10 03:09:48 +02:00
|
|
|
$(vala_depend)
|
|
|
|
dev-libs/json-glib
|
|
|
|
dev-libs/libgee:0.8
|
|
|
|
net-libs/libsoup:2.4
|
|
|
|
dev-libs/gobject-introspection
|
|
|
|
dev-db/sqlite:3
|
2016-07-26 13:09:10 +02:00
|
|
|
app-crypt/libsecret[vala]
|
2016-07-10 03:09:48 +02:00
|
|
|
x11-libs/libnotify
|
|
|
|
dev-libs/libxml2
|
|
|
|
net-libs/rest:0.7
|
2016-08-30 10:13:59 +02:00
|
|
|
net-libs/webkit-gtk:4
|
|
|
|
media-libs/gstreamer:1.0
|
|
|
|
media-libs/gst-plugins-base:1.0"
|
2016-07-10 03:09:48 +02:00
|
|
|
|
|
|
|
DEPEND="${RDEPEND}
|
|
|
|
dev-util/intltool
|
|
|
|
virtual/pkgconfig"
|
|
|
|
|
|
|
|
S="${WORKDIR}/${MY_P}"
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
vala_src_prepare
|
2016-09-05 22:56:26 +02:00
|
|
|
eapply_user
|
2016-07-10 03:09:48 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
local mycmakeargs=(
|
|
|
|
-DWITH_LIBUNITY=OFF
|
|
|
|
-DVALA_EXECUTABLE="${VALAC}"
|
|
|
|
-DCMAKE_INSTALL_PREFIX="${PREFIX}"
|
|
|
|
-DGSETTINGS_LOCALINSTALL=OFF
|
2016-08-30 10:13:59 +02:00
|
|
|
-DUSE_WEBKIT_4=ON
|
2016-07-10 03:09:48 +02:00
|
|
|
)
|
|
|
|
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
|
|
|
|
}
|