summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-11 19:34:20 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-11 19:34:20 +0000
commite141dacad44b18359fc04e2d375003ab91c19823 (patch)
tree659882daeeda40e8de6d6c1d9600980cd1480191 /media-sound/alsa-driver
parentVersion bump. (diff)
downloadgentoo-2-e141dacad44b18359fc04e2d375003ab91c19823.tar.gz
gentoo-2-e141dacad44b18359fc04e2d375003ab91c19823.tar.bz2
gentoo-2-e141dacad44b18359fc04e2d375003ab91c19823.zip
Version bump.
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'media-sound/alsa-driver')
-rw-r--r--media-sound/alsa-driver/ChangeLog8
-rw-r--r--media-sound/alsa-driver/Manifest6
-rw-r--r--media-sound/alsa-driver/alsa-driver-1.0.11_rc5.ebuild167
-rw-r--r--media-sound/alsa-driver/files/digest-alsa-driver-1.0.11_rc53
4 files changed, 183 insertions, 1 deletions
diff --git a/media-sound/alsa-driver/ChangeLog b/media-sound/alsa-driver/ChangeLog
index 819348e4ff24..b58bab1effbf 100644
--- a/media-sound/alsa-driver/ChangeLog
+++ b/media-sound/alsa-driver/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/alsa-driver
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/ChangeLog,v 1.202 2006/03/25 12:08:43 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/ChangeLog,v 1.203 2006/04/11 19:34:20 flameeyes Exp $
+
+*alsa-driver-1.0.11_rc5 (11 Apr 2006)
+
+ 11 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +alsa-driver-1.0.11_rc5.ebuild:
+ Version bump.
25 Mar 2006; Simon Stelling <blubb@gentoo.org>
alsa-driver-1.0.11_rc4.ebuild:
diff --git a/media-sound/alsa-driver/Manifest b/media-sound/alsa-driver/Manifest
index ad13b0cf1d7b..e59a979aeb2f 100644
--- a/media-sound/alsa-driver/Manifest
+++ b/media-sound/alsa-driver/Manifest
@@ -10,6 +10,9 @@ SHA256 bf5ede710428f340a046aca1e8448e0c0363ac25346323d3d5ac3338de4cd09e alsa-dri
MD5 60c719c894533fe39e30bbab38e9f73a alsa-driver-1.0.11_rc4.ebuild 4758
RMD160 559797866ec2ad0a7be93bc281ee01b2c0759c55 alsa-driver-1.0.11_rc4.ebuild 4758
SHA256 5ea2837c6fe9b6a6c7df945e5fd297e4c5da0c33822d510fc329b573c7464559 alsa-driver-1.0.11_rc4.ebuild 4758
+MD5 60c719c894533fe39e30bbab38e9f73a alsa-driver-1.0.11_rc5.ebuild 4758
+RMD160 559797866ec2ad0a7be93bc281ee01b2c0759c55 alsa-driver-1.0.11_rc5.ebuild 4758
+SHA256 5ea2837c6fe9b6a6c7df945e5fd297e4c5da0c33822d510fc329b573c7464559 alsa-driver-1.0.11_rc5.ebuild 4758
MD5 075d7776dfb62176431e206a9cd5fc84 files/alsa-driver-1.0.10-gfp-flags.patch 955
RMD160 ed4d383d6608110c5c3a7ebef2a0fc636ea77d82 files/alsa-driver-1.0.10-gfp-flags.patch 955
SHA256 f7976e121aad036e11550212b26f2d4568cc688687e950bcdc14ef5932f3eb66 files/alsa-driver-1.0.10-gfp-flags.patch 955
@@ -28,6 +31,9 @@ SHA256 53dc683ef507689fecbe33ff0615deb88adf131799241ee655ac281a1978c20b files/di
MD5 09e9346d55ab2091eba9aa5c52fc5270 files/digest-alsa-driver-1.0.11_rc4 271
RMD160 8cdbc46bd08d711c2d6c1e46c64b209eb5ab550a files/digest-alsa-driver-1.0.11_rc4 271
SHA256 a2d1c5b0dff007ee76f6ad487d5938bb3a82ef3657c66615db07e4b4a4aa9efa files/digest-alsa-driver-1.0.11_rc4 271
+MD5 0a6446e4d78eea67548ef389b87581a7 files/digest-alsa-driver-1.0.11_rc5 271
+RMD160 f820669b70b58507dc69740e3648ab0ae0348824 files/digest-alsa-driver-1.0.11_rc5 271
+SHA256 40cf5da27580788064d53a1e8572c0039f436aa133e2de97ffea684ca20d7a77 files/digest-alsa-driver-1.0.11_rc5 271
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e metadata.xml 158
SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b metadata.xml 158
diff --git a/media-sound/alsa-driver/alsa-driver-1.0.11_rc5.ebuild b/media-sound/alsa-driver/alsa-driver-1.0.11_rc5.ebuild
new file mode 100644
index 000000000000..f41c28560f3e
--- /dev/null
+++ b/media-sound/alsa-driver/alsa-driver-1.0.11_rc5.ebuild
@@ -0,0 +1,167 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/alsa-driver-1.0.11_rc5.ebuild,v 1.1 2006/04/11 19:34:20 flameeyes Exp $
+
+inherit linux-mod flag-o-matic eutils multilib
+
+MY_P="${P/_rc/rc}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="Advanced Linux Sound Architecture kernel modules"
+HOMEPAGE="http://www.alsa-project.org/"
+SRC_URI="mirror://alsaproject/driver/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+
+KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~x86"
+IUSE="oss doc debug"
+
+RDEPEND="virtual/modutils
+ ~media-sound/alsa-headers-${PV}"
+DEPEND="${RDEPEND}
+ virtual/linux-sources
+ sparc? ( >=sys-devel/autoconf-2.50 )
+ sys-apps/debianutils"
+
+PROVIDE="virtual/alsa"
+
+pkg_setup() {
+ # By default, drivers for all supported cards will be compiled.
+ # If you want to only compile for specific card(s), set ALSA_CARDS
+ # environment to a space-separated list of drivers that you want to build.
+ # For example:
+ #
+ # env ALSA_CARDS='emu10k1 intel8x0 ens1370' emerge alsa-driver
+ #
+ ALSA_CARDS=${ALSA_CARDS:-all}
+
+ # Which drivers need PNP
+ local PNP_DRIVERS="interwave interwave-stb"
+
+ CONFIG_CHECK="SOUND"
+ SND_ERROR="ALSA is already compiled into the kernel."
+ SOUND_ERROR="Your kernel doesn't have sound support enabled."
+ SOUND_PRIME_ERROR="Your kernel is configured to use the deprecated OSS drivers. Please disable them and re-emerge alsa-driver."
+ PNP_ERROR="Some of the drivers you selected require PNP in your kernel (${PNP_DRIVERS}). Either enable PNP in your kernel or trim which drivers get compiled using ALSA_CARDS in /etc/make.conf."
+
+ if [[ "${ALSA_CARDS}" == "all" ]]; then
+
+ # Ignore PNP checks for ppc architecture, as PNP can't be enabled there.
+ if [[ ${ARCH} != "ppc" ]]; then
+ CONFIG_CHECK="${CONFIG_CHECK} PNP"
+ fi
+ else
+ for pnpdriver in ${PNP_DRIVERS}; do
+ hasq ${pnpdriver} ${ALSA_CARDS} && CONFIG_CHECK="${CONFIG_CHECK} PNP"
+ done
+ fi
+
+ linux-mod_pkg_setup
+
+ if [[ ${PROFILE_ARCH} == "sparc64" ]] ; then
+ export CBUILD=${CBUILD-${CHOST}}
+ export CHOST="sparc64-unknown-linux-gnu"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+
+ epatch "${FILESDIR}"/${PN}-1.0.10_rc1-include.patch
+
+ convert_to_m ${S}/Makefile
+ sed -i -e 's:\(.*depmod\):#\1:' ${S}/Makefile
+}
+
+src_compile() {
+ local myABI=${ABI:-${DEFAULT_ABI}}
+
+ # Should fix bug #46901
+ is-flag "-malign-double" && filter-flags "-fomit-frame-pointer"
+ append-flags "-I${KV_DIR}/arch/$(tc-arch-kernel)/include"
+
+ econf $(use_with oss) \
+ $(use_with debug debug full) \
+ --with-kernel="${KV_DIR}" \
+ --with-build="${KV_OUT_DIR}" \
+ --with-isapnp=yes \
+ --with-sequencer=yes \
+ --with-cards="${ALSA_CARDS}" || die "econf failed"
+
+ # linux-mod_src_compile doesn't work well with alsa
+
+ ARCH=$(tc-arch-kernel)
+ ABI=${KERNEL_ABI}
+ # -j1 : see bug #71028
+ emake -j1 HOSTCC=$(tc-getBUILD_CC) CC=$(tc-getCC) || die "Make Failed"
+ ARCH=$(tc-arch)
+ ABI=${myABI}
+
+ if use doc;
+ then
+ ebegin "Building Documentation"
+ cd ${S}/scripts
+ emake || die Failed making docs in ${S}/scripts
+
+ cd ${S}/doc/DocBook
+ emake || die Failed making docs in ${S}/doc/DocBook
+ eend $?
+ fi
+}
+
+
+src_install() {
+ make DESTDIR=${D} install-modules || die "make install failed"
+
+ dodoc CARDS-STATUS FAQ README WARNING TODO
+
+ if use doc; then
+ docinto doc
+ dodoc doc/*
+ rm ${D}/usr/share/doc/${PF}/doc/Makefile.gz
+
+ docinto DocBook
+ dodoc doc/DocBook/*
+ rm ${D}/usr/share/doc/${PF}/DocBook/Makefile.gz
+
+ docinto Documentation
+ dodoc sound/Documentation/*
+ fi
+
+ if kernel_is 2 6; then
+ # mv the drivers somewhere they won't be killed by the kernel's make modules_install
+ mv ${D}/lib/modules/${KV_FULL}/kernel/sound ${D}/lib/modules/${KV_FULL}/${PN}
+ rmdir ${D}/lib/modules/${KV_FULL}/kernel &> /dev/null
+ fi
+}
+
+pkg_postinst() {
+ einfo
+ einfo "The alsasound initscript and modules.d/alsa have now moved to alsa-utils"
+ einfo
+ einfo "Also, remember that all mixer channels will be MUTED by default."
+ einfo "Use the 'alsamixer' program to unmute them."
+ einfo
+ einfo "Version 1.0.3 and above should work with version 2.6 kernels."
+ einfo "If you experience problems, please report bugs to http://bugs.gentoo.org."
+ einfo
+
+ linux-mod_pkg_postinst
+
+ einfo "Check out the ALSA installation guide availible at the following URL:"
+ einfo "http://www.gentoo.org/doc/en/alsa-guide.xml"
+
+ if kernel_is 2 6 && [ -e ${ROOT}/lib/modules/${KV_FULL}/kernel/sound ]; then
+ # Cleanup if they had older alsa installed
+ for file in $(find ${ROOT}/lib/modules/${KV_FULL}/${PN} -type f); do
+ rm -f ${file//${KV_FULL}\/${PN}/${KV_FULL}\/kernel\/sound}
+ done
+
+ for dir in $(find ${ROOT}/lib/modules/${KV_FULL}/kernel/sound -type d | tac); do
+ rmdir ${dir} &> /dev/null
+ done
+ fi
+}
diff --git a/media-sound/alsa-driver/files/digest-alsa-driver-1.0.11_rc5 b/media-sound/alsa-driver/files/digest-alsa-driver-1.0.11_rc5
new file mode 100644
index 000000000000..e0ed610a2b47
--- /dev/null
+++ b/media-sound/alsa-driver/files/digest-alsa-driver-1.0.11_rc5
@@ -0,0 +1,3 @@
+MD5 2b36ba8a68b4a5cf593893683547cfb7 alsa-driver-1.0.11rc5.tar.bz2 2341730
+RMD160 9972e9c38db43ab8f61b3f22575ce49f59096bb2 alsa-driver-1.0.11rc5.tar.bz2 2341730
+SHA256 6270e9b565f006e6cf2fab554ff876dfbe9033daddcc89de9d7cbc6f5809f7be alsa-driver-1.0.11rc5.tar.bz2 2341730