blob: 08f06c7b733944bc702801fcd598aaba4284983e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
VALA_MIN_API_VERSION=0.34
inherit autotools gnome2 vala virtualx xdg-utils
DESCRIPTION="Native GTK+3 Twitter client"
HOMEPAGE="https://corebird.baedert.org/"
SRC_URI="https://github.com/baedert/corebird/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug gstreamer spellcheck"
RDEPEND="dev-db/sqlite:3
dev-libs/glib:2
dev-libs/json-glib
gstreamer? ( media-plugins/gst-plugins-gtk:1.0
media-libs/gst-plugins-base:1.0[X]
media-libs/gst-plugins-good:1.0
media-plugins/gst-plugins-hls:1.0
media-plugins/gst-plugins-libav:1.0
media-plugins/gst-plugins-meta:1.0[X]
media-plugins/gst-plugins-soup:1.0 )
spellcheck? ( app-text/gspell:=[vala] )
net-libs/libsoup:2.4
x11-libs/gtk+:3"
DEPEND="${RDEPEND}
$(vala_depend)
dev-util/intltool
sys-apps/sed
virtual/pkgconfig"
src_prepare() {
# Disable that specific test because it would perform a download
sed -i -e "/inlinemediadownloader/d" tests/Makefile.am || die
eautoreconf
gnome2_src_prepare
vala_src_prepare
}
src_configure() {
local myeconfargs=(
$(use_enable gstreamer video)
--disable-gst-check
$(use_enable spellcheck)
)
gnome2_src_configure "${myeconfargs[@]}"
}
src_test() {
# Need to have $HOME/.config and friends for the tests to work
xdg_environment_reset
virtx emake check
}
|