initial commit, taken from vdr-devel overlay
authorJoerg Bornkessel <hd_brummy@gentoo.org>
Fri, 20 Feb 2015 12:59:34 +0000 (12:59 +0000)
committerJoerg Bornkessel <hd_brummy@gentoo.org>
Fri, 20 Feb 2015 12:59:34 +0000 (12:59 +0000)
Package-Manager: portage-2.2.17/cvs/Linux x86_64
Manifest-Sign-Key: 0x34C2808A

media-plugins/vdr-dvbapi/ChangeLog [new file with mode: 0644]
media-plugins/vdr-dvbapi/Manifest [new file with mode: 0644]
media-plugins/vdr-dvbapi/metadata.xml [new file with mode: 0644]
media-plugins/vdr-dvbapi/vdr-dvbapi-2.1.1.ebuild [new file with mode: 0644]

diff --git a/media-plugins/vdr-dvbapi/ChangeLog b/media-plugins/vdr-dvbapi/ChangeLog
new file mode 100644 (file)
index 0000000..5a93955
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for media-plugins/vdr-dvbapi
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-dvbapi/ChangeLog,v 1.1 2015/02/20 12:59:31 hd_brummy Exp $
+
+*vdr-dvbapi-2.1.1 (20 Feb 2015)
+
+  20 Feb 2015; Joerg Bornkessel <hd_brummy@gentoo.org>
+  +vdr-dvbapi-2.1.1.ebuild, +metadata.xml:
+  initial commit, taken from vdr-devel overlay
+
diff --git a/media-plugins/vdr-dvbapi/Manifest b/media-plugins/vdr-dvbapi/Manifest
new file mode 100644 (file)
index 0000000..d6d464b
--- /dev/null
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST vdr-dvbapi-2.1.1.tar.gz 82813 SHA256 2724768de00a607d7119478296a3ad1cc592c12badbc95480edc5f7e6b3985d7 SHA512 fb632e66c9e477663eb1edf5e630a20b2165495c89d5bd6294d74d6a28c8386021d90914c9c6b958ea3c5c1d0958cc69efa5c65ef72c510c224d676f1eca39ae WHIRLPOOL af18c22bb00ddbb41aa8e3ee091f27a1bb7b79f0d90783af9c9503ad03a568193c88cc41db86e0e06fd8c503ad43242a582b0decc5f64c417283517f05d14727
+EBUILD vdr-dvbapi-2.1.1.ebuild 2656 SHA256 66f7b058c1ca0d69fb89190bea0372417e0f06a5a731472894269975191a3178 SHA512 0a51c3c857dff08ad74e35f4a6d05f5a3085f10dbb1e85e1befb6074258a68c76e4e2d848ea6ba8aaefd4fd55a89343654055be31cbe514e77320e736b33fa8c WHIRLPOOL 88ec8cbc599ab67eae4c9abd669b7e00bfd1cce1d9139677bc266a48998502044796d56b502c42897b0edfff78c7c8be9bce28c270234cd2f37df9b802533161
+MISC ChangeLog 403 SHA256 64019a998070b477d424f03aa4c7a5735c13c37b703e0c9371e721fbdeedfbd9 SHA512 34731d4c656b73abc259f9932aa774c2932ba1e667743c1ad05a1f5b53d6c958104a8422fc10f7cb36f20fe4bee82949567cc4fb7687a46e4ce6240951b985f2 WHIRLPOOL b5f30fe13669fd2eeaff89bca8d32565ec398c1b16d58e64b0e1a689701208c3befded1dcdb080080c02ef9c966bc04ef4fc05be2aeecad2d0c032b2491b3bb7
+MISC metadata.xml 264 SHA256 671b87413541c72949a6fdaa59ade4d488b898f2540128f4910b279e83d795a7 SHA512 7c79a0da0ffd5eb50f42c9f131614e18cdad2ddd3be949e7a745cdf6003fd16a32425b292dedb072bd35bdb52b2ae74df0ee66e2add047f6af4f36d5eb40cc8e WHIRLPOOL 8f3360e510cfbb81c1936f126c16f8a1ecd17366f68272c7123613e722e895ff362f9c314f71399ff67185b29d4d32ab81fe79647559f51232630edefc15aba8
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+Comment: added by hd_brummy@gentoo.org
+
+iD8DBQFU5y+0dn07HTTCgIoRCPhaAJ98Sey49IK/fRFTEumXtjixoskcZQCgpLNR
+nkuuIqlf+JwbI0WPrAuwV38=
+=4HNF
+-----END PGP SIGNATURE-----
diff --git a/media-plugins/vdr-dvbapi/metadata.xml b/media-plugins/vdr-dvbapi/metadata.xml
new file mode 100644 (file)
index 0000000..7995e64
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd>media-tv</herd>
+               <maintainer>
+                       <email>hd_brummy@gentoo.org</email>
+               <name>Joerg Bornkessel</name>
+       </maintainer>
+</pkgmetadata>
+
diff --git a/media-plugins/vdr-dvbapi/vdr-dvbapi-2.1.1.ebuild b/media-plugins/vdr-dvbapi/vdr-dvbapi-2.1.1.ebuild
new file mode 100644 (file)
index 0000000..73ff793
--- /dev/null
@@ -0,0 +1,78 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-dvbapi/vdr-dvbapi-2.1.1.ebuild,v 1.1 2015/02/20 12:59:31 hd_brummy Exp $
+
+EAPI=5
+
+inherit vdr-plugin-2
+
+DESCRIPTION="VDR Plugin: allows connect VDR to OScam"
+HOMEPAGE="https://github.com/manio/vdr-plugin-dvbapi"
+SRC_URI="https://github.com/manio/vdr-plugin-dvbapi/archive/v${PV}.tar.gz -> vdr-dvbapi-${PV}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE="cpu_flags_x86_3dnow cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2"
+
+DEPEND=">=media-video/vdr-2.1.4"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/vdr-plugin-dvbapi-${PV}"
+
+src_prepare() {
+       vdr-plugin-2_src_prepare
+
+       # respect the system CXXFLAGS
+       sed -e "s:FLAGS:CXXFLAGS:" -i FFdecsa/Makefile
+
+       # Prepare flags for FFdeCSA
+       if [ -n "${VDR_DVBAPI_PARALLEL}" ]; then
+               PARALLEL="${VDR_DVBAPI_PARALLEL}"
+       else
+               # [32/64] Core2 (SSSE3) achieves best results with SSE2 & SSE
+               # [64] Athlon64 (SSE2) does much better with 64_LONG
+               # [32] Athlon64 (SSE2) does best with MMX
+               # [32] Pentium4 & Atom (SSE2) work best with SSE2 & SSE
+               # [32] AthlonXP (SSE) has MMX faster
+
+               # To avoid parsing -march=, we use ugly assumption that Intels don't
+               # have 3dnow and AMDs do. SSE achieves good results only on Intel CPUs,
+               # and LONG is best on 64-bit AMD CPUs.
+
+               if ! use cpu_flags_x86_3dnow && use cpu_flags_x86_sse2; then
+                       PARALLEL=PARALLEL_128_SSE2
+               elif ! use cpu_flags_x86_3dnow && use cpu_flags_x86_sse; then
+                       PARALLEL=PARALLEL_128_SSE
+               elif use amd64; then
+                       PARALLEL=PARALLEL_64_LONG
+               elif use cpu_flags_x86_mmx; then
+                       PARALLEL=PARALLEL_64_MMX
+               else
+               # fallback values:
+               # PARALLEL_32_INT fails with gcc4.4 on x86&amd64
+               # PARALLEL_64_2INT fails with gcc4.4 on x86
+               # PARALLEL_128_4INT seems to be the fastest non-failing fallback
+                       PARALLEL=PARALLEL_128_4INT
+               fi
+
+               ewarn "VDR_DVBAPI_PARALLEL in your system make.conf is not set, guessing value from USEflags (${PARALLEL})."
+               ewarn "This setting may be suboptimal, so you'll probably want to tweak it yourself."
+               ewarn "\n\tRun the script ${WORKDIR}/extra/FFdecsa-benchmark.sh"
+               ewarn "\tand add the output parameter from  PARALLEL= to your system make.conf"
+               ewarn "\tVDR_DVBAPI_PARALLEL= your parameter"
+       fi
+
+       export PARALLEL
+}
+
+pkg_postinst() {
+       vdr-plugin-2_pkg_postinst
+
+       elog "This software might be illegal in some countries or violate"
+       elog "rules of your DVB provider"
+       elog "Please respect these rules.\n"
+
+       elog "We do not offer support of any kind"
+       elog "Asking for keys or for installation help will be ignored by gentoo developers!\n"
+}