From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-libs/totem-pl-parser/Manifest | 8 ++ .../totem-pl-parser-3.10.8-gmime-automagic.patch | 98 ++++++++++++++++++++++ dev-libs/totem-pl-parser/metadata.xml | 14 ++++ .../totem-pl-parser/totem-pl-parser-3.10.7.ebuild | 61 ++++++++++++++ .../totem-pl-parser/totem-pl-parser-3.10.8.ebuild | 74 ++++++++++++++++ 5 files changed, 255 insertions(+) create mode 100644 dev-libs/totem-pl-parser/Manifest create mode 100644 dev-libs/totem-pl-parser/files/totem-pl-parser-3.10.8-gmime-automagic.patch create mode 100644 dev-libs/totem-pl-parser/metadata.xml create mode 100644 dev-libs/totem-pl-parser/totem-pl-parser-3.10.7.ebuild create mode 100644 dev-libs/totem-pl-parser/totem-pl-parser-3.10.8.ebuild (limited to 'dev-libs/totem-pl-parser') diff --git a/dev-libs/totem-pl-parser/Manifest b/dev-libs/totem-pl-parser/Manifest new file mode 100644 index 000000000000..1b0a7539a918 --- /dev/null +++ b/dev-libs/totem-pl-parser/Manifest @@ -0,0 +1,8 @@ +AUX totem-pl-parser-3.10.8-gmime-automagic.patch 3454 SHA256 fd21f8f0d14a5c889334ea306f78e4fa05351e1d7f3a20e3ce1db8eae96b92c2 SHA512 0cb2b632ec79711ced87a8b8df13011defeb2117a3242d28129f53bc3c845a18d929a2697edc99e08b69410d7933ab065a65257fce62c12a8bd72f19bb4d5d6d WHIRLPOOL 66ccfc5c410fe581ae5c52ee10088a667d9633e5e7dc06408426c9a63256c8a08e684399f070421d60e4f83cdc95fc5445cf54ea3a365352c1debf2e051ec834 +DIST totem-pl-parser-3.10.7.tar.xz 1608864 SHA256 9c8285bc3131faa309d5cba5a919d5166abc2b8cc5a0c850fe861be8b14e089c SHA512 681ebd61680a4aab3fc4d1d1d158d1d938c0a015f25464169862e0fa3b108af0d0392151a0f4661aa0edafdd7f83ea7f3296dfd01cabdcf3bcac36be488e764e WHIRLPOOL e5549425ac4912f2fe84b5af875d29dc2f049e64f9652671272600697b7d208929c3752d806e31c24b173dea44423e6f23a8fc1fd75417614359a9cda6ba5efd +DIST totem-pl-parser-3.10.8.tar.xz 1618992 SHA256 ffc50a0713d5f3049912545169eea7d367483b2c4a868032940516ed1e78dd2b SHA512 1692fe6d183838bdfb9125ae2bf9fbf74762333a7ebb6becc755bfdbfb8d2ea1ae257f42aab7b7a1ab419aee2b35902176a731f26736a62015806d1423adae70 WHIRLPOOL 4aa55e96fb27196cb7a7f082d9030e467a5ecadb6d9448878b858b5670de9151d4043fa985b51d28c0f5345085b22b65510f9eb6129f4bc1b9ebc24957928cb5 +EBUILD totem-pl-parser-3.10.7.ebuild 1658 SHA256 bd67e58e177bd2556e62b24ae37fa6d966dba3b29a7322b0bfe93f5b6b355458 SHA512 0c7814b0405cc17603f4d46751366f751652b972acdc9da173fe42dfde2544a2ade2503733e44006bb8f4f1f19aca1fc7aabfeeee971a12017279f69ae74f378 WHIRLPOOL 26b4d48064e6589ea0f386288d5c9a01bd7cda70d97dda8d94c48de19ca4df4b87b25993bb26fa4bb9796b583b2f2a0f0b3f5881b00275280df6b9d6049234d8 +EBUILD totem-pl-parser-3.10.8.ebuild 2064 SHA256 15478e330d0fc4e76135557e01aee90f2402058687535573d6115fb1d6b1174c SHA512 64a52fbf299445dca2bbf974fb45de410b3017dd58e59e9e133f8853a5860965a2c52e3c57ea0e7da8d43bd03186998ea2e2158c805d2ddfb139ee0eb4c6a07d WHIRLPOOL f1a2af68886ecde066a4db922ab7316bb160c1796f192e47ee4c2cb6ab582d823a96b7b5e15cdc9d98eb106e227a4f7fca3b85fc26393801aa0e434665c1efc5 +MISC ChangeLog 4391 SHA256 31e833e58e984677a5409a599b4c9d31e7543500d0010643a52fa0ffb17eadfb SHA512 b6c7587c74f57093c1294ff9c72eaf1b12259f3f5b251fdc1323531bdc94d2e37028ce8e76ef81d50870f30b1b4963cfb1c49f0bba79cbbf8e7d02dd2e4206f4 WHIRLPOOL 6ec838c107937e1a9989d4939aec4f267b44246a65c8b31f26bf1996f20b7e4dfd31dafe14ee7e4fc4678afba9a234682d24c33ae39f04fbb9a0acdabbb363be +MISC ChangeLog-2015 26244 SHA256 36e9c8df471b5bea85f745da6aa6937a4b62ff0e0290774deac813cdc4e58b48 SHA512 a4c4b806443f22b5da66e0169b6ee20408d81f3ff86a10fc51e6d93c467623349cd78b34dbe09e46efb22f42efe899636c88afa354458ae7e5f150112dc95062 WHIRLPOOL 4598c7bbc0d04028cbe9cfed01b2255d01147a25d67cfbd9cd30f6fe7b5b511dc4b4be8ca11294901b5b7eb11bd56fc53dfe6fc3009ba3dc45fa4115ac6be1e3 +MISC metadata.xml 482 SHA256 eae7e00b246752bfb04c52d8c79f3582947dd831da0239beb3d68af3cdc4348b SHA512 40da37106a328a46dea049d602980112ef3b9b0fd644b05d5375f1e7f7748373478a8cb779bafd7607f38a1c989e65fba5cdfaba55dd2c4dc2f5bb748e4f9d77 WHIRLPOOL 6b365d5e6cba6f8491d918fbdf7d8970d3c448faec9b87f86c453610c46e10972296e2c5031a31608d67986ef393992004221e2a15a2771008f975fcdbf6e4ed diff --git a/dev-libs/totem-pl-parser/files/totem-pl-parser-3.10.8-gmime-automagic.patch b/dev-libs/totem-pl-parser/files/totem-pl-parser-3.10.8-gmime-automagic.patch new file mode 100644 index 000000000000..19ab82960fd4 --- /dev/null +++ b/dev-libs/totem-pl-parser/files/totem-pl-parser-3.10.8-gmime-automagic.patch @@ -0,0 +1,98 @@ +From b2e7a0b5db67dd276b09a151cf8a4aa3b58409fb Mon Sep 17 00:00:00 2001 +From: Gilles Dartiguelongue +Date: Sun, 13 Aug 2017 11:28:19 +0200 +Subject: [PATCH] Allow selecting specific gmime version + +--- + configure.ac | 69 ++++++++++++++++++++++++++++++------------------------------ + 1 file changed, 34 insertions(+), 35 deletions(-) + +diff --git a/configure.ac b/configure.ac +index dda59f7..f92bbf5 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -74,47 +74,46 @@ pkg_modules="glib-2.0 >= $GLIB_REQS libxml-2.0 gthread-2.0 gio-2.0 >= $GIO_REQS + ################################## + # Checking libgmime dependency + ################################## ++GMIME="" + gmime_message="" + +-AC_ARG_ENABLE(gmime-i-know-what-im-doing, +- AS_HELP_STRING([--disable-gmime-i-know-what-im-doing], +- [Disable libgmime (Unsupported, breaks Podcast support).]), +- [enable_gmime=no], +- [enable_gmime=yes]) +- +-if test "x$enable_gmime" = "xyes" ; then +- have_gmime3=no +- PKG_CHECK_MODULES(GMIME, +- gmime-3.0, +- [have_gmime=yes have_gmime3=yes GMIME=gmime-3.0], +- [have_gmime=no]) +- +- if test "x$have_gmime" = "xno" ; then +- PKG_CHECK_MODULES(GMIME, +- gmime-2.6, +- [have_gmime=yes GMIME=gmime-2.6], +- [have_gmime=no]) +- fi +- +- if test "x$have_gmime" = "xyes" ; then +- AC_SUBST(GMIME, $GMIME) +- AC_SUBST(USEGMIME, yes) +- AC_DEFINE(HAVE_GMIME, 1, [GMime available in the system]) +- if test "x$have_gmime3" = xyes ; then +- AC_DEFINE(HAVE_GMIME3, 1, [GMime 3.0 available in the system]) +- fi +- pkg_modules="$pkg_modules $GMIME" +- else +- AC_MSG_ERROR([libgmime is required to compile totem-pl-parser.]) +- fi +-else +- AC_SUBST(USEGMIME, no) +- gmime_message=" ++AC_ARG_ENABLE(gmime, ++ AS_HELP_STRING([--enable-gmime=2.6|3.0|auto|no], ++ [Which gmime version to compile against. Disabling libgmime is unsupported and breaks Podcast support.]), ++ [], ++ [enable_gmime=auto]) ++ ++AS_IF([test "x$enable_gmime" = "x2.6"], ++ [PKG_CHECK_MODULES(GMIME, [gmime-2.6], [GMIME=gmime-2.6])], ++ [test "x$enable_gmime" = "x3.0"], ++ [PKG_CHECK_MODULES(GMIME, [gmime-3.0], [GMIME=gmime-3.0])], ++ [test "x$enable_gmime" = "xauto" -o "x$enable_gmime" = "xyes"], ++ [PKG_CHECK_MODULES(GMIME, [gmime-3.0], ++ [GMIME=gmime-3.0], ++ [PKG_CHECK_MODULES(GMIME, [gmime-2.6], [GMIME=gmime-2.6])])], ++ [test "x$enable_gmime" = "xno"], ++ [], ++ # else ++ [AC_MSG_ERROR([invalid gmime version specified])] ++) ++ ++AS_IF([test "x$enable_gmime" = "xno"], ++ [ ++ AC_SUBST(USEGMIME, no) ++ gmime_message=" + ************************************************************** + Compiling totem-pl-parser without libgmime. + This will break podcast support and is completely unsupported. + **************************************************************" +-fi ++ ], [ ++ AC_SUBST(GMIME, $GMIME) ++ AC_SUBST(USEGMIME, yes) ++ AC_DEFINE(HAVE_GMIME, 1, [GMime available in the system]) ++ AS_IF([test "$xGMIME" = "xgmime-3.0"], ++ [AC_DEFINE(HAVE_GMIME3, 1, [GMime 3.0 available in the system])]) ++ pkg_modules="$pkg_modules $GMIME" ++ ] ++) + + ################################## + # Checking quvi dependency +-- +2.14.0 + diff --git a/dev-libs/totem-pl-parser/metadata.xml b/dev-libs/totem-pl-parser/metadata.xml new file mode 100644 index 000000000000..b40fbdb315d8 --- /dev/null +++ b/dev-libs/totem-pl-parser/metadata.xml @@ -0,0 +1,14 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + + Enables support for accessing media files in archives + transparently via app-arch/libarchive + Use media-libs/libquvi for parsing video + links + + diff --git a/dev-libs/totem-pl-parser/totem-pl-parser-3.10.7.ebuild b/dev-libs/totem-pl-parser/totem-pl-parser-3.10.7.ebuild new file mode 100644 index 000000000000..db66c8e8398b --- /dev/null +++ b/dev-libs/totem-pl-parser/totem-pl-parser-3.10.7.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2 + +DESCRIPTION="Playlist parsing library" +HOMEPAGE="https://developer.gnome.org/totem-pl-parser/stable/" + +LICENSE="LGPL-2+" +SLOT="0/18" +IUSE="archive crypt +introspection +quvi test" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd" + +RDEPEND=" + >=dev-libs/glib-2.31:2 + dev-libs/gmime:2.6 + >=net-libs/libsoup-2.43:2.4 + archive? ( >=app-arch/libarchive-3 ) + crypt? ( dev-libs/libgcrypt:0= ) + introspection? ( >=dev-libs/gobject-introspection-0.9.5:= ) + quvi? ( >=media-libs/libquvi-0.9.1:0= ) +" +DEPEND="${RDEPEND} + !=dev-util/intltool-0.35 + >=dev-util/gtk-doc-am-1.14 + >=sys-devel/gettext-0.17 + virtual/pkgconfig + test? ( + gnome-base/gvfs[http] + sys-apps/dbus ) +" +# eautoreconf needs: +# dev-libs/gobject-introspection-common +# >=gnome-base/gnome-common-3.6 + +src_prepare() { + # Disable tests requiring network access, bug #346127 + # 3rd test fails on upgrade, not once installed + sed -e 's:\(g_test_add_func.*/parser/resolution.*\):/*\1*/:' \ + -e 's:\(g_test_add_func.*/parser/parsing/itms_link.*\):/*\1*/:' \ + -e 's:\(g_test_add_func.*/parser/parsability.*\):/*\1/:'\ + -i plparse/tests/parser.c || die "sed failed" + + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --disable-static \ + $(use_enable archive libarchive) \ + $(use_enable crypt libgcrypt) \ + $(use_enable quvi) \ + $(use_enable introspection) +} + +src_test() { + # This is required as told by upstream in bgo#629542 + GVFS_DISABLE_FUSE=1 dbus-run-session emake check || die "emake check failed" +} diff --git a/dev-libs/totem-pl-parser/totem-pl-parser-3.10.8.ebuild b/dev-libs/totem-pl-parser/totem-pl-parser-3.10.8.ebuild new file mode 100644 index 000000000000..a997be14131e --- /dev/null +++ b/dev-libs/totem-pl-parser/totem-pl-parser-3.10.8.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME2_EAUTORECONF="yes" +inherit gnome2 + +DESCRIPTION="Playlist parsing library" +HOMEPAGE="https://developer.gnome.org/totem-pl-parser/stable/" + +LICENSE="LGPL-2+" +SLOT="0/18" +IUSE="archive crypt +introspection +quvi test" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" + +RDEPEND=" + >=dev-libs/glib-2.31:2 + dev-libs/gmime:2.6 + >=net-libs/libsoup-2.43:2.4 + archive? ( >=app-arch/libarchive-3 ) + crypt? ( dev-libs/libgcrypt:0= ) + introspection? ( >=dev-libs/gobject-introspection-0.9.5:= ) + quvi? ( >=media-libs/libquvi-0.9.1:0= ) +" +DEPEND="${RDEPEND} + !=dev-util/intltool-0.35 + >=dev-util/gtk-doc-am-1.14 + sys-devel/autoconf-archive + >=sys-devel/gettext-0.17 + virtual/pkgconfig + test? ( + gnome-base/gvfs[http] + sys-apps/dbus ) +" +# eautoreconf needs: +# dev-libs/gobject-introspection-common +# sys-devel/autoconf-archive + +PATCHES=( + # Fix gmime slot automagic, https://bugzilla.gnome.org/786231 + "${FILESDIR}"/${P}-gmime-automagic.patch +) + +src_prepare() { + # Disable tests requiring network access, bug #346127 + # 3rd test fails on upgrade, not once installed + sed -e 's:\(g_test_add_func.*/parser/resolution.*\):/*\1*/:' \ + -e 's:\(g_test_add_func.*/parser/parsing/itms_link.*\):/*\1*/:' \ + -e 's:\(g_test_add_func.*/parser/parsability.*\):/*\1/:'\ + -i plparse/tests/parser.c || die "sed failed" + + gnome2_src_prepare +} + +src_configure() { + # uninstalled-tests is abused to switch from loading live FS helper + # to in-build-tree helper, check on upgrades this is not having other + # consequences, bug #630242 + gnome2_src_configure \ + --disable-static \ + --enable-gmime=2.6 \ + --enable-uninstalled-tests \ + $(use_enable archive libarchive) \ + $(use_enable crypt libgcrypt) \ + $(use_enable quvi) \ + $(use_enable introspection) +} + +src_test() { + # This is required as told by upstream in bgo#629542 + GVFS_DISABLE_FUSE=1 dbus-run-session emake check +} -- cgit v1.2.3