From c091a01dcb0e6b8a74a6b0d4f2384035e7265327 Mon Sep 17 00:00:00 2001 From: ahze Date: Wed, 2 May 2007 17:55:46 +0000 Subject: share/gnome -> share git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8765 df743ca5-7f9a-e211-a948-0013205c9059 --- audio/tunesbrowser/Makefile | 43 ++++++++++++++++++++++++++++++ audio/tunesbrowser/distinfo | 3 +++ audio/tunesbrowser/files/patch-Makefile.in | 20 ++++++++++++++ audio/tunesbrowser/files/patch-misc_ui.c | 12 +++++++++ audio/tunesbrowser/pkg-descr | 8 ++++++ audio/tunesbrowser/pkg-plist | 9 +++++++ 6 files changed, 95 insertions(+) create mode 100644 audio/tunesbrowser/Makefile create mode 100644 audio/tunesbrowser/distinfo create mode 100644 audio/tunesbrowser/files/patch-Makefile.in create mode 100644 audio/tunesbrowser/files/patch-misc_ui.c create mode 100644 audio/tunesbrowser/pkg-descr create mode 100644 audio/tunesbrowser/pkg-plist (limited to 'audio/tunesbrowser') diff --git a/audio/tunesbrowser/Makefile b/audio/tunesbrowser/Makefile new file mode 100644 index 000000000..75f8239dc --- /dev/null +++ b/audio/tunesbrowser/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: tunesbrowser +# Date created: 2004-07-27 +# Whom: Michael Johnson +# +# $FreeBSD$ +# $MCom: ports/audio/tunesbrowser/Makefile,v 1.7 2006/04/29 10:51:51 pav Exp $ + +PORTNAME= tunesbrowser +PORTVERSION= 0.3.0 +PORTREVISION= 3 +CATEGORIES= audio +MASTER_SITES= http://crazney.net/programs/itunes/files/ + +MAINTAINER= ports@FreeBSD.org +COMMENT= Simple iTunes-like music player + +LIB_DEPENDS= opendaap.0:${PORTSDIR}/devel/libopendaap + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_GNOME= gnomehack gnomeprefix gnometarget libglade2 +WANT_GNOME= yes +USE_GSTREAMER80= mad +GNU_CONFIGURE= yes + +MAN1= tunesbrowser.1 + +OPTIONS= FAAD "Enable AAC/MP4 Audio output" Off + +.include + +.if defined(WITH_FAAD) +USE_GSTREAMER80+= faad +.endif + +.if ${HAVE_GNOME:Mlibgnome}!="" +PKGNAMESUFFIX= -gnome +USE_GNOME+= libgnome +.else +CONFIGURE_ARGS+= --disable-gnome +.endif + +.include diff --git a/audio/tunesbrowser/distinfo b/audio/tunesbrowser/distinfo new file mode 100644 index 000000000..7de0b68f8 --- /dev/null +++ b/audio/tunesbrowser/distinfo @@ -0,0 +1,3 @@ +MD5 (tunesbrowser-0.3.0.tar.bz2) = dacfc3f7209c3165be9a9211dfb7bf0e +SHA256 (tunesbrowser-0.3.0.tar.bz2) = 73f2f01f86f90618fee6756e0f039da2fecc3cc929f665e900c449e7d126dbb6 +SIZE (tunesbrowser-0.3.0.tar.bz2) = 222593 diff --git a/audio/tunesbrowser/files/patch-Makefile.in b/audio/tunesbrowser/files/patch-Makefile.in new file mode 100644 index 000000000..229c61c3e --- /dev/null +++ b/audio/tunesbrowser/files/patch-Makefile.in @@ -0,0 +1,20 @@ +--- Makefile.in.orig Mon May 16 14:48:28 2005 ++++ Makefile.in Mon May 16 19:39:09 2005 +@@ -144,7 +144,7 @@ + sysconfdir = @sysconfdir@ + target_alias = @target_alias@ + SUBDIRS = debug +-uidir = $(datadir) ++uidir = $(pkgdatadir) + bin_PROGRAMS = tunesbrowser + tunesbrowser_SOURCES = albumlist.c artistlist.c audioplayer.c \ + daap.c main.c misc_ui.c songlist.c sourcelist.c \ +@@ -158,7 +158,7 @@ + man_MANS = tunesbrowser.1 + + INCLUDES = -I$(srcdir) -I$(srcdir)/debug +-AM_CFLAGS = $(TB_CFLAGS) -W -Wall -DUIDIR=$(datadir) ++AM_CFLAGS = $(TB_CFLAGS) -W -Wall -DUIDIR=$(pkgdatadir) + + ui_DATA = tunesbrowser.glade \ + comp.blue.png comp.red.png \ diff --git a/audio/tunesbrowser/files/patch-misc_ui.c b/audio/tunesbrowser/files/patch-misc_ui.c new file mode 100644 index 000000000..897db5181 --- /dev/null +++ b/audio/tunesbrowser/files/patch-misc_ui.c @@ -0,0 +1,12 @@ +--- misc_ui.c.orig Wed Jul 28 06:41:58 2004 ++++ misc_ui.c Wed Jul 28 06:43:37 2004 +@@ -139,8 +139,8 @@ + if (seconds >= 0) + { + int minutes = seconds / 60; ++ char bufstr[11]; + seconds -= minutes * 60; +- char bufstr[11] = {0}; + + snprintf(bufstr, 10, "%i:%02i", + minutes, seconds); diff --git a/audio/tunesbrowser/pkg-descr b/audio/tunesbrowser/pkg-descr new file mode 100644 index 000000000..bfb53f318 --- /dev/null +++ b/audio/tunesbrowser/pkg-descr @@ -0,0 +1,8 @@ +TunesBrowser is a simple music player, capable of playing music found on +iTunes(R) shares. Its features are: + + - Play MP3's off other computers running iTunes + - Discovery of hosts over Rendezvous + - Interface is quite similar to that of iTunes + +WWW: http://crazney.net/programs/itunes/tunesbrowser.html diff --git a/audio/tunesbrowser/pkg-plist b/audio/tunesbrowser/pkg-plist new file mode 100644 index 000000000..e1f667be2 --- /dev/null +++ b/audio/tunesbrowser/pkg-plist @@ -0,0 +1,9 @@ +bin/tunesbrowser +share/tunesbrowser/comp.blue.png +share/tunesbrowser/comp.red.png +share/tunesbrowser/sound1.png +share/tunesbrowser/sound2.png +share/tunesbrowser/soundfile.png +share/tunesbrowser/tips.txt +share/tunesbrowser/tunesbrowser.glade +@dirrm share/tunesbrowser -- cgit v1.2.3