diff options
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/sound-juicer/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/sound-juicer/Manifest | 11 | ||||
-rw-r--r-- | media-sound/sound-juicer/files/digest-sound-juicer-2.10.1-r1 | 1 | ||||
-rw-r--r-- | media-sound/sound-juicer/files/sound-juicer-2.10.1-fbsd.patch | 44 | ||||
-rw-r--r-- | media-sound/sound-juicer/sound-juicer-2.10.1-r1.ebuild | 46 |
5 files changed, 105 insertions, 5 deletions
diff --git a/media-sound/sound-juicer/ChangeLog b/media-sound/sound-juicer/ChangeLog index 463c163e5926..0eb35916b6c5 100644 --- a/media-sound/sound-juicer/ChangeLog +++ b/media-sound/sound-juicer/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/sound-juicer # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/sound-juicer/ChangeLog,v 1.50 2005/08/23 07:08:59 leonardop Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/sound-juicer/ChangeLog,v 1.51 2005/08/24 13:33:27 flameeyes Exp $ + +*sound-juicer-2.10.1-r1 (24 Aug 2005) + + 24 Aug 2005; Diego Pettenò <flameeyes@gentoo.org> + +files/sound-juicer-2.10.1-fbsd.patch, +sound-juicer-2.10.1-r1.ebuild: + Added patch to let sound-juicer build on Gentoo/FreeBSD. *sound-juicer-2.11.91 (23 Aug 2005) diff --git a/media-sound/sound-juicer/Manifest b/media-sound/sound-juicer/Manifest index a4f1ebf32638..753ac3f37645 100644 --- a/media-sound/sound-juicer/Manifest +++ b/media-sound/sound-juicer/Manifest @@ -1,8 +1,11 @@ +MD5 cba63e6e8bd2bd91cf5c10ecb3fa8cc2 sound-juicer-2.10.0.ebuild 1143 MD5 bc4f6d8540d16d1103a156c01d5fb0e4 ChangeLog 6938 +MD5 b0eb7af21471c2f5239098cadec4c867 sound-juicer-2.10.1-r1.ebuild 1207 +MD5 0f5bbf8b0e0a144b249481432fe6b383 sound-juicer-2.10.1.ebuild 1122 MD5 b263ff7675308d90b75a170acae3f5ff metadata.xml 177 -MD5 cba63e6e8bd2bd91cf5c10ecb3fa8cc2 sound-juicer-2.10.0.ebuild 1143 MD5 f9a313324186ec7b39ee385db499bf79 sound-juicer-2.11.91.ebuild 1259 -MD5 0f5bbf8b0e0a144b249481432fe6b383 sound-juicer-2.10.1.ebuild 1122 -MD5 f44188763900af17645591111e1bfdb5 files/digest-sound-juicer-2.10.0 72 -MD5 4a12b02268da91a70551d700de39f32a files/digest-sound-juicer-2.10.1 72 MD5 e0aa745db064a35e65e34eff6b38fe22 files/digest-sound-juicer-2.11.91 73 +MD5 4a12b02268da91a70551d700de39f32a files/digest-sound-juicer-2.10.1 72 +MD5 62ab878296db63b837c4fb06c0fc685d files/sound-juicer-2.10.1-fbsd.patch 1017 +MD5 f44188763900af17645591111e1bfdb5 files/digest-sound-juicer-2.10.0 72 +MD5 4a12b02268da91a70551d700de39f32a files/digest-sound-juicer-2.10.1-r1 72 diff --git a/media-sound/sound-juicer/files/digest-sound-juicer-2.10.1-r1 b/media-sound/sound-juicer/files/digest-sound-juicer-2.10.1-r1 new file mode 100644 index 000000000000..ce7a709b1c5a --- /dev/null +++ b/media-sound/sound-juicer/files/digest-sound-juicer-2.10.1-r1 @@ -0,0 +1 @@ +MD5 59a5e142cf39152bcbc1467d02e4494a sound-juicer-2.10.1.tar.bz2 518894 diff --git a/media-sound/sound-juicer/files/sound-juicer-2.10.1-fbsd.patch b/media-sound/sound-juicer/files/sound-juicer-2.10.1-fbsd.patch new file mode 100644 index 000000000000..0e85a77c771a --- /dev/null +++ b/media-sound/sound-juicer/files/sound-juicer-2.10.1-fbsd.patch @@ -0,0 +1,44 @@ +Index: sound-juicer-2.10.1/src/sj-util.c +=================================================================== +--- sound-juicer-2.10.1.orig/src/sj-util.c ++++ sound-juicer-2.10.1/src/sj-util.c +@@ -157,7 +157,14 @@ tray_is_opened (const char *device) + if (fd < 0) { + return FALSE; + } +- ++ ++#ifdef __FreeBSD__ ++ status = FALSE; ++ ioctl (fd, CDIOCCLOSE); ++ close (fd); ++ ++ return status; ++#else + status = ioctl (fd, CDROM_DRIVE_STATUS, CDSL_CURRENT); + if (status < 0) { + close (fd); +@@ -167,6 +174,7 @@ tray_is_opened (const char *device) + close (fd); + + return status == CDS_TRAY_OPEN; ++#endif + } + + gboolean is_audio_cd (const char *device) +@@ -192,6 +200,7 @@ gboolean is_audio_cd (const char *device + return FALSE; + } + ++#ifndef __FreeBSD__ + fd = open (device, O_RDONLY | O_NONBLOCK | O_EXCL); + if (fd <0) { + return FALSE; +@@ -206,6 +215,7 @@ gboolean is_audio_cd (const char *device + close (fd); + + return status == CDS_AUDIO; ++#endif + } + + /* Pass NULL to use g_free */ diff --git a/media-sound/sound-juicer/sound-juicer-2.10.1-r1.ebuild b/media-sound/sound-juicer/sound-juicer-2.10.1-r1.ebuild new file mode 100644 index 000000000000..36bd30f9f039 --- /dev/null +++ b/media-sound/sound-juicer/sound-juicer-2.10.1-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/sound-juicer/sound-juicer-2.10.1-r1.ebuild,v 1.1 2005/08/24 13:33:27 flameeyes Exp $ + +inherit gnome2 eutils + +DESCRIPTION="CD ripper for GNOME 2" +HOMEPAGE="http://www.burtonini.com/blog/computers/sound-juicer/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="vorbis flac" + +RDEPEND=">=dev-libs/glib-2 + >=gnome-extra/nautilus-cd-burner-2.9 + >=x11-libs/gtk+-2.6 + >=gnome-base/libglade-2 + >=gnome-base/gconf-2 + >=gnome-base/libgnomeui-2 + >=gnome-base/gnome-vfs-2.9 + =media-libs/gstreamer-0.8* + gnome-extra/gnome-media + >=media-libs/musicbrainz-2 + =media-plugins/gst-plugins-cdparanoia-0.8* + vorbis? ( =media-plugins/gst-plugins-vorbis-0.8* + =media-plugins/gst-plugins-ogg-0.8* ) + flac? ( =media-plugins/gst-plugins-flac-0.8* )" + +DEPEND="${RDEPEND} + >=dev-util/intltool-0.20 + >=app-text/scrollkeeper-0.3.5 + dev-util/pkgconfig" + +DOCS="AUTHORS ChangeLog NEWS README TODO" + +# needed to get around some sandboxing checks +export GST_INSPECT=/bin/true + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/${P}-fbsd.patch +} + |