summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-06-21 03:20:43 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-06-21 03:20:43 +0800
commit6e00c2d8be9cdb00296ad128a5271997a9fe0ebe (patch)
tree4a11e1a9f84585d58894469e83fae6a142da8194
parent89353e9e79af620cc5da6be298a9da72e6780a55 (diff)
downloadmarcuscom-ports-6e00c2d8be9cdb00296ad128a5271997a9fe0ebe.tar
marcuscom-ports-6e00c2d8be9cdb00296ad128a5271997a9fe0ebe.tar.gz
marcuscom-ports-6e00c2d8be9cdb00296ad128a5271997a9fe0ebe.tar.bz2
marcuscom-ports-6e00c2d8be9cdb00296ad128a5271997a9fe0ebe.tar.lz
marcuscom-ports-6e00c2d8be9cdb00296ad128a5271997a9fe0ebe.tar.xz
marcuscom-ports-6e00c2d8be9cdb00296ad128a5271997a9fe0ebe.tar.zst
marcuscom-ports-6e00c2d8be9cdb00296ad128a5271997a9fe0ebe.zip
Bring back goobox at version 1.9.1 with gstreamer 0.10 support
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9064 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--audio/goobox/Makefile47
-rw-r--r--audio/goobox/distinfo3
-rw-r--r--audio/goobox/files/patch-src_cd-drive.c12
-rw-r--r--audio/goobox/pkg-descr4
-rw-r--r--audio/goobox/pkg-plist59
5 files changed, 125 insertions, 0 deletions
diff --git a/audio/goobox/Makefile b/audio/goobox/Makefile
new file mode 100644
index 000000000..c8722bdc8
--- /dev/null
+++ b/audio/goobox/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: guikachu
+# Date created: 11 Nov 2004
+# Whom: Alexander Nedotsukov <bland@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/audio/goobox/Makefile,v 1.17 2006/07/25 06:20:43 mezz Exp $
+#
+
+PORTNAME= goobox
+PORTVERSION= 1.9.1
+CATEGORIES= audio gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= CD player and ripper for GNOME Desktop environment
+
+RUN_DEPENDS= cddb-slave2-properties:${PORTSDIR}/audio/gnome-media
+
+USE_XLIB= yes
+USE_GETTEXT= yes
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui libglade2 libbonobo \
+ gnomedocutils
+USE_GSTREAMER= cdparanoia gconf core
+GNU_CONFIGURE= yes
+INSTALLS_OMF= yes
+INSTALLS_ICONS= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+GCONF_SCHEMAS= goobox.schemas
+
+OPTIONS= NOTIFY "Enable libnotify support" on
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_NOTIFY)
+LIB_DEPENDS+= notify.1:${PORTSDIR}/devel/libnotify
+CONFIGURE_ARGS+= --enable-notification
+.else
+CONFIGURE_ARGS+= --disable-notification
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/audio/goobox/distinfo b/audio/goobox/distinfo
new file mode 100644
index 000000000..5ee9c358f
--- /dev/null
+++ b/audio/goobox/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/goobox-1.9.1.tar.bz2) = 5a4909c817418e42a551f10ac904ecc2
+SHA256 (gnome2/goobox-1.9.1.tar.bz2) = 29e0d2229bb79b8223bbaf53549deb767a1a4f553cf69649e0875f89bdaff51b
+SIZE (gnome2/goobox-1.9.1.tar.bz2) = 539221
diff --git a/audio/goobox/files/patch-src_cd-drive.c b/audio/goobox/files/patch-src_cd-drive.c
new file mode 100644
index 000000000..44f796b1a
--- /dev/null
+++ b/audio/goobox/files/patch-src_cd-drive.c
@@ -0,0 +1,12 @@
+--- src/cd-drive.c.orig Sun Dec 24 22:45:32 2006
++++ src/cd-drive.c Sun Dec 24 22:45:12 2006
+@@ -82,6 +82,9 @@ struct CDDrivePriv {
+ char *udi;
+ };
+
++static int get_device_max_read_speed (char *device);
++static int get_device_max_write_speed (char *device);
++
+ static CDDrive *cd_drive_new (void);
+
+ /* Utility functions, be careful to have a match with what's use in the
diff --git a/audio/goobox/pkg-descr b/audio/goobox/pkg-descr
new file mode 100644
index 000000000..c263704fd
--- /dev/null
+++ b/audio/goobox/pkg-descr
@@ -0,0 +1,4 @@
+Goobox is a CD player and ripper for the GNOME Desktop environment,
+it uses gstreamer to play and rip CDs and cddb-slave2 (distributed
+with gnome-media) to get and edit CD metadata such as track titles
+and album name.
diff --git a/audio/goobox/pkg-plist b/audio/goobox/pkg-plist
new file mode 100644
index 000000000..d89100d8a
--- /dev/null
+++ b/audio/goobox/pkg-plist
@@ -0,0 +1,59 @@
+bin/goobox
+libdata/bonobo/servers/GNOME_Goobox.server
+share/application-registry/goobox.applications
+share/applications/goobox.desktop
+share/gnome/help/goobox/C/goobox.xml
+share/gnome/help/goobox/C/legal.xml
+share/gnome/help/goobox/sv/goobox.xml
+%%DATADIR%%/glade/cover_chooser.glade
+%%DATADIR%%/glade/extract_dialog.glade
+%%DATADIR%%/glade/format_dialog.glade
+%%DATADIR%%/glade/preferences.glade
+%%DATADIR%%/glade/properties.glade
+%%DATADIR%%/glade/ripper_dialog.glade
+share/icons/hicolor/48x48/apps/goobox.png
+share/locale/ar/LC_MESSAGES/goobox.mo
+share/locale/bg/LC_MESSAGES/goobox.mo
+share/locale/ca/LC_MESSAGES/goobox.mo
+share/locale/cs/LC_MESSAGES/goobox.mo
+share/locale/da/LC_MESSAGES/goobox.mo
+share/locale/de/LC_MESSAGES/goobox.mo
+share/locale/dz/LC_MESSAGES/goobox.mo
+share/locale/el/LC_MESSAGES/goobox.mo
+share/locale/en_CA/LC_MESSAGES/goobox.mo
+share/locale/en_GB/LC_MESSAGES/goobox.mo
+share/locale/es/LC_MESSAGES/goobox.mo
+share/locale/eu/LC_MESSAGES/goobox.mo
+share/locale/fi/LC_MESSAGES/goobox.mo
+share/locale/fr/LC_MESSAGES/goobox.mo
+share/locale/hu/LC_MESSAGES/goobox.mo
+share/locale/it/LC_MESSAGES/goobox.mo
+share/locale/ja/LC_MESSAGES/goobox.mo
+share/locale/ko/LC_MESSAGES/goobox.mo
+share/locale/lt/LC_MESSAGES/goobox.mo
+share/locale/nb/LC_MESSAGES/goobox.mo
+share/locale/ne/LC_MESSAGES/goobox.mo
+share/locale/nl/LC_MESSAGES/goobox.mo
+share/locale/pa/LC_MESSAGES/goobox.mo
+share/locale/pl/LC_MESSAGES/goobox.mo
+share/locale/pt/LC_MESSAGES/goobox.mo
+share/locale/pt_BR/LC_MESSAGES/goobox.mo
+share/locale/ru/LC_MESSAGES/goobox.mo
+share/locale/rw/LC_MESSAGES/goobox.mo
+share/locale/sq/LC_MESSAGES/goobox.mo
+share/locale/sv/LC_MESSAGES/goobox.mo
+share/locale/vi/LC_MESSAGES/goobox.mo
+share/locale/zh_CN/LC_MESSAGES/goobox.mo
+share/locale/zh_TW/LC_MESSAGES/goobox.mo
+share/omf/goobox/goobox-C.omf
+share/omf/goobox/goobox-sv.omf
+@dirrm share/omf/goobox
+@dirrmtry share/locale/rw/LC_MESSAGES
+@dirrmtry share/locale/rw
+@dirrmtry share/locale/dz/LC_MESSAGES
+@dirrmtry share/locale/dz
+@dirrm %%DATADIR%%/glade
+@dirrm %%DATADIR%%
+@dirrm share/gnome/help/goobox/sv
+@dirrm share/gnome/help/goobox/C
+@dirrm share/gnome/help/goobox