diff --git a/net-im/cawbird/Manifest b/net-im/cawbird/Manifest new file mode 100644 index 0000000..1c8ab54 --- /dev/null +++ b/net-im/cawbird/Manifest @@ -0,0 +1 @@ +DIST v1.3.2.tar.gz 618441 BLAKE2B 69784d7ad078f1d36c641202b27123e3319e2353169e204c06d506ac28df84513d75eb6099662b613e10d5ae299d4de05523ab48718c1032df103317fcd4eaf7 SHA512 7b98a9de4e4c13309034dd6fee172e20f72cc1545de7ab7e77a6f37d249edde8688130b85b9925b3727c8afe67af0f016215a9f8e7ae7ec6db41cdf26c13eac0 diff --git a/net-im/cawbird/cawbird-1.3.2.ebuild b/net-im/cawbird/cawbird-1.3.2.ebuild new file mode 100644 index 0000000..b894232 --- /dev/null +++ b/net-im/cawbird/cawbird-1.3.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2020 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://ibboard.co.uk/cawbird/" +SRC_URI="https://github.com/IBBoard/cawbird/archive/v1.3.2.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~arm ~arm64" +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 + 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 +} +