From 30ad7caabcd5b432322c5de4cf821c5d5ce50c29 Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Sat, 2 May 2020 23:38:00 +0300 Subject: net-im/corebird: dep on gst-plugins-gtk instead of transitional USE Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp --- net-im/corebird/corebird-1.7.4-r1.ebuild | 59 ++++++++++++++++++++++++++++++++ net-im/corebird/corebird-1.7.4.ebuild | 59 -------------------------------- 2 files changed, 59 insertions(+), 59 deletions(-) create mode 100644 net-im/corebird/corebird-1.7.4-r1.ebuild delete mode 100644 net-im/corebird/corebird-1.7.4.ebuild (limited to 'net-im/corebird') diff --git a/net-im/corebird/corebird-1.7.4-r1.ebuild b/net-im/corebird/corebird-1.7.4-r1.ebuild new file mode 100644 index 000000000000..ff61481ab0a2 --- /dev/null +++ b/net-im/corebird/corebird-1.7.4-r1.ebuild @@ -0,0 +1,59 @@ +# 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://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 + 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 +} diff --git a/net-im/corebird/corebird-1.7.4.ebuild b/net-im/corebird/corebird-1.7.4.ebuild deleted file mode 100644 index 42563406a5fe..000000000000 --- a/net-im/corebird/corebird-1.7.4.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# 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://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-libs/gst-plugins-bad:1.0[X,gtk] - 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 -} -- cgit v1.2.3-65-gdbad