From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 797AF15ACFC for ; Mon, 10 Apr 2023 20:52:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 97CEAE07B2; Mon, 10 Apr 2023 20:52:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 730AAE077D for ; Mon, 10 Apr 2023 20:52:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 985D5340C6C for ; Mon, 10 Apr 2023 20:52:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CBD75920 for ; Mon, 10 Apr 2023 20:52:18 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1681159910.082c02e6bf7e90376146511d5dac46a968692ff7.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/grilo/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/grilo/grilo-0.3.15-r1.ebuild X-VCS-Directories: media-libs/grilo/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 082c02e6bf7e90376146511d5dac46a968692ff7 X-VCS-Branch: master Date: Mon, 10 Apr 2023 20:52:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5d40bc89-5d00-4175-b11c-42aba1a182e9 X-Archives-Hash: dcdf3c553304065af927d96a2802ced9 commit: 082c02e6bf7e90376146511d5dac46a968692ff7 Author: Guillermo Joandet gmail com> AuthorDate: Fri Mar 17 00:58:53 2023 +0000 Commit: Matt Turner gentoo org> CommitDate: Mon Apr 10 20:51:50 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=082c02e6 media-libs/grilo: Revbump for libsoup:3.0 support Signed-off-by: Guillermo Joandet gmail.com> Signed-off-by: Matt Turner gentoo.org> media-libs/grilo/grilo-0.3.15-r1.ebuild | 77 +++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/media-libs/grilo/grilo-0.3.15-r1.ebuild b/media-libs/grilo/grilo-0.3.15-r1.ebuild new file mode 100644 index 000000000000..bbf0652fc20a --- /dev/null +++ b/media-libs/grilo/grilo-0.3.15-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{9..11} ) + +inherit gnome.org meson python-any-r1 vala xdg + +DESCRIPTION="A framework for easy media discovery and browsing" +HOMEPAGE="https://wiki.gnome.org/Projects/Grilo" + +LICENSE="LGPL-2.1+" +SLOT="0.3/0" # subslot is libgrilo-0.3 soname suffix +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +IUSE="gtk gtk-doc +introspection +playlist test vala" +REQUIRED_USE="vala? ( introspection )" +RESTRICT="!test? ( test )" + +# oauth could be optional if meson is patched - used for flickr oauth in grilo-test-ui tool +RDEPEND=" + >=dev-libs/glib-2.66:2 + >=net-libs/libsoup-3:3.0[introspection?] + playlist? ( >=dev-libs/totem-pl-parser-3.4.1:= ) + introspection? ( >=dev-libs/gobject-introspection-1.54:= ) + + gtk? ( + net-libs/liboauth + >=x11-libs/gtk+-3.14:3 + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/glib-utils + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + gtk-doc? ( + >=dev-util/gtk-doc-1.10 + app-text/docbook-xml-dtd:4.3 + ) + ${PYTHON_DEPS} + test? ( sys-apps/dbus ) + vala? ( $(vala_depend) ) +" + +src_prepare() { + sed -i -e "s:'GETTEXT_PACKAGE', meson.project_name():'GETTEXT_PACKAGE', 'grilo-${SLOT%/*}':" meson.build || die + sed -i -e "s:meson.project_name():'grilo-${SLOT%/*}':" po/meson.build || die + sed -i -e "s:'grilo':'grilo-${SLOT%/*}':" doc/grilo/meson.build || die + + # Drop explicit unversioned vapigen check + sed -i -e "/find_program.*vapigen/d" meson.build || die + + # Don't build examples; they get embedded in gtk-doc, thus we don't install the sources with USE=examples either + sed -i -e "/subdir('examples')/d" meson.build || die + + default + xdg_environment_reset + use vala && vala_setup +} + +src_configure() { + local emesonargs=( + -Denable-grl-net=true # Fails to build + $(meson_use playlist enable-grl-pls) + $(meson_use gtk-doc enable-gtk-doc) + $(meson_use introspection enable-introspection) + $(meson_use gtk enable-test-ui) + $(meson_use vala enable-vala) + -Dsoup3=true + ) + meson_src_configure +} + +src_test() { + dbus-run-session meson test -C "${BUILD_DIR}" || die +}