summaryrefslogtreecommitdiff
path: root/media-libs/grilo
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/grilo
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/grilo')
-rw-r--r--media-libs/grilo/Manifest9
-rw-r--r--media-libs/grilo/grilo-0.2.15.ebuild86
-rw-r--r--media-libs/grilo/grilo-0.3.3.ebuild88
-rw-r--r--media-libs/grilo/grilo-0.3.4.ebuild88
-rw-r--r--media-libs/grilo/metadata.xml14
5 files changed, 285 insertions, 0 deletions
diff --git a/media-libs/grilo/Manifest b/media-libs/grilo/Manifest
new file mode 100644
index 000000000000..53e110a1906b
--- /dev/null
+++ b/media-libs/grilo/Manifest
@@ -0,0 +1,9 @@
+DIST grilo-0.2.15.tar.xz 627196 SHA256 6f5d2583250a68e76d281edaa08adb880d5a78ed46f9ecd22ae4715f1dd66815 SHA512 ac0a76d9075e5383fe1a56277b23986a8ec8e86f01f3f782ac7dc79539904712c22295c679243604b619f24088a1210622e0699b5601678264bd7651012ded3e WHIRLPOOL 6ea64142e1a4923d0ea3554ec3591f2c3dd6d30fdeaccde9a2a8e48d3e62ff1cd38b23a9eb39aa4c79c3a93c800e7dbfb4ad3a278e92d5ac57cb2e374a18f793
+DIST grilo-0.3.3.tar.xz 641440 SHA256 5c874222c7bdf42490cd56765a593c41407247706bb1f24a1bd5d007aa38a0e3 SHA512 5ea94903c7ce0360eec0bb72c0a6c211a83da087538bac1274e8521360364bd852d0f63a27f85119d75541d323f0fbc89b21a577109cc3ee4faa6e33b105be5f WHIRLPOOL aba3474b3753582bd645cd0ca34051601fb3b15a2d6b4db58beb997b1ad1518fb3a2c79901604646b8edb4a84e2b620bb0b8f1861a5df0c3169d47e07ba93d5c
+DIST grilo-0.3.4.tar.xz 644616 SHA256 7c6964053b42574c2f14715d2392a02ea5cbace955eb73e067c77aa3e43b066e SHA512 d3800a1873364dc8b56748924eee71928f9e08ad82d8ee2ffaf265cca7e26476081e543f42f26db57c088b2b063f86244e6718116710fc39fdea623868992145 WHIRLPOOL 3157c3a6f88eff6a56eb6a5682236859212848cddfade088f5fc4731ac019ded90903ec080a411ce86212e3cda766a76bfc470969f52679470cba38de92fe536
+EBUILD grilo-0.2.15.ebuild 2168 SHA256 f9962d69bfb8c33c714adc7402659dbc6bba36b767344a60ff0716776ab8c9cd SHA512 a3c16193769a111bf219382eec548de6bde3088646c02c579a553f5adad9e8949791fb9d06547bb58aab1b67505965c39bb8063cdc708b549779fed31c7109d2 WHIRLPOOL cac208757840383ae82c6ffc0100648e7bbd10d3e0180a1536734efa43ed985a865877f4ac22385c669973f98b886dc7bd1fa14dd908c28444e3b619d0fabda7
+EBUILD grilo-0.3.3.ebuild 2297 SHA256 994bbe6f9caf38ca8571b0ae8ee9b2df3ac2dc236f5f96da268fd0bf242b2340 SHA512 9e0ec9c435a33a9b3d19dc9ae1a6d5d352fd2ad2377c22999d18a0f0ef2d308d85a9dbd51024d304767503659e2d278f2de2916d699097e9b1f5e0b91d3efbd9 WHIRLPOOL faac6853df6c13afb0090dfac70fc34d93612d70375bf2f55eaed50b277d6b64a28f54e972f2b07a2ab62115149dd73db44349a1505b9f004a9f431545d68e35
+EBUILD grilo-0.3.4.ebuild 2299 SHA256 7fc7fbf04d5f6a7168cb1ebc9123d4a35eed9252a52b4a5943a8430992242fe7 SHA512 7ededf99b8610ab951ccbda79a2beb072343c2c48d991d2b911e3bd33e3363ba0fafe6568ee52176e59b7f23c185681dc37e32cac2b697ae99c0d01bc1a5f916 WHIRLPOOL 22952e64b094b548eb1a56dae4a51e6eaa468509c0621d32addebf68e3bef29b83751b8a37433a556bbd88e4893a8b99fbd2e6a25bdd849a4bad3d3a6520c2b5
+MISC ChangeLog 5427 SHA256 085d5b96180ebae25255303f41e04bc4e2fc953d671b53f5085ab6eca909967e SHA512 59ce23d19d6343921d73fc8da1c88e404f204b4ca9620d13da47c3a5e0a72d1883c43bf2e81af0bbb8171244433c1b66d26a6ee1e62b721a46168c70a4df3deb WHIRLPOOL e04e13f4faead1a348f8e1bdef21dfeef74829b976ca4fe0391f3453f36afe47c1596825b1affd1db8116e35917438d2b2aa9001dd9bce8e7416f3308980bc93
+MISC ChangeLog-2015 7000 SHA256 9b42beda609121479c0c6a06d31791730241e974a79b1911046a4198aedfb642 SHA512 48962381d2c5e884edcd8783ee453ed3e531459bc9b910516254e4ab43360dfa3f216b704bfa7f1a93484533a65fe989ee92d971628b1fd86258e1c1e665b843 WHIRLPOOL 03c09543f7d5c788f80f5e8b4a070f6fd69004c4838dcdd505e5afee56e375aa19ffcc4e83482ecd5ee6d40e80a276ea2924c4756ba5b7b6c284eb03e316d4b1
+MISC metadata.xml 484 SHA256 2a6ad2373957f7c2f225fc79d2e4eb98bc27e3b04e9b3f42eea536961a871679 SHA512 b72030308a92f0c105f71df30321e2aa52d7e7bedcaaa8a2ddc9eb42e4e70981f6015ee8d00c81e50ce6460ab91396742619b8962c95cf664125f283ecc4e229 WHIRLPOOL 6512ddd5b35670392229eb9fa7057405bd83fa275de6f6b73211b176e758cf711c90d4ec67010e573e4b5284907fc9405b2622cc4b67053cef4a7b45d5c19a92
diff --git a/media-libs/grilo/grilo-0.2.15.ebuild b/media-libs/grilo/grilo-0.2.15.ebuild
new file mode 100644
index 000000000000..46a92486b6db
--- /dev/null
+++ b/media-libs/grilo/grilo-0.2.15.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+GCONF_DEBUG="no" # --enable-debug only changes CFLAGS
+GNOME2_LA_PUNT="yes"
+PYTHON_COMPAT=( python2_7 )
+VALA_MIN_API_VERSION="0.28"
+VALA_USE_DEPEND="vapigen"
+
+inherit gnome2 python-any-r1 vala
+
+DESCRIPTION="A framework for easy media discovery and browsing"
+HOMEPAGE="https://wiki.gnome.org/Projects/Grilo"
+
+LICENSE="LGPL-2.1+"
+SLOT="0.2/1" # subslot is libgrilo-0.2 soname suffix
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86"
+
+IUSE="gtk examples +introspection +network playlist test vala"
+REQUIRED_USE="test? ( introspection )"
+
+RDEPEND="
+ >=dev-libs/glib-2.44:2
+ dev-libs/libxml2:2
+ net-libs/liboauth
+ gtk? ( >=x11-libs/gtk+-3:3 )
+ introspection? ( >=dev-libs/gobject-introspection-0.9:= )
+ network? ( >=net-libs/libsoup-2.41.3:2.4 )
+ playlist? ( >=dev-libs/totem-pl-parser-3.4.1 )
+"
+DEPEND="${RDEPEND}
+ >=dev-util/gtk-doc-am-1.10
+ >=dev-util/intltool-0.40
+ virtual/pkgconfig
+ vala? ( $(vala_depend) )
+ test? (
+ $(python_gen_any_dep '
+ dev-python/pygobject:2[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]')
+ media-plugins/grilo-plugins:0.2 )
+"
+# eautoreconf requires gnome-common
+
+python_check_deps() {
+ has_version "dev-python/pygobject:2[${PYTHON_USEDEP}]" && \
+ has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+ use test && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ # Don't build examples
+ sed -e '/SUBDIRS/s/examples//' \
+ -i Makefile.am -i Makefile.in || die
+
+ use vala && vala_src_prepare
+ gnome2_src_prepare
+}
+
+src_configure() {
+ # --enable-debug only changes CFLAGS, useless for us
+ gnome2_src_configure \
+ --disable-static \
+ --disable-debug \
+ $(use_enable gtk test-ui) \
+ $(use_enable introspection) \
+ $(use_enable network grl-net) \
+ $(use_enable playlist grl-pls) \
+ $(use_enable test tests) \
+ $(use_enable vala)
+}
+
+src_install() {
+ gnome2_src_install
+ # Upstream made this conditional on gtk-doc build...
+ emake -C doc install DESTDIR="${ED}"
+
+ if use examples; then
+ # Install example code
+ insinto /usr/share/doc/${PF}/examples
+ doins "${S}"/examples/*.c
+ fi
+}
diff --git a/media-libs/grilo/grilo-0.3.3.ebuild b/media-libs/grilo/grilo-0.3.3.ebuild
new file mode 100644
index 000000000000..8226d721b9b7
--- /dev/null
+++ b/media-libs/grilo/grilo-0.3.3.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+VALA_MIN_API_VERSION="0.28"
+VALA_USE_DEPEND="vapigen"
+
+inherit gnome2 python-any-r1 vala virtualx
+
+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 ~sparc x86"
+
+IUSE="gtk examples +introspection +network playlist test vala"
+REQUIRED_USE="test? ( introspection )"
+
+RDEPEND="
+ >=dev-libs/glib-2.44:2
+ dev-libs/libxml2:2
+ net-libs/liboauth
+ gtk? ( >=x11-libs/gtk+-3:3 )
+ introspection? ( >=dev-libs/gobject-introspection-0.9:= )
+ network? ( >=net-libs/libsoup-2.41.3:2.4 )
+ playlist? ( >=dev-libs/totem-pl-parser-3.4.1 )
+"
+DEPEND="${RDEPEND}
+ >=dev-util/gtk-doc-am-1.10
+ >=dev-util/intltool-0.40
+ virtual/pkgconfig
+ vala? ( $(vala_depend) )
+ test? (
+ ${PYTHON_DEPS}
+ media-plugins/grilo-plugins:${SLOT%/*} )
+"
+# eautoreconf requires gnome-common
+
+pkg_setup() {
+ # Python tests are currently commented out, but this is done via in exit(0) in testrunner.py
+ # thus it still needs $PYTHON set up, which python-any-r1_pkg_setup will do for us
+ use test && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ sed -e "s:GETTEXT_PACKAGE=grilo$:GETTEXT_PACKAGE=grilo-${SLOT%/*}:" \
+ -i configure.ac configure || die "sed configure.ac configure failed"
+
+ # Don't build examples
+ sed -e '/SUBDIRS/s/examples//' \
+ -i Makefile.am -i Makefile.in || die
+
+ use vala && vala_src_prepare
+ gnome2_src_prepare
+}
+
+src_configure() {
+ # --enable-debug only changes CFLAGS, useless for us
+ gnome2_src_configure \
+ --disable-static \
+ --disable-debug \
+ $(use_enable gtk test-ui) \
+ $(use_enable introspection) \
+ $(use_enable network grl-net) \
+ $(use_enable playlist grl-pls) \
+ $(use_enable test tests) \
+ $(use_enable vala)
+}
+
+src_test() {
+ virtx emake check
+}
+
+src_install() {
+ gnome2_src_install
+ # Upstream made this conditional on gtk-doc build...
+ DOC_MODULE_VERSION=${SLOT%/*} \
+ emake -C doc install DESTDIR="${ED}"
+
+ if use examples; then
+ # Install example code
+ insinto /usr/share/doc/${PF}/examples
+ doins "${S}"/examples/*.c
+ fi
+}
diff --git a/media-libs/grilo/grilo-0.3.4.ebuild b/media-libs/grilo/grilo-0.3.4.ebuild
new file mode 100644
index 000000000000..f5abb7f73364
--- /dev/null
+++ b/media-libs/grilo/grilo-0.3.4.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+VALA_MIN_API_VERSION="0.28"
+VALA_USE_DEPEND="vapigen"
+
+inherit gnome2 python-any-r1 vala virtualx
+
+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 ~sparc ~x86"
+
+IUSE="gtk examples +introspection +network playlist test vala"
+REQUIRED_USE="test? ( introspection )"
+
+RDEPEND="
+ >=dev-libs/glib-2.44:2
+ dev-libs/libxml2:2
+ net-libs/liboauth
+ gtk? ( >=x11-libs/gtk+-3:3 )
+ introspection? ( >=dev-libs/gobject-introspection-0.9:= )
+ network? ( >=net-libs/libsoup-2.41.3:2.4 )
+ playlist? ( >=dev-libs/totem-pl-parser-3.4.1 )
+"
+DEPEND="${RDEPEND}
+ >=dev-util/gtk-doc-am-1.10
+ >=dev-util/intltool-0.40
+ virtual/pkgconfig
+ vala? ( $(vala_depend) )
+ test? (
+ ${PYTHON_DEPS}
+ media-plugins/grilo-plugins:${SLOT%/*} )
+"
+# eautoreconf requires gnome-common
+
+pkg_setup() {
+ # Python tests are currently commented out, but this is done via in exit(0) in testrunner.py
+ # thus it still needs $PYTHON set up, which python-any-r1_pkg_setup will do for us
+ use test && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ sed -e "s:GETTEXT_PACKAGE=grilo$:GETTEXT_PACKAGE=grilo-${SLOT%/*}:" \
+ -i configure.ac configure || die "sed configure.ac configure failed"
+
+ # Don't build examples
+ sed -e '/SUBDIRS/s/examples//' \
+ -i Makefile.am -i Makefile.in || die
+
+ use vala && vala_src_prepare
+ gnome2_src_prepare
+}
+
+src_configure() {
+ # --enable-debug only changes CFLAGS, useless for us
+ gnome2_src_configure \
+ --disable-static \
+ --disable-debug \
+ $(use_enable gtk test-ui) \
+ $(use_enable introspection) \
+ $(use_enable network grl-net) \
+ $(use_enable playlist grl-pls) \
+ $(use_enable test tests) \
+ $(use_enable vala)
+}
+
+src_test() {
+ virtx emake check
+}
+
+src_install() {
+ gnome2_src_install
+ # Upstream made this conditional on gtk-doc build...
+ DOC_MODULE_VERSION=${SLOT%/*} \
+ emake -C doc install DESTDIR="${ED}"
+
+ if use examples; then
+ # Install example code
+ insinto /usr/share/doc/${PF}/examples
+ doins "${S}"/examples/*.c
+ fi
+}
diff --git a/media-libs/grilo/metadata.xml b/media-libs/grilo/metadata.xml
new file mode 100644
index 000000000000..2a9c4eb55a97
--- /dev/null
+++ b/media-libs/grilo/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <use>
+ <flag name="network">Enable network access for media discovery using
+ <pkg>net-libs/libsoup</pkg></flag>
+ <flag name="playlist">Enable support for playlists through
+ <pkg>dev-libs/totem-pl-parser</pkg></flag>
+ </use>
+</pkgmetadata>