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 --- media-tv/me-tv/Manifest | 7 +++ ...me-tv-1.4.0.10-C++11-throw-in-destructors.patch | 35 ++++++++++++++ media-tv/me-tv/files/me-tv-1.4.0.10-gcc47.patch | 26 +++++++++++ media-tv/me-tv/me-tv-1.4.0.10.ebuild | 54 ++++++++++++++++++++++ media-tv/me-tv/metadata.xml | 18 ++++++++ 5 files changed, 140 insertions(+) create mode 100644 media-tv/me-tv/Manifest create mode 100644 media-tv/me-tv/files/me-tv-1.4.0.10-C++11-throw-in-destructors.patch create mode 100644 media-tv/me-tv/files/me-tv-1.4.0.10-gcc47.patch create mode 100644 media-tv/me-tv/me-tv-1.4.0.10.ebuild create mode 100644 media-tv/me-tv/metadata.xml (limited to 'media-tv/me-tv') diff --git a/media-tv/me-tv/Manifest b/media-tv/me-tv/Manifest new file mode 100644 index 000000000000..628a6d37d551 --- /dev/null +++ b/media-tv/me-tv/Manifest @@ -0,0 +1,7 @@ +AUX me-tv-1.4.0.10-C++11-throw-in-destructors.patch 628 SHA256 9bb85343a6293808777f73ca35468730e29d53eb451f19f4f8308ee5276a01bc SHA512 478089007245fd2307ad127cd80a230dd642d967d9e4a34ca3038fcdb0fc61093b19491acd5c313e89c0c6c5a46e47365a7866895bfad3a3468331beb775fbc3 WHIRLPOOL 6abd4836c7d380d7b062cb3ef15ab1be744cd021c82c72942a86094e2b2e19fbb5ea7cd81ea6beed95ad9c52c55d8a560dee4633796a0ed12b3bf08cf6984b83 +AUX me-tv-1.4.0.10-gcc47.patch 643 SHA256 9a68b0e2e3b27affa01242034b8e8b3f12858880dfb2f48028ee6c11cd8e4918 SHA512 e01cb109c5674ddfe08535cfd4f45f347180d8db98ce10a1ec521feddf297e781293138e2ad2eedb9eca1f0b780f8fc83b8ed8779576ba66784e9bd0bb7cbb33 WHIRLPOOL 9b31bc8ca62c5a6b014d30e51c4bbf5be9329340af3f9f23257a6edbd352c4bab330b6bc955816fac023a4128ea7c344c6f54041a882eab662ca68606b98e59a +DIST me-tv-1.4.0.10.tar.gz 549653 SHA256 a0ee03feb3271c5cd68e5d36f938d2f967db462d28627d39b1d57be60b02f38c SHA512 98988a343f900c6b7a276ada47025f9a703a490eb499f3aad9fb7163c73113061dc205a29b454f06e817ef24d44ae58981fd5a19dfb0a48be669394e91bd5ee8 WHIRLPOOL 8f263ed8ed1dec94b67d607052ce04f2c2d62607d8fdddf1703888905512a9ced76372c81dd210552b3df512adb6b4876e131bf2d288b51444775edbe28ce119 +EBUILD me-tv-1.4.0.10.ebuild 1258 SHA256 c04d7d2a7986024556013fd2af71e7f9b39acb9ed028bb5a22a092c1333c5db6 SHA512 8b1400a3c21ff7428a4d2827e0403752e3e98e3750201f065c2d4de6238b9d910f7064e2578c79c055b22c1fe455ef52e4d1f4c4f0f64da30f183c7ed32bf19a WHIRLPOOL c86a80555869900e3c521f5889898d211fe47106457f0997275896cbd453609e5917c7283fb32f1ee2cf005721ec4640b1e7799226cd9dcdde8d18528834caa1 +MISC ChangeLog 3334 SHA256 e8fceafc1e04a26c93571ce4950f7b4c72e1eb572d4f96b2eb51c5dcf2d28da5 SHA512 2068aff2e98fa2c5bc04d4845175d3cd9da422bf43a879ca1df5b339947b20cfc0948e7ef280d2f9f996578ea4d0fdb9268be51558517efeb090adce45c10a01 WHIRLPOOL d813298fee254058f9da2f8daf71ee9cef242c846771b68f4c223bc520235bde69d66b7401009015ec14eda0895288ee0d163323b4fe1245b80bc812cead999c +MISC ChangeLog-2015 687 SHA256 823a288059bf5cb8ef7642cef4c18ee65a26bb0e03c70cbb27aea0992a60a920 SHA512 1b1fdcb634b877e4d65c5402182d5910bac9e9387bc3c6d579c8fa0deb95da06d8918de23f303fdd9dc7751cf59ff160b4da126ff811d20aaadd843f2e13cead WHIRLPOOL 0f916fcc6c2352ca84fb433d5d2f4cbd4baacc09f90f99f03e7d025619e00605ce6d8d0d70215b778c2caba7ddc85b469d2e834470aa03ed5f2a7f2b67b715ad +MISC metadata.xml 701 SHA256 fa76a7cab1b87f71d21de18a9bd96c8e8010e272def0fbf35888c3e0dd1d8efb SHA512 8dabe002eb6159ac03291d4a208fb56012efc156e2ac963cd5af2f7962a6c31e91f05bea39b4a685fb35725b6cd03cc2f4535c64b515c556e2f00eea7cb05438 WHIRLPOOL 647dbfda4f6ead307f87743cfa533e334bff522c1552e9784b70410a1acbcd4ccd796d7c92aa90554152a92fd15f09b77a95e21e91a4c5fd0a11d753cab7ada4 diff --git a/media-tv/me-tv/files/me-tv-1.4.0.10-C++11-throw-in-destructors.patch b/media-tv/me-tv/files/me-tv-1.4.0.10-C++11-throw-in-destructors.patch new file mode 100644 index 000000000000..322a0d6b8463 --- /dev/null +++ b/media-tv/me-tv/files/me-tv-1.4.0.10-C++11-throw-in-destructors.patch @@ -0,0 +1,35 @@ +--- a/server/data.cc ++++ b/server/data.cc +@@ -68,7 +68,7 @@ + } + } + +-Statement::~Statement() ++Statement::~Statement() NOEXCEPT + { + if (sqlite3_finalize(statement) != 0) + { +--- a/server/data.h ++++ b/server/data.h +@@ -26,6 +26,12 @@ + #include + #include + ++#if __cplusplus >= 201103L ++#define NOEXCEPT noexcept(false) ++#else ++#define NOEXCEPT ++#endif ++ + typedef std::list StringList; + + namespace Data +@@ -68,7 +74,7 @@ + + public: + Statement(Connection& connection, const Glib::ustring& command); +- ~Statement(); ++ ~Statement() NOEXCEPT; + + void reset(); + guint step(); diff --git a/media-tv/me-tv/files/me-tv-1.4.0.10-gcc47.patch b/media-tv/me-tv/files/me-tv-1.4.0.10-gcc47.patch new file mode 100644 index 000000000000..c785e971997e --- /dev/null +++ b/media-tv/me-tv/files/me-tv-1.4.0.10-gcc47.patch @@ -0,0 +1,26 @@ + https://bugs.gentoo.org/452108 + + common/common.cc | 1 + + server/thread.cc | 1 + + 2 files changed, 2 insertions(+) + +--- a/common/common.cc ++++ b/common/common.cc +@@ -18,6 +18,7 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301, USA + */ + ++#include + #include "../common/common.h" + #include "../common/i18n.h" + #include "../common/exception.h" +--- a/server/thread.cc ++++ b/server/thread.cc +@@ -18,6 +18,7 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301, USA + */ + ++#include + #include "thread.h" + #include "../common/i18n.h" + #include "../common/exception.h" diff --git a/media-tv/me-tv/me-tv-1.4.0.10.ebuild b/media-tv/me-tv/me-tv-1.4.0.10.ebuild new file mode 100644 index 000000000000..89efd2f0c89b --- /dev/null +++ b/media-tv/me-tv/me-tv-1.4.0.10.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils flag-o-matic versionator autotools gnome2 + +DESCRIPTION="Me TV is a GTK desktop application for watching digital television" +HOMEPAGE="http://me-tv.sourceforge.net/" +SRC_URI="https://launchpad.net/${PN}/$(get_version_component_range 1-2)/$(get_version_component_range 1-3)/+download/${P}.tar.gz" +RESTRICT="mirror" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="http" + +RDEPEND=" + >=dev-cpp/gconfmm-2.6 + dev-cpp/gtkmm:2.4 + dev-cpp/libxmlpp:2.6 + dev-libs/libunique:1 + >=dev-libs/dbus-glib-0.92 + net-libs/gnet:2 + =dev-db/sqlite-3* + >=media-video/vlc-1.1.8 + media-libs/gstreamer:0.10 + media-plugins/gst-plugins-xvideo:0.10 + media-libs/gst-plugins-base:0.10 +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + append-cxxflags -std=c++11 + epatch "${FILESDIR}"/${P}-gcc47.patch + epatch "${FILESDIR}"/${P}-C++11-throw-in-destructors.patch + eautoreconf +} + +src_install() { + gnome2_src_install + if use http; then + dodoc -r http/ + fi +} + +pkg_postinst() { + if use http; then + elog "The HTTP server port, .. are hardcoded" + fi + elog "Please note that Version 1.4 has a new DB so you" + elog "have to re-import your channels." +} diff --git a/media-tv/me-tv/metadata.xml b/media-tv/me-tv/metadata.xml new file mode 100644 index 000000000000..2b4a8b01044c --- /dev/null +++ b/media-tv/me-tv/metadata.xml @@ -0,0 +1,18 @@ + + + + + lordvan@gentoo.org + Thomas Raschbacher + + Me TV is a GTK desktop application for watching digital television services that use the DVB standard. + +Me TV works with DVB-T, DVB-S, DVB-C and ATSC devices that are supported by Linux kernel drivers. + + Installation of Web-frontend + + + me-tv + me-tv + + -- cgit v1.2.3