import gnomad2 2.8.9 (with patch from CVS to make it work with newer libmtp)
Gnomad2 is a GTK+ music manager and swiss army knife for the Creative Labs NOMAD and Zen range plus the Dell DJ devices using the Portable Digital Entertainment (PDE) protocol. ok naddy@
This commit is contained in:
parent
adc5c2a626
commit
729d9082b0
40
audio/gnomad2/Makefile
Normal file
40
audio/gnomad2/Makefile
Normal file
@ -0,0 +1,40 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2007/01/11 21:58:37 jasper Exp $
|
||||
|
||||
COMMENT= "GTK+ music manager for various Creative and Dell audio players"
|
||||
|
||||
DISTNAME= gnomad2-2.8.9
|
||||
CATEGORIES= audio
|
||||
|
||||
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
|
||||
HOMEPAGE= http://gnomad2.sourceforge.net/
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
WANTLIB= X11 Xext Xrender c fontconfig freetype m pthread z \
|
||||
gmodule-2.0 atk-1.0 gobject-2.0 glitz png \
|
||||
pango-1.0 pangocairo-1.0 pangoft2-1.0 cairo
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnomad2/}
|
||||
|
||||
MODULES= devel/gettext
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
|
||||
LIB_DEPENDS= id3tag.>=3::audio/libid3tag \
|
||||
njb::audio/libnjb \
|
||||
glib-2.0.>=400.2,gthread-2.0.>=400.2::devel/glib2 \
|
||||
mtp::devel/libmtp \
|
||||
usb.>=8::devel/libusb \
|
||||
gdk_pixbuf-2.0.>=400.3,gdk-x11-2.0.>=400.3,gtk-x11-2.0.>=0.5::x11/gtk+2
|
||||
|
||||
BUILD_DEPENDS= ::textproc/p5-XML-Parser \
|
||||
::textproc/intltool \
|
||||
|
||||
|
||||
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
|
||||
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
|
||||
|
||||
.include <bsd.port.mk>
|
4
audio/gnomad2/distinfo
Normal file
4
audio/gnomad2/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (gnomad2-2.8.9.tar.gz) = d9362ae17f1ced02efe297a255512377
|
||||
RMD160 (gnomad2-2.8.9.tar.gz) = b1ba4384778b8c3d9e64be11bf69cb9d2f2d9e80
|
||||
SHA1 (gnomad2-2.8.9.tar.gz) = 8980a9f4057e6c9f79a396822689300118e77d15
|
||||
SIZE (gnomad2-2.8.9.tar.gz) = 316934
|
16
audio/gnomad2/patches/patch-src-jukebox_c
Normal file
16
audio/gnomad2/patches/patch-src-jukebox_c
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-src-jukebox_c,v 1.1.1.1 2007/01/11 21:58:37 jasper Exp $
|
||||
--- src/jukebox.c.orig Thu Sep 21 08:51:05 2006
|
||||
+++ src/jukebox.c Tue Jan 9 23:36:08 2007
|
||||
@@ -1234,7 +1234,11 @@ static void flush_usage()
|
||||
gchar *desc;
|
||||
gchar *label;
|
||||
|
||||
- ret = LIBMTP_Get_Storageinfo(mtpdevice, &totalbytes, &freebytes, &desc, &label);
|
||||
+ ret = LIBMTP_Get_Storage(mtpdevice, 0);
|
||||
+ if (mtpdevice->storage != NULL) {
|
||||
+ totalbytes = mtpdevice->storage->MaxCapacity;
|
||||
+ freebytes = mtpdevice->storage->FreeSpaceInBytes;
|
||||
+ }
|
||||
if (ret != 0) {
|
||||
totalbytes = 0;
|
||||
freebytes = 0;
|
3
audio/gnomad2/pkg/DESCR
Normal file
3
audio/gnomad2/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
Gnomad2 is a GTK+ music manager and swiss army knife for the Creative
|
||||
Labs NOMAD and Zen range plus the Dell DJ devices using the Portable
|
||||
Digital Entertainment (PDE) protocol.
|
9
audio/gnomad2/pkg/PLIST
Normal file
9
audio/gnomad2/pkg/PLIST
Normal file
@ -0,0 +1,9 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/01/11 21:58:37 jasper Exp $
|
||||
bin/gnomad2
|
||||
@man man/man1/gnomad2.1
|
||||
share/application-registry/
|
||||
share/application-registry/gnomad2.applications
|
||||
share/applications/
|
||||
share/applications/gnomad2.desktop
|
||||
share/pixmaps/
|
||||
share/pixmaps/gnomad2-logo.png
|
Loading…
Reference in New Issue
Block a user