summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2009-06-21 15:42:10 +0000
committerJoerg Bornkessel <hd_brummy@gentoo.org>2009-06-21 15:42:10 +0000
commiteb23a4958c2c78aadd9be8d1e8085cbddfd1f50b (patch)
tree5e3bcddc0f43f078c8f89d7a903976aad9cd0bf1
parentmedia-plugins/vdr-reelbox: EAPI 2 again (diff)
downloadtesting-eb23a4958c2c78aadd9be8d1e8085cbddfd1f50b.tar.gz
testing-eb23a4958c2c78aadd9be8d1e8085cbddfd1f50b.tar.bz2
testing-eb23a4958c2c78aadd9be8d1e8085cbddfd1f50b.zip
media-video/reelbox-ehd-driver: removed EHD_FRAMEBUFFER parameter, use from now /dev/fb_reel
svn path=/testing/; revision=600
-rw-r--r--media-video/reelbox-ehd-driver/ChangeLog5
-rw-r--r--media-video/reelbox-ehd-driver/Manifest7
-rw-r--r--media-video/reelbox-ehd-driver/files/45-reelbox.rules3
-rw-r--r--media-video/reelbox-ehd-driver/files/hdshm.conf2
-rw-r--r--media-video/reelbox-ehd-driver/reelbox-ehd-driver-12384-r1.ebuild (renamed from media-video/reelbox-ehd-driver/reelbox-ehd-driver-9302.ebuild)43
5 files changed, 51 insertions, 9 deletions
diff --git a/media-video/reelbox-ehd-driver/ChangeLog b/media-video/reelbox-ehd-driver/ChangeLog
index a641bcc..02d176e 100644
--- a/media-video/reelbox-ehd-driver/ChangeLog
+++ b/media-video/reelbox-ehd-driver/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 21 Jun 2009; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +files/45-reelbox.rules, -reelbox-ehd-driver-9302.ebuild,
+ +reelbox-ehd-driver-12384-r1.ebuild, +files/hdshm.conf:
+ removed EHD_FRAMEBUFFER parameter, use from now /dev/fb_reel
+
16 Jun 2009; Joerg Bornkessel <hd_brummy@gentoo.org>
reelbox-ehd-driver-12384.ebuild:
added missing ~amd64 keyword
diff --git a/media-video/reelbox-ehd-driver/Manifest b/media-video/reelbox-ehd-driver/Manifest
index 15b1d47..b1513eb 100644
--- a/media-video/reelbox-ehd-driver/Manifest
+++ b/media-video/reelbox-ehd-driver/Manifest
@@ -1,10 +1,11 @@
+AUX 45-reelbox.rules 122 RMD160 89320a9a9c898bcda3acdef86a32fa30b26f1bb3 SHA1 03deb930df7c3197dfe095e89e3e02fc2f157c7d SHA256 32881112dac67a5d95aebbc0eb6153390b0c780d59aef3d09b0afa49a7ff7143
+AUX hdshm.conf 24 RMD160 2d5bf3d2c2969212384d5c3f090ec6c675e97dd1 SHA1 ba6988b5c2f9e75df86286a8ce4ed094ec11cb49 SHA256 c98385aaacc8f03d943c397c3f333dc5a22e080f64c71a7291028c6faa32aa3a
DIST reelbox-ehd-driver-11210.tgz 57880 RMD160 744af10cf675d298a862c547d65a78c549e5cee2 SHA1 df697e496d46762b491e4e3e2e136b5f630ec465 SHA256 e0fdc81e7dec095a64182478f7deeead61ed6f476520599c60343ff0cd2ac9bc
DIST reelbox-ehd-driver-12133.tgz 57880 RMD160 0f6418269032470709daab2410315b680555da45 SHA1 75a098f4e9c1fd4f55b64c3d8f7755ec6e4a1ddf SHA256 cecbbc2e8475e36c6227b559be6f72b1bb0cbdbd942c076676508078c70ab931
DIST reelbox-ehd-driver-12384.tgz 55612 RMD160 1a668d432f8614c76795b292d63bdcea32cf32db SHA1 74cf706ac70b4b3c0c3b598d18aecf5b5ca56154 SHA256 94d6423f43917db43b6529be5270e6293b827a7109231154d09e10e671bb592f
-DIST reelbox-ehd-driver-9302.tgz 57482 RMD160 7be0eaaeb6e7871e03f00042dbd09cda253f4260 SHA1 c8618417ef4909acb9786138648489ed4cf8ed7e SHA256 194b94975446d6f72725a9e49f153f58d8335b39dc9d26ef0bd3ed7c23b99a0d
EBUILD reelbox-ehd-driver-11210.ebuild 1076 RMD160 8291b6fe36e860f62e819e8ab3c53b3100aafc64 SHA1 2e4521ba973906171b39737e70bed815d2998c07 SHA256 528bdb6e11f615cb1ac894a2e990b39765c59554652ba37a9d87798947ae1dcc
EBUILD reelbox-ehd-driver-12133.ebuild 1069 RMD160 d554ca7a8011d9371937a5e8cf31fa88a216c3aa SHA1 eecf0af054bccade81283c57881a3c319a852be5 SHA256 6e84f17cfc9c54a54d98653d1b94f3696a842d8e419b76af47b602c705e10612
+EBUILD reelbox-ehd-driver-12384-r1.ebuild 1433 RMD160 09f0f57371d311db7b6b5088a84cac2dfba59d1e SHA1 1e17811f2b657ab24261b2f83253552241df488b SHA256 7d56db9b2ffdfaeae2721f8fc8a59a76107b78de0b62aff3d43799b72bf39f7c
EBUILD reelbox-ehd-driver-12384.ebuild 1069 RMD160 d554ca7a8011d9371937a5e8cf31fa88a216c3aa SHA1 eecf0af054bccade81283c57881a3c319a852be5 SHA256 6e84f17cfc9c54a54d98653d1b94f3696a842d8e419b76af47b602c705e10612
-EBUILD reelbox-ehd-driver-9302.ebuild 885 RMD160 90b8fd2ac6891ff5b4d3155f5d40a3b101ddb764 SHA1 c0c34cc353c4e5219aec2f6bfc0ab27d7b83730b SHA256 ae786bc3c2c79a4fed73fd31001fc21531f47780880b6c31cac5b5fbb86204e3
-MISC ChangeLog 1189 RMD160 d964aa40d4b58c33a8d9dba940903be4191ac86c SHA1 546a07f572c440a4c8c51e58f86db3e5cec44fa5 SHA256 863832e4487c5e309245815030b1df3864f2c31b9ecd05b04c11e9613e25e36f
+MISC ChangeLog 1426 RMD160 c707857cd00518370464927cdc9be0c4340d0a6d SHA1 f3fd47456d851d96838e4f96f00c5a341a37b53c SHA256 744400099a2e47d9cfa3265a26df0d0b7d1d7ee65c8515dd497e64f70a29b931
MISC metadata.xml 352 RMD160 57a3a02b1c7da27ff3277627eed5645a1812adcc SHA1 15007ef9f352900614d270f14e511414f2669576 SHA256 54b2ad3aff6816a964885c849410e0e67777000713e98b776217b7d509ba0ad2
diff --git a/media-video/reelbox-ehd-driver/files/45-reelbox.rules b/media-video/reelbox-ehd-driver/files/45-reelbox.rules
new file mode 100644
index 0000000..6b982c7
--- /dev/null
+++ b/media-video/reelbox-ehd-driver/files/45-reelbox.rules
@@ -0,0 +1,3 @@
+# module hdshm create next free framebuffer device and add a symlink to fb_reel
+ATTR{name}=="hde_fb", SYMLINK+="fb_reel"
+
diff --git a/media-video/reelbox-ehd-driver/files/hdshm.conf b/media-video/reelbox-ehd-driver/files/hdshm.conf
new file mode 100644
index 0000000..2463749
--- /dev/null
+++ b/media-video/reelbox-ehd-driver/files/hdshm.conf
@@ -0,0 +1,2 @@
+options hdshm has_fb=1
+
diff --git a/media-video/reelbox-ehd-driver/reelbox-ehd-driver-9302.ebuild b/media-video/reelbox-ehd-driver/reelbox-ehd-driver-12384-r1.ebuild
index 92faadf..578b871 100644
--- a/media-video/reelbox-ehd-driver/reelbox-ehd-driver-9302.ebuild
+++ b/media-video/reelbox-ehd-driver/reelbox-ehd-driver-12384-r1.ebuild
@@ -2,7 +2,11 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit linux-mod eutils
+EAPI="2"
+
+RESTRICT="mirror"
+
+inherit linux-mod eutils multilib
DESCRIPTION="eHD PCI card; driver svn r${PV}"
HOMEPAGE="http://www.reel-multimedia.com"
@@ -10,10 +14,12 @@ SRC_URI="http://vdr.websitec.de/download/${PN}/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="~x86 ~amd64"
IUSE=""
-DEPEND=">=media-video/reelbox-ehd-bin-9224"
+DEPEND=""
+RDEPEND="${DEPEND}
+ >=sys-fs/udev-141"
S=${WORKDIR}/hdshm3
@@ -21,6 +27,7 @@ MODULE_NAMES="hdshm(misc:${S}/x86/driver)"
BUILD_TARGETS="all"
pkg_setup() {
+
if ! kernel_is 2 6; then
die "This package works only with 2.6 kernel!"
fi
@@ -30,9 +37,7 @@ pkg_setup() {
BUILD_PARAMS="INCLUDE=${KV_DIR}"
}
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
if kernel_is ge 2 6 26 ; then
sed -i "${S}"/src/driver/hdshm.c \
@@ -41,3 +46,29 @@ src_unpack() {
-e "s:class_device_destroy:device_destroy:"
fi
}
+
+src_install() {
+ linux-mod_src_install
+
+ insinto $(get_libdir)/udev/rules.d
+ doins "${FILESDIR}"/45-reelbox.rules
+
+ insinto /etc/modprobe.d
+ doins "${FILESDIR}"/hdshm.conf
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ OLD_PARAM=$( cat /etc/make.conf | grep EHD_FRAMEBUFFER )
+
+ if [ -n "${OLD_PARAM}" ]; then
+ echo
+ elog "The EHD_FRAMEBUFFER= parameter in /etc/make.conf is deprecated."
+ elog "You can safely remove it."
+ fi
+ echo
+ elog "Use for your scripts, progs, ..."
+ elog "the device /dev/fb_reel"
+ echo
+}