summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2007-08-10 11:50:00 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2007-08-10 11:50:00 +0000
commitb0ee5d9374e0bccfbbd5fbc09f441a4d830a2740 (patch)
treecde5f23d3d12497d9d039e050234c56fd5291804 /media-libs/libnjb
parentalpha/x86 stable wrt security #162171 (diff)
downloadhistorical-b0ee5d9374e0bccfbbd5fbc09f441a4d830a2740.tar.gz
historical-b0ee5d9374e0bccfbbd5fbc09f441a4d830a2740.tar.bz2
historical-b0ee5d9374e0bccfbbd5fbc09f441a4d830a2740.zip
Install udev rules wrt bug 137728.
Package-Manager: portage-2.1.3.3
Diffstat (limited to 'media-libs/libnjb')
-rw-r--r--media-libs/libnjb/ChangeLog8
-rw-r--r--media-libs/libnjb/Manifest19
-rw-r--r--media-libs/libnjb/files/digest-libnjb-2.2.5-r13
-rw-r--r--media-libs/libnjb/files/libnjb.rules35
-rw-r--r--media-libs/libnjb/libnjb-2.2.5-r1.ebuild32
5 files changed, 92 insertions, 5 deletions
diff --git a/media-libs/libnjb/ChangeLog b/media-libs/libnjb/ChangeLog
index 6f927fd5d7d8..2297ca8ec164 100644
--- a/media-libs/libnjb/ChangeLog
+++ b/media-libs/libnjb/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/libnjb
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libnjb/ChangeLog,v 1.35 2007/02/17 01:01:19 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libnjb/ChangeLog,v 1.36 2007/08/10 11:50:00 drac Exp $
+
+*libnjb-2.2.5-r1 (10 Aug 2007)
+
+ 10 Aug 2007; Samuli Suominen <drac@gentoo.org> +files/libnjb.rules,
+ +libnjb-2.2.5-r1.ebuild:
+ Install udev rules wrt bug 137728.
17 Feb 2007; Diego Pettenò <flameeyes@gentoo.org>
-files/libnjb-1.2-gentoo-multilib.patch,
diff --git a/media-libs/libnjb/Manifest b/media-libs/libnjb/Manifest
index b152d2f2c93a..8cf4a5aa9a7c 100644
--- a/media-libs/libnjb/Manifest
+++ b/media-libs/libnjb/Manifest
@@ -1,3 +1,7 @@
+AUX libnjb.rules 1773 RMD160 ccdf63f4b9e366ffa574aff02be47a93a1052a97 SHA1 1371cc0fd16a45c627f70e4a035c085cb0510cb6 SHA256 6343c2915a2ac6d9a098413905cab2480b9f8edc5bdaf85de4d9b5305cae9494
+MD5 9b31a29a3721f4371f3f5a5c0376ecea files/libnjb.rules 1773
+RMD160 ccdf63f4b9e366ffa574aff02be47a93a1052a97 files/libnjb.rules 1773
+SHA256 6343c2915a2ac6d9a098413905cab2480b9f8edc5bdaf85de4d9b5305cae9494 files/libnjb.rules 1773
DIST libnjb-2.1.2.tar.gz 444880 RMD160 79b647f095582374a4ab76dd35653e59712022b3 SHA1 3e9d20b483b1e586c4238141b51e77089387664e SHA256 5644cbbfeb7ce27754bcd2b97bdc929e14f291216ae88bfac130f325013edfc2
DIST libnjb-2.2.4.tar.gz 486754 RMD160 2e06014d2ce018681005ed815d2f7b2b230c1f99 SHA1 662475c993fde5139684e1a640b31d5444b84613 SHA256 f782a584c2bda94fa243b5d61775d23da0800cc4e342248d0e1905ff977ec6c1
DIST libnjb-2.2.5.tar.gz 495780 RMD160 a3a536e679482a665cdfd23cde73db8b32d5904f SHA1 818b3134116937dc5ef8f81939cf21e6a9b451b0 SHA256 4200028b411b56518ac640a91a5b36e34945b815fb2cae097c1721d79a2060ad
@@ -9,14 +13,18 @@ EBUILD libnjb-2.2.4.ebuild 1065 RMD160 9ab913a7a0422c28081423a4d1761f0c9b784658
MD5 18aa2fad8603857c90b4d0d70a47cb29 libnjb-2.2.4.ebuild 1065
RMD160 9ab913a7a0422c28081423a4d1761f0c9b784658 libnjb-2.2.4.ebuild 1065
SHA256 6f3f1e8dc7fe36f2d8eccbbfcb921d2ace2e7b1969b1744d4ab70cc1f0b42492 libnjb-2.2.4.ebuild 1065
+EBUILD libnjb-2.2.5-r1.ebuild 985 RMD160 4b919b2f0e5fa1038a6e7c511f3428a79bb3205a SHA1 d8a84f273fc5fad7c3bccbf6f780772564635cdf SHA256 a72348bc234d9b5b60b954c8fce40d33d173f4937aac14a620588ce229b1f6ec
+MD5 c665b15b645c1bc732c3f0b32ce3b323 libnjb-2.2.5-r1.ebuild 985
+RMD160 4b919b2f0e5fa1038a6e7c511f3428a79bb3205a libnjb-2.2.5-r1.ebuild 985
+SHA256 a72348bc234d9b5b60b954c8fce40d33d173f4937aac14a620588ce229b1f6ec libnjb-2.2.5-r1.ebuild 985
EBUILD libnjb-2.2.5.ebuild 1104 RMD160 2a09e2e1765a8ca3f94e78a2e8b261308f198c28 SHA1 edc9bdfce8eb2b88c591132584d654abd34b6014 SHA256 0c72443fe7bf79561708bce730c9eaa54644a200691d3207f5f27c5b994b522a
MD5 87ceeb8e4c2fc6fd8eaeb23f46c1ae41 libnjb-2.2.5.ebuild 1104
RMD160 2a09e2e1765a8ca3f94e78a2e8b261308f198c28 libnjb-2.2.5.ebuild 1104
SHA256 0c72443fe7bf79561708bce730c9eaa54644a200691d3207f5f27c5b994b522a libnjb-2.2.5.ebuild 1104
-MISC ChangeLog 5147 RMD160 a207f11f17430a05227a24357ed2f8facdbd7f8a SHA1 39b0f464efde2a9a5f1366dac1633e557e58c26d SHA256 97de8001829e84fd1ea547324eb64a92754116bbe8add7461a5e5bb06ba2165f
-MD5 caf368af4b58a54252db6b2b74efa5e7 ChangeLog 5147
-RMD160 a207f11f17430a05227a24357ed2f8facdbd7f8a ChangeLog 5147
-SHA256 97de8001829e84fd1ea547324eb64a92754116bbe8add7461a5e5bb06ba2165f ChangeLog 5147
+MISC ChangeLog 5309 RMD160 f4e3d2acb0a1cd5259dfd10520b11a46015ec7aa SHA1 27e5805c14d18352bd85d41bd0e21f5f9130844b SHA256 ab980e452be9003f93948c59f9ef283131af6129b4473c972484e4b262ca3fc8
+MD5 2018a79dc0d6801fbc1e424a7474a62c ChangeLog 5309
+RMD160 f4e3d2acb0a1cd5259dfd10520b11a46015ec7aa ChangeLog 5309
+SHA256 ab980e452be9003f93948c59f9ef283131af6129b4473c972484e4b262ca3fc8 ChangeLog 5309
MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e metadata.xml 158
@@ -30,3 +38,6 @@ SHA256 3f4406075f498145c840d95b0ddc7e4c4fc406166ffc7505d73a1ec67df8fb80 files/di
MD5 ed2ba623592c68f6a6e835a64b60372d files/digest-libnjb-2.2.5 238
RMD160 09239fa69e3431a26f6321d92d72fda210798fe5 files/digest-libnjb-2.2.5 238
SHA256 3728d08a6ba0760e46d64bc5ab543c929522fc72e44ab2fc4941f75a0160d717 files/digest-libnjb-2.2.5 238
+MD5 ed2ba623592c68f6a6e835a64b60372d files/digest-libnjb-2.2.5-r1 238
+RMD160 09239fa69e3431a26f6321d92d72fda210798fe5 files/digest-libnjb-2.2.5-r1 238
+SHA256 3728d08a6ba0760e46d64bc5ab543c929522fc72e44ab2fc4941f75a0160d717 files/digest-libnjb-2.2.5-r1 238
diff --git a/media-libs/libnjb/files/digest-libnjb-2.2.5-r1 b/media-libs/libnjb/files/digest-libnjb-2.2.5-r1
new file mode 100644
index 000000000000..5c8d527ca916
--- /dev/null
+++ b/media-libs/libnjb/files/digest-libnjb-2.2.5-r1
@@ -0,0 +1,3 @@
+MD5 f7461574b9a28ed1c79fb40d3d307d78 libnjb-2.2.5.tar.gz 495780
+RMD160 a3a536e679482a665cdfd23cde73db8b32d5904f libnjb-2.2.5.tar.gz 495780
+SHA256 4200028b411b56518ac640a91a5b36e34945b815fb2cae097c1721d79a2060ad libnjb-2.2.5.tar.gz 495780
diff --git a/media-libs/libnjb/files/libnjb.rules b/media-libs/libnjb/files/libnjb.rules
new file mode 100644
index 000000000000..2ad3227d7b27
--- /dev/null
+++ b/media-libs/libnjb/files/libnjb.rules
@@ -0,0 +1,35 @@
+SUBSYSTEM!="usb_device", GOTO="libnjb_rules_end"
+ACTION!="add", GOTO="libnjb_rules_end"
+
+# Creative Nomad Jukebox
+ATTRS{idVendor}=="0471", ATTRS{idProduct}=="0222", GROUP="plugdev", MODE="0660"
+# Creative Nomad Jukebox 2
+ATTRS{idVendor}=="041e", ATTRS{idProduct}=="4100", GROUP="plugdev", MODE="0660"
+# Creative Nomad Jukebox 3
+ATTRS{idVendor}=="041e", ATTRS{idProduct}=="4101", GROUP="plugdev", MODE="0660"
+# Creative Nomad Jukebox Zen
+ATTRS{idVendor}=="041e", ATTRS{idProduct}=="4108", GROUP="plugdev", MODE="0660"
+# Creative Nomad Jukebox Zen USB 2.0
+ATTRS{idVendor}=="041e", ATTRS{idProduct}=="410b", GROUP="plugdev", MODE="0660"
+# Creative Nomad Jukebox Zen NX
+ATTRS{idVendor}=="041e", ATTRS{idProduct}=="4109", GROUP="plugdev", MODE="0660"
+# Creative Nomad Jukebox Zen Xtra
+ATTRS{idVendor}=="041e", ATTRS{idProduct}=="4110", GROUP="plugdev", MODE="0660"
+# Dell Digital Jukebox
+ATTRS{idVendor}=="041e", ATTRS{idProduct}=="4111", GROUP="plugdev", MODE="0660"
+# Creative Nomad Jukebox Zen Touch
+ATTRS{idVendor}=="041e", ATTRS{idProduct}=="411b", GROUP="plugdev", MODE="0660"
+# Creative Zen (Zen Micro variant)
+ATTRS{idVendor}=="041e", ATTRS{idProduct}=="411d", GROUP="plugdev", MODE="0660"
+# Creative Nomad Jukebox Zen Micro
+ATTRS{idVendor}=="041e", ATTRS{idProduct}=="411e", GROUP="plugdev", MODE="0660"
+# Second Generation Dell Digital Jukebox
+ATTRS{idVendor}=="041e", ATTRS{idProduct}=="4126", GROUP="plugdev", MODE="0660"
+# Dell Pocket DJ
+ATTRS{idVendor}=="041e", ATTRS{idProduct}=="4127", GROUP="plugdev", MODE="0660"
+# Creative Zen Sleek
+ATTRS{idVendor}=="041e", ATTRS{idProduct}=="4136", GROUP="plugdev", MODE="0660"
+# Third Generation Dell Digital Jukebox
+ATTRS{idVendor}=="041e", ATTRS{idProduct}=="412f", GROUP="plugdev", MODE="0660"
+
+LABEL="libnjb_rules_end"
diff --git a/media-libs/libnjb/libnjb-2.2.5-r1.ebuild b/media-libs/libnjb/libnjb-2.2.5-r1.ebuild
new file mode 100644
index 000000000000..9180f7e1c8d8
--- /dev/null
+++ b/media-libs/libnjb/libnjb-2.2.5-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libnjb/libnjb-2.2.5-r1.ebuild,v 1.1 2007/08/10 11:50:00 drac Exp $
+
+inherit eutils libtool
+
+DESCRIPTION="libnjb is a C library and API for communicating with the Creative Nomad JukeBox digital audio player under BSD and Linux."
+HOMEPAGE="http://libnjb.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+IUSE=""
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+
+DEPEND=">=dev-libs/libusb-0.1.7"
+
+S="${WORKDIR}"/${PN}-${PV/_*}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e "s:SUBDIRS = src sample doc:SUBDIRS = src doc:" Makefile.in
+ elibtoolize
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dosym ${PN}.so /usr/$(get_libdir)/${PN}.so.0
+ dodoc AUTHORS ChangeLog* FAQ HACKING README
+ insinto /etc/udev/rules.d
+ newins "${FILESDIR}"/${PN}.rules 99-${PN}.rules
+}