summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-11-09 13:32:05 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-11-09 13:32:05 +0000
commiteeee98ec9665af0917f2a18f12f273d87dc10b4b (patch)
tree2c4f67f7109aec6530e2b42e9a1b0d0bbe0324f2 /media-sound/xfi-drivers
parentStable on ppc wrt bug 245436 (diff)
downloadgentoo-2-eeee98ec9665af0917f2a18f12f273d87dc10b4b.tar.gz
gentoo-2-eeee98ec9665af0917f2a18f12f273d87dc10b4b.tar.bz2
gentoo-2-eeee98ec9665af0917f2a18f12f273d87dc10b4b.zip
Initial commit, ebuild by me. I don't have hardware for this, so anyone who does is free to take over maintaining this. Will be punted when the code has been integrated into upstream kernel. May eat cats, dogs and other pets, use at your own peril.
(Portage version: 2.2_rc13/cvs/Linux 2.6.27 x86_64)
Diffstat (limited to 'media-sound/xfi-drivers')
-rw-r--r--media-sound/xfi-drivers/ChangeLog13
-rw-r--r--media-sound/xfi-drivers/metadata.xml10
-rw-r--r--media-sound/xfi-drivers/xfi-drivers-1.00.ebuild36
3 files changed, 59 insertions, 0 deletions
diff --git a/media-sound/xfi-drivers/ChangeLog b/media-sound/xfi-drivers/ChangeLog
new file mode 100644
index 000000000000..ff4c4a9239f8
--- /dev/null
+++ b/media-sound/xfi-drivers/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for media-sound/xfi-drivers
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/xfi-drivers/ChangeLog,v 1.1 2008/11/09 13:32:05 loki_val Exp $
+
+*xfi-drivers-1.00 (09 Nov 2008)
+
+ 09 Nov 2008; Peter Alfredsen <loki_val@gentoo.org> +metadata.xml,
+ +xfi-drivers-1.00.ebuild:
+ Initial commit, ebuild by me. I don't have hardware for this, so anyone
+ who does is free to take over maintaining this. Will be punted when the
+ code has been integrated into upstream kernel. May eat cats, dogs and
+ other pets, use at your own peril.
+
diff --git a/media-sound/xfi-drivers/metadata.xml b/media-sound/xfi-drivers/metadata.xml
new file mode 100644
index 000000000000..59887091da87
--- /dev/null
+++ b/media-sound/xfi-drivers/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>loki_val@gentoo.org</email>
+ <name>Peter Alfredsen</name>
+ <description>free-for-all, please bump and fix</description>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-sound/xfi-drivers/xfi-drivers-1.00.ebuild b/media-sound/xfi-drivers/xfi-drivers-1.00.ebuild
new file mode 100644
index 000000000000..c65a17a67031
--- /dev/null
+++ b/media-sound/xfi-drivers/xfi-drivers-1.00.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/xfi-drivers/xfi-drivers-1.00.ebuild,v 1.1 2008/11/09 13:32:05 loki_val Exp $
+
+inherit linux-mod
+
+MY_PN=XFiDrv_Linux_Public_US
+MY_P=${MY_PN}_${PV}
+
+DESCRIPTION="Driver for the XFI-series Creative sound cards"
+HOMEPAGE="http://www.creative.com/"
+SRC_URI="http://files.creative.com/manualdn/Drivers/AVP/10792/0x0343D29A/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="debug"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+MODULE_NAMES="ctxfi(sound:${S}:${S})"
+BUILD_TARGETS="all"
+BUILD_PARAMS="$(use debug&&echo DEBUG=y)"
+CONFIG_CHECK="SND SND_DRIVERS SND_PCI SOUND"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -r -i -e 's/KERNELDIR/KERNEL_DIR/g' \
+ -e 's/CFLAGS/EXTRA_CFLAGS/' \
+ Makefile
+}