summaryrefslogtreecommitdiff
path: root/media-libs/libnjb
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/libnjb
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/libnjb')
-rw-r--r--media-libs/libnjb/Manifest8
-rw-r--r--media-libs/libnjb/files/libnjb.rules35
-rw-r--r--media-libs/libnjb/libnjb-2.2.6.ebuild41
-rw-r--r--media-libs/libnjb/libnjb-2.2.7.ebuild43
-rw-r--r--media-libs/libnjb/metadata.xml11
5 files changed, 138 insertions, 0 deletions
diff --git a/media-libs/libnjb/Manifest b/media-libs/libnjb/Manifest
new file mode 100644
index 000000000000..0f7ae812e1c2
--- /dev/null
+++ b/media-libs/libnjb/Manifest
@@ -0,0 +1,8 @@
+AUX libnjb.rules 1773 SHA256 6343c2915a2ac6d9a098413905cab2480b9f8edc5bdaf85de4d9b5305cae9494 SHA512 21d9aa5b0d0c170c3f8071a81981590714f6bbf203d5b6f973aea6a2365f69cde5008969748a2136b9791db327fc476d33fe8937cc7c7d26168ac1803738419a WHIRLPOOL 9001bb59a08c0e2c6c7839ae3fc628a6220d4015b855a80bedb52839d7ffcc3a3d50368fc4a73bd3c2c45c7fe1f3244977bbc2bb18e36a3ad09a4b82702a89b5
+DIST libnjb-2.2.6.tar.gz 504329 SHA256 c6eabf1fd3d32af6d3707574e1891919b25c3af35cadfc093456c00bccf3826e SHA512 c079abcf5d2c1fd56dfd6da6a7bf08d1f35e365b6186072f526980a49d8f72cf04c79381eda4fbada5ca467ae6c9e96c6e3a13b753937040530f6e6c61b012f2 WHIRLPOOL 0a6ecbae534b89d82619266dbfb1d7e1aa70526613457a348cbb1c8914601792ce33027d328436c7a32a305549581ebeb048c597dfda69bc0413fdd4db91a5e7
+DIST libnjb-2.2.7.tar.gz 497862 SHA256 ccbcfc870bdc10ad7a144f81a340b61bad74a6f00f77cf08db5866332668d2b6 SHA512 d217beb772024ec122739327dae9f1e991ace4c3dfe79a4960d1d7421c3d663f924304331025a1790ea7b697ac84d8926f3ab507c6d919e781e90ca82ef6fd06 WHIRLPOOL da6772de42ac8e1010103e5e717fb22ca993853c1eadd3ed774d7696231fe7c61e1970b05f39e03844e02862c2a7ddf6545b994763abc31ff7d41516e960c879
+EBUILD libnjb-2.2.6.ebuild 894 SHA256 a0bf15c132d317dd4a6d1cebf109930a82fada2f88c91ce1a4ca0353d0d08e32 SHA512 b81453e5cfecbdbb6c3a7aa3e346b7edd7d699380c5b68b4e831d8d72a4c603e60641d4fbc34b3c781175e275fe9817e0d617bdb36036a27841e29a18fa58db3 WHIRLPOOL 5cb6a3b513360dce8edede59f5f2ccb2d8897806d2354c47197e58dce1d6165574a73638e6af52d9ffe6e5842f9d7e92df0887d561d0d1c2be991ff985bd7577
+EBUILD libnjb-2.2.7.ebuild 917 SHA256 0dea5df681cf4a2389a9688017c52a67d29b5ec654bcde921fe14768e8082984 SHA512 7157b171ec5b11ab3356931e87dfe48511c963edbc11da22d675b6ca0feeb7180ca3ef7b8f44abd46aa7f86720922bcd2b070e9dfe060a75676eb57762c13bd7 WHIRLPOOL fc66df462169acee09bd46af962a12d95f1feb1c830327a29f6e25effd6e568ba28e03bff56605ca43fcd23aff586cd820946b94c00c005088a85b0c740e63e0
+MISC ChangeLog 2497 SHA256 bd0d295ab8188986fedd2fa29c176b603a43434cde3bd96fe31d0d21ca550cd2 SHA512 efb42fc28d50d9fbadce8456dec63c6fb7c62820b0a93897471a8bd39dd126abcea07f9db2f7b25e91ad0dd833c038ec66ed70917a24a23247d060a4c26e8603 WHIRLPOOL e2e63c078fbc05d5002c9ef79e2247df759aa47fb1fc4d37bafe65c44f30f195702de5dfb32522d8245859709989db0c85c61dc1edb238b96310f88aff49c2ba
+MISC ChangeLog-2015 7034 SHA256 a3b0e5c93e3c4f273f70dcb4b3c279a66eabd6f96b215940503c8d36236b3153 SHA512 62c63f74ebea39162695989c8dd0c250e0f9753333437546d1838341becfa3d7598f63c6044fc3915ca2a778466d4f06da8b22d783fab63041b47929a6c79e4f WHIRLPOOL 962ed213324fdd506a1c2af024d762d417542daad8baaed4cbe72258e899ec8dff0ed6fe7f7587fcb63efa3ba8bad53e840ca1f33b903adeb315107c97aa8bc6
+MISC metadata.xml 329 SHA256 46b2d38ba45d78841ff6c1f34d8bebf05d448afdb24d0cade0011d6d8f337dfc SHA512 c431cf889d0fb22891d12ed46abf92d356c162d5bb9b897519ba90faa9effdf44db671028ec8775d0e4ec09c3bdc89a58b2f27db55ff34e83a0cdd76b9bac5d7 WHIRLPOOL 85850497298d899d3ac706a75aef4ac50bc17999248a28d2bc48ba3c9130c01e1051b72c3770ab91b2eea0defbeef76c30e206ea9f4df5d01953b672bbf38832
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.6.ebuild b/media-libs/libnjb/libnjb-2.2.6.ebuild
new file mode 100644
index 000000000000..132f4be4850c
--- /dev/null
+++ b/media-libs/libnjb/libnjb-2.2.6.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+inherit libtool multilib udev
+
+DESCRIPTION="a C library and API for communicating with the Creative Nomad JukeBox digital audio player"
+HOMEPAGE="http://libnjb.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
+IUSE="static-libs"
+
+RDEPEND="virtual/libusb:0"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ sed -i \
+ -e 's:SUBDIRS = src sample doc:SUBDIRS = src doc:' \
+ Makefile.in || die
+
+ elibtoolize
+}
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ dodoc AUTHORS ChangeLog* FAQ HACKING README
+
+ udev_newrules "${FILESDIR}"/${PN}.rules 80-${PN}.rules
+
+ find "${D}" -name '*.la' -exec rm -f {} +
+}
diff --git a/media-libs/libnjb/libnjb-2.2.7.ebuild b/media-libs/libnjb/libnjb-2.2.7.ebuild
new file mode 100644
index 000000000000..2bc7bae00a8d
--- /dev/null
+++ b/media-libs/libnjb/libnjb-2.2.7.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit libtool multilib udev
+
+DESCRIPTION="a C library and API for communicating with the Creative Nomad JukeBox digital audio player"
+HOMEPAGE="http://libnjb.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="doc static-libs"
+
+RDEPEND="virtual/libusb:0"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+DOCS="AUTHORS ChangeLog* FAQ HACKING README"
+
+src_prepare() {
+ sed -i \
+ -e 's:SUBDIRS = src sample doc:SUBDIRS = src doc:' \
+ Makefile.in || die
+
+ elibtoolize
+}
+
+src_configure() {
+ use doc || export ac_cv_prog_HAVE_DOXYGEN=false
+
+ econf \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+
+ udev_newrules "${FILESDIR}"/${PN}.rules 80-${PN}.rules
+
+ find "${ED}" -name '*.la' -exec rm -f {} +
+}
diff --git a/media-libs/libnjb/metadata.xml b/media-libs/libnjb/metadata.xml
new file mode 100644
index 000000000000..9cfddd1bbd45
--- /dev/null
+++ b/media-libs/libnjb/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">libnjb</remote-id>
+ </upstream>
+</pkgmetadata>