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 12083158009 for ; Mon, 19 Jun 2023 16:01:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 486B6E0863; Mon, 19 Jun 2023 16:01:06 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 2E037E0863 for ; Mon, 19 Jun 2023 16:01:06 +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 5D2BF340B37 for ; Mon, 19 Jun 2023 16:01:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BFB88A7A for ; Mon, 19 Jun 2023 16:01:03 +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: <1687190460.3b9097a69d39cb71f90937b8c5db03499ddb968e.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/grilo-plugins/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-plugins/grilo-plugins/Manifest media-plugins/grilo-plugins/grilo-plugins-0.3.15.ebuild X-VCS-Directories: media-plugins/grilo-plugins/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 3b9097a69d39cb71f90937b8c5db03499ddb968e X-VCS-Branch: master Date: Mon, 19 Jun 2023 16:01:03 +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: 4069906e-a1e5-42cd-81c7-ad75a3a2d8c1 X-Archives-Hash: 7d236421dd35a67fa32eac05719976d8 commit: 3b9097a69d39cb71f90937b8c5db03499ddb968e Author: Matt Turner gentoo org> AuthorDate: Mon Jun 19 16:00:02 2023 +0000 Commit: Matt Turner gentoo org> CommitDate: Mon Jun 19 16:01:00 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b9097a6 Revert "media-plugins/grilo-plugins: Drop old versions" This reverts commit 095208251f71eb6d1c8dc429b2eb318ea3bf0b38. This is still needed by media-sound/pragha. Signed-off-by: Matt Turner gentoo.org> media-plugins/grilo-plugins/Manifest | 1 + .../grilo-plugins/grilo-plugins-0.3.15.ebuild | 122 +++++++++++++++++++++ 2 files changed, 123 insertions(+) diff --git a/media-plugins/grilo-plugins/Manifest b/media-plugins/grilo-plugins/Manifest index db87103f8f57..0710053d83b4 100644 --- a/media-plugins/grilo-plugins/Manifest +++ b/media-plugins/grilo-plugins/Manifest @@ -1 +1,2 @@ +DIST grilo-plugins-0.3.15.tar.xz 1844584 BLAKE2B dbd25dd79e1676c42e5d36e6253628d7940ef75d1ba7625f5ffc36ad80f44ea0bc61a4beab609be26dc4c2c3f1fbc4f74905064dcb3df8a690cf67a4da2348b3 SHA512 4580990aeea6028668cf1762e8541a13349064e2713d97749126ea4a459e0c590b93a19c0f138103233a8fb7ab1c5009df1473c65ed06dce78e26c24aa63c2db DIST grilo-plugins-0.3.16.tar.xz 1843572 BLAKE2B 08f7af1a24f1f86019a3adf2ceea0bbca068f61db5e6e508b7f91f1b864ef3d788fdca7329c464c1a3197f0ca4c6efd5b4b0d84afd688dcb99a54ba1d958056a SHA512 ce1f2786af24ebac98a1dac455f91fa7f63eefcf9029872a8ca1d631bf4fcf76f0578e68e00da20fbfe4c0aeac285ccf9a3e1a8301ffa623a45dbb0b75cb2a32 diff --git a/media-plugins/grilo-plugins/grilo-plugins-0.3.15.ebuild b/media-plugins/grilo-plugins/grilo-plugins-0.3.15.ebuild new file mode 100644 index 000000000000..f21286e58f49 --- /dev/null +++ b/media-plugins/grilo-plugins/grilo-plugins-0.3.15.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +LUA_COMPAT=( lua5-3 ) +inherit gnome.org lua-single meson xdg + +DESCRIPTION="A collection of plugins for the Grilo framework" +HOMEPAGE="https://wiki.gnome.org/Projects/Grilo" + +LICENSE="LGPL-2.1+" +SLOT="0.3" +KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86" +IUSE="daap chromaprint flickr freebox gnome-online-accounts lua test thetvdb tracker upnp-av +youtube" +RESTRICT="!test? ( test )" +REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )" + +# GOA is only optionally used by flickr and lua-factory plugins (checked at v0.3.13) +# json-glib used by tmdb and lua; tmdb currently non-optional +# TODO: validate upnp-av dleyna deps +RDEPEND=" + >=dev-libs/glib-2.66:2 + ~media-libs/grilo-${PV}:${SLOT}=[playlist] + freebox? ( net-dns/avahi[dbus] ) + >=dev-libs/gom-0.4 + chromaprint? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + media-plugins/gst-plugins-chromaprint:1.0 + ) + dev-libs/json-glib + daap? ( >=net-libs/libdmapsharing-2.9.12:3.0 ) + media-libs/libmediaart:2.0 + net-libs/libsoup:2.4 + dev-libs/libxml2:2 + flickr? ( + net-libs/liboauth + gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.17.91:= ) + ) + dev-db/sqlite:3 + >=dev-libs/totem-pl-parser-3.4.1:= + tracker? ( app-misc/tracker:3= ) + upnp-av? ( + net-libs/dleyna-connector-dbus + net-misc/dleyna-server + ) + lua? ( + ${LUA_DEPS} + app-arch/libarchive + dev-libs/libxml2:2 + gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.17.91:= ) + ) + thetvdb? ( app-arch/libarchive ) + youtube? ( >=dev-libs/libgdata-0.17.0:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-text/docbook-xml-dtd:4.5 + dev-util/itstool + >=sys-devel/gettext-0.19.8 + upnp-av? ( >=dev-util/gdbus-codegen-2.44 ) + virtual/pkgconfig + lua? ( dev-util/gperf ) +" + +pkg_pretend() { + if use gnome-online-accounts; then + if ! use flickr && ! use lua; then + ewarn "Ignoring USE=gnome-online-accounts USE does not contain flickr or lua" + fi + fi +} + +pkg_setup() { + use lua && lua-single_pkg_setup +} + +src_prepare() { + default + xdg_environment_reset + + sed -i -e "s:'GETTEXT_PACKAGE', meson.project_name():'GETTEXT_PACKAGE', 'grilo-plugins-${SLOT%/*}':" meson.build || die + sed -i -e "s:meson.project_name():'grilo-plugins-${SLOT%/*}':" po/meson.build || die + sed -i -e "s:meson.project_name():'grilo-plugins-${SLOT%/*}':" help/meson.build || die + + # libdmapsharing-4 is not packaged + sed -i -e "s:libdmapsharing4_dep.found():false:" meson.build || die +} + +src_configure() { + local emesonargs=( + -Denable-bookmarks=yes + -Denable-chromaprint=$(usex chromaprint yes no) + -Denable-dleyna=$(usex upnp-av yes no) + -Denable-dmap=$(usex daap yes no) + -Denable-filesystem=yes + -Denable-flickr=$(usex flickr yes no) + -Denable-freebox=$(usex freebox yes no) + -Denable-gravatar=yes + -Denable-local-metadata=yes + -Denable-lua-factory=$(usex lua yes no) + -Denable-magnatune=yes + -Denable-metadata-store=yes + -Denable-opensubtitles=yes + -Denable-optical-media=yes + -Denable-podcasts=yes + -Denable-raitv=yes + -Denable-shoutcast=yes + -Denable-thetvdb=$(usex thetvdb yes no) + -Denable-tmdb=yes + -Denable-tracker=no + -Denable-tracker3=$(usex tracker yes no) + -Denable-youtube=$(usex youtube yes no) + -Dhelp=no + ) + if use flickr || use lua; then + emesonargs+=($(meson_feature gnome-online-accounts goa)) + else + emesonargs+=(-Dgoa=disabled) + fi + meson_src_configure +}