diff options
-rw-r--r-- | media-tv/userspace-tuner-hg/ChangeLog | 8 | ||||
-rw-r--r-- | media-tv/userspace-tuner-hg/Manifest | 11 | ||||
-rw-r--r-- | media-tv/userspace-tuner-hg/files/digest-userspace-tuner-hg-0.1 | 0 | ||||
-rw-r--r-- | media-tv/userspace-tuner-hg/userspace-tuner-hg-0.1.ebuild | 84 |
4 files changed, 103 insertions, 0 deletions
diff --git a/media-tv/userspace-tuner-hg/ChangeLog b/media-tv/userspace-tuner-hg/ChangeLog new file mode 100644 index 0000000..07d8b39 --- /dev/null +++ b/media-tv/userspace-tuner-hg/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for media-tv/userspace-tuner-hg +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 08 Oct 2007; Matthias Schwarzott <zzam@gentoo.org> + +userspace-tuner-hg-0.1.ebuild: + Added ebuild initially written by Zoltan Karcagi <zkr@chello.hu>. + diff --git a/media-tv/userspace-tuner-hg/Manifest b/media-tv/userspace-tuner-hg/Manifest new file mode 100644 index 0000000..32c2bc1 --- /dev/null +++ b/media-tv/userspace-tuner-hg/Manifest @@ -0,0 +1,11 @@ +EBUILD userspace-tuner-hg-0.1.ebuild 1910 RMD160 9f2672cd1a911e00a8382212a4695706559840ab SHA1 99f69425614b03a9bc9261368d718b653cb44169 SHA256 7975945c92cd9ea70fc1b3ec75c5ab38370b0851ac4d3cd67b57115ea897deec +MD5 b837dde59ea658df4f28ecfe3dc8b11f userspace-tuner-hg-0.1.ebuild 1910 +RMD160 9f2672cd1a911e00a8382212a4695706559840ab userspace-tuner-hg-0.1.ebuild 1910 +SHA256 7975945c92cd9ea70fc1b3ec75c5ab38370b0851ac4d3cd67b57115ea897deec userspace-tuner-hg-0.1.ebuild 1910 +MISC ChangeLog 284 RMD160 5aada196d5ea08633f9aef8f9901c29baef3c6aa SHA1 89d0151f8e1ca16c274b561f03f1f0dfd8416367 SHA256 41b5ef0d6ec1611d3b9e63eaf2bc21fe2dedae1381214005254707da3510749a +MD5 03cbb3675d3e4aa73376eddbc2802484 ChangeLog 284 +RMD160 5aada196d5ea08633f9aef8f9901c29baef3c6aa ChangeLog 284 +SHA256 41b5ef0d6ec1611d3b9e63eaf2bc21fe2dedae1381214005254707da3510749a ChangeLog 284 +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-userspace-tuner-hg-0.1 0 +RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-userspace-tuner-hg-0.1 0 +SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-userspace-tuner-hg-0.1 0 diff --git a/media-tv/userspace-tuner-hg/files/digest-userspace-tuner-hg-0.1 b/media-tv/userspace-tuner-hg/files/digest-userspace-tuner-hg-0.1 new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/media-tv/userspace-tuner-hg/files/digest-userspace-tuner-hg-0.1 diff --git a/media-tv/userspace-tuner-hg/userspace-tuner-hg-0.1.ebuild b/media-tv/userspace-tuner-hg/userspace-tuner-hg-0.1.ebuild new file mode 100644 index 0000000..64e478e --- /dev/null +++ b/media-tv/userspace-tuner-hg/userspace-tuner-hg-0.1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils linux-mod mercurial + +DESCRIPTION="Live development version of the userspace-tuner project" +HOMEPAGE="http://mcentral.de/wiki/index.php/Userspace_tuner" +SRC_URI="" +EHG_REPO_URI="http://mcentral.de/hg/~mrec/userspace-tuner" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" +DEPEND="" +RDEPEND="sys-fs/udev" +S="${WORKDIR}/userspace-tuner" + +pkg_setup() { + + MODULE_NAMES="tuner-stub(kernel/drivers/media/userspace:${S}/kernel)" + BUILD_TARGETS="all" + + linux-mod_pkg_setup + + BUILD_PARAMS="KDIR=${KV_DIR}" +} + +src_unpack() { + + mercurial_src_unpack + cd "${S}" + EPATCH_SUFFIX="patch" + epatch "${FILESDIR}" +} + +src_compile() { + + cd "${S}/kernel" + linux-mod_src_compile || die "failed to build kernel module" + + cd "${S}/userspace" + emake INCDIR="${KV_DIR}/include" || die "failed to build tuner daemon" +} + +src_install() { + + cd "${S}/kernel" + linux-mod_src_install || die "failed to install kernel module" + + cd "${S}/userspace" + make DESTDIR="${D}" install || die "failed to install tuner daemon" + + newinitd ${S}/init.d/gentoo-tuner-daemon tuner-daemon + newconfd ${S}/conf.d/tuner-daemon tuner-daemon + + insinto /etc/udev/rules.d + doins ${S}/udev/80-tuner.rules + + cd "${S}" + dodoc README* +} + +pkg_postinst() { + + linux-mod_pkg_postinst + + elog "" + elog "Currently supported tuners:" + elog "- Xceive XC2028, XC3028" + elog "" + elog "The /etc/init.d/tuner-daemon script does NOT have to be" + elog "added to any of the runlevels via rc-update, it will" + elog "be started by udev on demand." + elog "" + ewarn "WARNING: This work is highly experimental at the moment!" + ewarn "" + ewarn "Your TV-card's in-kernel driver has to be modified" + ewarn "to properly interface with this software." + ewarn "" + ewarn "For more information, see the project's homepage at:" + ewarn "${HOMEPAGE}" + ewarn "" +} |