diff options
author | wiz <wiz> | 2010-02-15 16:38:15 +0000 |
---|---|---|
committer | wiz <wiz> | 2010-02-15 16:38:15 +0000 |
commit | 629fc620afbeda93aac0e9213e2adc8f3b019207 (patch) | |
tree | 352c79f7c0c57adbf57c38a8c2d93651db8124c6 | |
parent | 143f7567dea333316b1c57e6fb61144cfdbd17db (diff) | |
download | pkgsrc-629fc620afbeda93aac0e9213e2adc8f3b019207.tar.gz |
Initial import of libnjb-2.2.6, packaged for wip by neimal and
updated by jihbed.
libnjb is a C library and API for communicating with the Creative Nomad JukeBox
and Dell DJ digital audio players under BSD, Linux, Mac OS X and Windows. The
protocol these devices use is presumably called PDE (Portable Digital
Entertainment protocol) at Creative. Newer devices using the Microsoft MTP
(Media Transfer Protocol) are NOT supported.
Working Devices:
Creative NOMAD Jukebox 1 (aka D.A.P.)
Creative NOMAD Jukebox 2
Creative NOMAD Jukebox 3
Creative NOMAD Jukebox Zen
Creative NOMAD Jukebox Zen USB 2.0
Creative NOMAD Jukebox Zen NX
Creative NOMAD Jukebox Zen Xtra
Creative Zen Touch
Creative Zen Micro
Creative Zen Sleek
Creative Zen
Dell Digital Jukebox ("Dell DJ")
Second Generation Dell DJ
Dell Pocket DJ
-rw-r--r-- | devel/libnjb/DESCR | 20 | ||||
-rw-r--r-- | devel/libnjb/Makefile | 22 | ||||
-rw-r--r-- | devel/libnjb/PLIST | 26 | ||||
-rw-r--r-- | devel/libnjb/buildlink3.mk | 14 | ||||
-rw-r--r-- | devel/libnjb/distinfo | 6 | ||||
-rw-r--r-- | devel/libnjb/patches/patch-aa | 13 |
6 files changed, 101 insertions, 0 deletions
diff --git a/devel/libnjb/DESCR b/devel/libnjb/DESCR new file mode 100644 index 00000000000..cbcb9ed3799 --- /dev/null +++ b/devel/libnjb/DESCR @@ -0,0 +1,20 @@ +libnjb is a C library and API for communicating with the Creative Nomad JukeBox +and Dell DJ digital audio players under BSD, Linux, Mac OS X and Windows. The +protocol these devices use is presumably called PDE (Portable Digital +Entertainment protocol) at Creative. Newer devices using the Microsoft MTP +(Media Transfer Protocol) are NOT supported. +Working Devices: +Creative NOMAD Jukebox 1 (aka D.A.P.) +Creative NOMAD Jukebox 2 +Creative NOMAD Jukebox 3 +Creative NOMAD Jukebox Zen +Creative NOMAD Jukebox Zen USB 2.0 +Creative NOMAD Jukebox Zen NX +Creative NOMAD Jukebox Zen Xtra +Creative Zen Touch +Creative Zen Micro +Creative Zen Sleek +Creative Zen +Dell Digital Jukebox ("Dell DJ") +Second Generation Dell DJ +Dell Pocket DJ diff --git a/devel/libnjb/Makefile b/devel/libnjb/Makefile new file mode 100644 index 00000000000..1efbf5399f0 --- /dev/null +++ b/devel/libnjb/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/02/15 16:38:15 wiz Exp $ +# + +DISTNAME= libnjb-2.2.6 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libnjb/} + +MAINTAINER= ku3@sl.aanet.ru +HOMEPAGE= http://libnjb.sourceforge.net/ +COMMENT= Communicating with some Creative and Dell audio players + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config +USE_LANGUAGES+= c c++ + +PKGCONFIG_OVERRIDE+= libnjb.pc.in + +.include "../../devel/libusb/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/libnjb/PLIST b/devel/libnjb/PLIST new file mode 100644 index 00000000000..5e4bf1e8a22 --- /dev/null +++ b/devel/libnjb/PLIST @@ -0,0 +1,26 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/02/15 16:38:15 wiz Exp $ +bin/njb-cursesplay +bin/njb-delfile +bin/njb-deltr +bin/njb-dumpeax +bin/njb-dumptime +bin/njb-files +bin/njb-fwupgrade +bin/njb-getfile +bin/njb-getowner +bin/njb-gettr +bin/njb-getusage +bin/njb-handshake +bin/njb-pl +bin/njb-play +bin/njb-playlists +bin/njb-sendfile +bin/njb-sendtr +bin/njb-setowner +bin/njb-setpbm +bin/njb-settime +bin/njb-tagtr +bin/njb-tracks +include/libnjb.h +lib/libnjb.la +lib/pkgconfig/libnjb.pc diff --git a/devel/libnjb/buildlink3.mk b/devel/libnjb/buildlink3.mk new file mode 100644 index 00000000000..a67e2955a7e --- /dev/null +++ b/devel/libnjb/buildlink3.mk @@ -0,0 +1,14 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/02/15 16:38:15 wiz Exp $ + +BUILDLINK_TREE+= libnjb + +.if !defined(LIBNJB_BUILDLINK3_MK) +LIBNJB_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libnjb+= libnjb>=2.2.6 +BUILDLINK_PKGSRCDIR.libnjb?= ../../wip/libnjb + +.include "../../devel/libusb/buildlink3.mk" +.endif # LIBNJB_BUILDLINK3_MK + +BUILDLINK_TREE+= -libnjb diff --git a/devel/libnjb/distinfo b/devel/libnjb/distinfo new file mode 100644 index 00000000000..a3e1960fcd3 --- /dev/null +++ b/devel/libnjb/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/02/15 16:38:15 wiz Exp $ + +SHA1 (libnjb-2.2.6.tar.gz) = 339c24b1c007d914d2d4969315a3e128603a046a +RMD160 (libnjb-2.2.6.tar.gz) = 9a81674daa7b0163682ef7bc40cc852c7b69ea8d +Size (libnjb-2.2.6.tar.gz) = 504329 bytes +SHA1 (patch-aa) = 5fd79fd8b8281c9b819bb77de481d8fbfa620226 diff --git a/devel/libnjb/patches/patch-aa b/devel/libnjb/patches/patch-aa new file mode 100644 index 00000000000..45077742df7 --- /dev/null +++ b/devel/libnjb/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2010/02/15 16:38:15 wiz Exp $ + +--- hotplug.sh.in.orig 2009-04-25 00:20:55.000000000 +0000 ++++ hotplug.sh.in 2009-04-25 00:21:18.000000000 +0000 +@@ -165,7 +165,7 @@ + fi + fi + fi +-if [ "x${EDITMAP}" == "xyes" ]; then ++if [ "x${EDITMAP}" = "xyes" ]; then + echo "We need to edit the ${HOTPLUGPATH}/usb.usermap if it exists..." + if test -f ${HOTPLUGPATH}/usb.usermap + then |