diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-02-26 16:07:27 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-02-26 16:07:27 +0000 |
commit | 74c4027ce15804571e09f6c7ac7cd161b4939853 (patch) | |
tree | 049fdf9a4197681f0877453b3fac55ebe11ce6df /media-video | |
parent | Set custom lib dir, bug 306595 (diff) | |
download | gentoo-2-74c4027ce15804571e09f6c7ac7cd161b4939853.tar.gz gentoo-2-74c4027ce15804571e09f6c7ac7cd161b4939853.tar.bz2 gentoo-2-74c4027ce15804571e09f6c7ac7cd161b4939853.zip |
Version bump.
(Portage version: 2.2_rc63/cvs/Linux x86_64)
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/em8300-modules/ChangeLog | 10 | ||||
-rw-r--r-- | media-video/em8300-modules/em8300-modules-0.18.0.ebuild | 63 |
2 files changed, 71 insertions, 2 deletions
diff --git a/media-video/em8300-modules/ChangeLog b/media-video/em8300-modules/ChangeLog index e8280f7f8159..a520e06709f3 100644 --- a/media-video/em8300-modules/ChangeLog +++ b/media-video/em8300-modules/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-video/em8300-modules -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-modules/ChangeLog,v 1.51 2009/11/16 14:35:45 zzam Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-modules/ChangeLog,v 1.52 2010/02/26 16:07:27 ssuominen Exp $ + +*em8300-modules-0.18.0 (26 Feb 2010) + + 26 Feb 2010; Samuli Suominen <ssuominen@gentoo.org> + +em8300-modules-0.18.0.ebuild: + Version bump. *em8300-modules-0.17.4 (16 Nov 2009) diff --git a/media-video/em8300-modules/em8300-modules-0.18.0.ebuild b/media-video/em8300-modules/em8300-modules-0.18.0.ebuild new file mode 100644 index 000000000000..062d6e43b4ca --- /dev/null +++ b/media-video/em8300-modules/em8300-modules-0.18.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-modules/em8300-modules-0.18.0.ebuild,v 1.1 2010/02/26 16:07:27 ssuominen Exp $ + +EAPI=2 +inherit linux-mod + +MY_P=${P/-modules} + +DESCRIPTION="em8300 (RealMagic Hollywood+/Creative DXR3) video decoder card kernel modules" +HOMEPAGE="http://dxr3.sourceforge.net" +SRC_URI="mirror://sourceforge/dxr3/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="" +DEPEND="virtual/linux-sources" + +CONFIG_CHECK="I2C_ALGOBIT" +MODULE_NAMES="em8300(video:) bt865(video:) adv717x(video:)" + +S=${WORKDIR}/${MY_P}/modules + +src_compile() { + set_arch_to_kernel + emake KERNEL_LOCATION="${KERNEL_DIR}" || die +} + +src_install() { + linux-mod_src_install + + dodoc README-modoptions README-modules.conf + + newsbin devices.sh em8300-devices.sh + + insinto /etc/modprobe.d + newins "${FILESDIR}"/modules.em8300 em8300.conf + + insinto /etc/udev/rules.d + newins em8300-udev.rules 15-em8300.rules +} + +pkg_preinst() { + linux-mod_pkg_preinst + + local old1="${ROOT}/etc/modprobe.d/em8300" + local old2="${ROOT}/etc/modules.d/em8300" + local new="${ROOT}/etc/modprobe.d/em8300.conf" + + if [[ ! -a ${new} ]]; then + if [[ -a ${old1} ]]; then + elog "Renaming em8300-modprobe configuration to em8300.conf" + mv "${old1}" "${new}" + elif [[ -a ${old2} ]]; then + elog "Moving old em8300 configuration in /etc/modules.d to new" + elog "location in /etc/modprobe.d" + mv "${old2}" "${new}" + fi + fi +} |