diff options
Diffstat (limited to 'media-plugins/grilo-plugins')
-rw-r--r-- | media-plugins/grilo-plugins/Manifest | 3 | ||||
-rw-r--r-- | media-plugins/grilo-plugins/files/0.3.8-meson-goa.patch | 44 | ||||
-rw-r--r-- | media-plugins/grilo-plugins/grilo-plugins-0.3.8.ebuild | 104 |
3 files changed, 151 insertions, 0 deletions
diff --git a/media-plugins/grilo-plugins/Manifest b/media-plugins/grilo-plugins/Manifest index 16a0ca2a0ad9..4b6deebb77e0 100644 --- a/media-plugins/grilo-plugins/Manifest +++ b/media-plugins/grilo-plugins/Manifest @@ -1,3 +1,6 @@ +AUX 0.3.8-meson-goa.patch 2086 BLAKE2B 82bcd7de7d96caeed6f5448e36666acbb3870e4e8361c8890a73e031cb241261b98d8c97a3caf45187d2a7deebdf712a5447ccb29f96509a256eff8b5c257b6a SHA512 b5a6942092b32c91518e6142e7b0fbb46994eaa0f03eb83b0fbb561bf1ee27d435c1f0982cb036700fcff04bab27cf1080cb068bfdce44eeb6238f4f642c486d DIST grilo-plugins-0.3.7.tar.xz 1892848 BLAKE2B 9894a01dc555f20c3119208e2ee875898c918f8d81e36571a777f7f1776c284d5fa5b4ac9126a352dc812b0f5ba9c15e0e81a2381ef9cb636afb66e272a77cec SHA512 9e69835b3b8f6e2974d799480e2c8c55a084d2089ead6b37112a8c3c79b6bd2142b8fd66952493b7118e09eb5070789408b59bd28784bd9f6bf5ea5a7bc5695d +DIST grilo-plugins-0.3.8.tar.xz 1408952 BLAKE2B 3375275189a25289406b5d9fd6dd42b6c0ad92779b081ce2f480b464929302af7b52fc758f2f6277c94fad38a2b0bbfc8fe9fd668ff98fc0ac7fbeda69a5ac42 SHA512 c5a0a80fd7c871ce69a06bdcab2b3d8986708e4e6b9c9020d7e938d4450655f962db7f84da0b40ed38ba197f65fc2a561e06a92cdca593620d66c2b153eb4879 EBUILD grilo-plugins-0.3.7.ebuild 3577 BLAKE2B 23aa0ba03a43a60f310f12f7973a4093797083e0a02c37de67d64376f34310f5a28e5958e1fa12246f89591b1d144ba15c8ac53d3318135f98beb7675ca968af SHA512 8898c1fd574c7d030d98512db1560f09743c7ea7da6a7387a1dc8926a90798dab6c1e09d2108a6f26d94e3efb824d99210791b1580d28adb71786a7ce1c52e02 +EBUILD grilo-plugins-0.3.8.ebuild 2989 BLAKE2B 419f30763182cb11241444333a3e565cafbb2989070aa7b734b80e2220b0034101e400f4d6c9c6da7ccd49acc5e286104a4b229d869c653cae00b8ab60c569c8 SHA512 731f4cb25861f7b4a4fd2c4c8a7687ad5b64f9c3ee60ddc2ed3d823be5a85412d898682650288aba72fd57fcdc98f3aa7854ff0b4208a443ed6907a495a5deb1 MISC metadata.xml 1136 BLAKE2B 0efdd69b0def1abeb70d76229addd8cc17db0d8bf314696eb8abfe3e938a8f60ab68b47b0be7aad81d99ddcf0e597cec76e1717ff32e5c0529a8b4bbf8b92c08 SHA512 d308b981dd17f7c78462d0e90892169e2f15affbeb99d909aa35a46e0c1728f6fc3530e0fd936424150781411b469041a47fe62bbf438aa68c0140755830799d diff --git a/media-plugins/grilo-plugins/files/0.3.8-meson-goa.patch b/media-plugins/grilo-plugins/files/0.3.8-meson-goa.patch new file mode 100644 index 000000000000..fc3241085acb --- /dev/null +++ b/media-plugins/grilo-plugins/files/0.3.8-meson-goa.patch @@ -0,0 +1,44 @@ +From ecee1d8099447b2639d9c38acc344428877d4799 Mon Sep 17 00:00:00 2001 +From: Mart Raudsepp <leio@gentoo.org> +Date: Sat, 16 Feb 2019 14:44:44 +0200 +Subject: [PATCH] build: Support controlling gnome-online-accounts dependency + +--- + meson.build | 4 ++-- + meson_options.txt | 1 + + 2 files changed, 3 insertions(+), 2 deletions(-) + +diff --git a/meson.build b/meson.build +index 83a83a0..e79e84f 100644 +--- a/meson.build ++++ b/meson.build +@@ -13,7 +13,7 @@ project('grilo-plugins', 'c', + 'warning_level=1' + ], + license: 'LGPL 2.1', +- meson_version: '>= 0.37.0') ++ meson_version: '>= 0.47.0') + + plugin_version = meson.project_version() + version_array = plugin_version.split('.') +@@ -51,7 +51,7 @@ avahi_glib_dep = dependency('avahi-glib', required: false) + avahi_gobject_dep = dependency('avahi-gobject', required: false) + gio_dep = dependency('gio-2.0', required: false) + gio_unix_dep = dependency('gio-unix-2.0', required: false) +-goa_dep = dependency('goa-1.0', version: '>= 3.17.91', required: false) ++goa_dep = dependency('goa-1.0', version: '>= 3.17.91', required: get_option('goa')) + gom_dep = dependency('gom-1.0', version: '>= 0.3.2', required: false) + grilo_net_dep = dependency('grilo-net-0.3', version: '>= 0.3.0', required: false) + grilo_pls_dep = dependency('grilo-pls-0.3', version: '>= 0.3.0', required: false) +diff --git a/meson_options.txt b/meson_options.txt +index 7d96a74..32b51d2 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -21,3 +21,4 @@ option('enable-tmdb', type: 'combo', choices: [ 'auto', 'yes', 'no' ], value: 'a + option('enable-tracker', type: 'combo', choices: [ 'auto', 'yes', 'no' ], value: 'auto', description: 'Enable Tracker plugin') + option('enable-vimeo', type: 'combo', choices: [ 'auto', 'yes', 'no' ], value: 'auto', description: 'Enable Vimeo plugin') + option('enable-youtube', type: 'combo', choices: [ 'auto', 'yes', 'no' ], value: 'auto', description: 'Enable YouTube plugin') ++option('goa', type: 'feature', value: 'auto', description: 'Enable gnome-online-accounts usage') +-- +2.17.0 + diff --git a/media-plugins/grilo-plugins/grilo-plugins-0.3.8.ebuild b/media-plugins/grilo-plugins/grilo-plugins-0.3.8.ebuild new file mode 100644 index 000000000000..8b9fb44a4297 --- /dev/null +++ b/media-plugins/grilo-plugins/grilo-plugins-0.3.8.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} ) + +inherit gnome.org 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 ~sparc ~x86" +IUSE="daap chromaprint flickr freebox gnome-online-accounts lua test thetvdb tracker upnp-av +youtube" + +# GOA is only optionally used by flickr and lua-factory plugins (checked at v0.3.8) +# json-glib used by tmdb and lua; tmdb currently non-optional +# TODO: validate upnp-av dleyna deps +RDEPEND=" + >=dev-libs/glib-2.44:2 + >=media-libs/grilo-0.3.6:${SLOT}=[network,playlist] + freebox? ( + net-dns/avahi ) + >=dev-libs/gom-0.3.2-r1 + 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 ) + dev-db/sqlite:3 + >=dev-libs/totem-pl-parser-3.4.1 + tracker? ( + >=app-misc/tracker-0.10.5:= ) + upnp-av? ( + net-libs/dleyna-connector-dbus + net-misc/dleyna-server ) + lua? ( + >=dev-lang/lua-5.3 + app-arch/libarchive + dev-libs/libxml2:2 ) + thetvdb? ( + app-arch/libarchive ) + youtube? ( + >=dev-libs/libgdata-0.9.1:= ) + + gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.17.91:= ) +" +DEPEND="${RDEPEND} + 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 ) +" + +PATCHES=( + "${FILESDIR}"/${PV}-meson-goa.patch # Support controlling g-o-a dep via 'goa' meson_options +) + +src_prepare() { + xdg_src_prepare + 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 +} + +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-jamendo=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=$(usex tracker yes no) + -Denable-vimeo=yes + -Denable-youtube=$(usex youtube yes no) + -Dgoa=$(usex gnome-online-accounts enabled disabled) + ) + meson_src_configure +} |