summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libipoddevice')
-rw-r--r--media-libs/libipoddevice/ChangeLog9
-rw-r--r--media-libs/libipoddevice/files/digest-libipoddevice-0.5.0-r13
-rw-r--r--media-libs/libipoddevice/files/libipoddevice-0.5.0-gentoohal.patch11
-rw-r--r--media-libs/libipoddevice/libipoddevice-0.5.0-r1.ebuild47
4 files changed, 69 insertions, 1 deletions
diff --git a/media-libs/libipoddevice/ChangeLog b/media-libs/libipoddevice/ChangeLog
index c64d1599ba0a..b9f4c9450f4a 100644
--- a/media-libs/libipoddevice/ChangeLog
+++ b/media-libs/libipoddevice/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-libs/libipoddevice
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libipoddevice/ChangeLog,v 1.6 2006/09/19 21:11:46 metalgod Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libipoddevice/ChangeLog,v 1.7 2006/10/08 16:01:28 metalgod Exp $
+
+*libipoddevice-0.5.0-r1 (08 Oct 2006)
+
+ 08 Oct 2006; Luis Medinas <metalgod@gentoo.org>
+ +files/libipoddevice-0.5.0-gentoohal.patch,
+ +libipoddevice-0.5.0-r1.ebuild:
+ Fix libipoddevice against our hal fixes bug #148605.
*libipoddevice-0.5.0 (19 Sep 2006)
diff --git a/media-libs/libipoddevice/files/digest-libipoddevice-0.5.0-r1 b/media-libs/libipoddevice/files/digest-libipoddevice-0.5.0-r1
new file mode 100644
index 000000000000..db55551d17e6
--- /dev/null
+++ b/media-libs/libipoddevice/files/digest-libipoddevice-0.5.0-r1
@@ -0,0 +1,3 @@
+MD5 c0abe8c4890422fd0686801c8c685348 libipoddevice-0.5.0.tar.gz 351535
+RMD160 814ba67a5ab8a97653466e27d89d715c6d395acc libipoddevice-0.5.0.tar.gz 351535
+SHA256 4da39bccfe605c5ca35abf606603395eedae83feab159184ad4f5efc2acac12d libipoddevice-0.5.0.tar.gz 351535
diff --git a/media-libs/libipoddevice/files/libipoddevice-0.5.0-gentoohal.patch b/media-libs/libipoddevice/files/libipoddevice-0.5.0-gentoohal.patch
new file mode 100644
index 000000000000..5e35469b623d
--- /dev/null
+++ b/media-libs/libipoddevice/files/libipoddevice-0.5.0-gentoohal.patch
@@ -0,0 +1,11 @@
+--- libipoddevice-0.5.0/data/20-ipod-info.fdi.orig 2006-09-18 14:42:48.000000000 +0100
++++ libipoddevice-0.5.0/data/20-ipod-info.fdi 2006-10-08 16:48:04.901441896 +0100
+@@ -4,7 +4,7 @@
+ <device>
+ <match key="@info.parent:storage.vendor" contains="Apple">
+ <match key="@info.parent:storage.model" contains="iPod">
+- <match key="volume.policy.should_mount" bool="true">
++ <match key="volume.fsusage" contains="filesystem">
+ <append key="org.freedesktop.Hal.Device.Volume.method_names" type="strlist">WriteIpodInfo</append>
+ <append key="org.freedesktop.Hal.Device.Volume.method_signatures" type="strlist">as</append>
+ <append key="org.freedesktop.Hal.Device.Volume.method_execpaths" type="strlist">hal-ipod-info</append>
diff --git a/media-libs/libipoddevice/libipoddevice-0.5.0-r1.ebuild b/media-libs/libipoddevice/libipoddevice-0.5.0-r1.ebuild
new file mode 100644
index 000000000000..b087fac465f9
--- /dev/null
+++ b/media-libs/libipoddevice/libipoddevice-0.5.0-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libipoddevice/libipoddevice-0.5.0-r1.ebuild,v 1.1 2006/10/08 16:01:28 metalgod Exp $
+
+inherit multilib eutils
+
+DESCRIPTION="libipoddevice is a device-specific layer for the Apple iPod"
+HOMEPAGE="http://banshee-project.org/Libipoddevice"
+SRC_URI="http://banshee-project.org/files/libipoddevice/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=sys-apps/dbus-0.60
+ >=sys-apps/hal-0.5.2
+ sys-apps/pmount
+ virtual/eject"
+
+DEPEND="${RDEPEND}
+ >=dev-libs/glib-2.0
+ >=gnome-base/libgtop-2.12
+ >=sys-apps/sg3_utils-1.20"
+
+src_unpack() {
+ unpack ${A}
+ # use correct libdir in pkgconfig file
+ if [ $(get_libdir) != "lib" ] ; then
+ sed -i -e 's:^libdir=.*:libdir=@libdir@:' \
+ ${S}/ipoddevice.pc.in || die "sed failed"
+ fi
+ epatch ${FILESDIR}/${P}-gentoohal.patch
+}
+pkg_setup() {
+ if ! built_with_use sys-apps/dbus gtk; then
+ die "need sys-libs/dbus built with gtk USE flag"
+ fi
+}
+src_compile() {
+ econf || die "configure failed"
+ emake || die "make failed"
+}
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc ChangeLog NEWS README
+}