diff options
author | Charlie Shepherd <masterdriverz@gentoo.org> | 2007-03-09 23:41:04 +0000 |
---|---|---|
committer | Charlie Shepherd <masterdriverz@gentoo.org> | 2007-03-09 23:41:04 +0000 |
commit | 9c7e3ede22bec1e09e97ffd16b643e8781d0e2cb (patch) | |
tree | 3fb84b815be713aafcdde1e95374ab28c7ebf7a0 | |
parent | Add mono flag for libkarma (diff) | |
download | gentoo-2-9c7e3ede22bec1e09e97ffd16b643e8781d0e2cb.tar.gz gentoo-2-9c7e3ede22bec1e09e97ffd16b643e8781d0e2cb.tar.bz2 gentoo-2-9c7e3ede22bec1e09e97ffd16b643e8781d0e2cb.zip |
Add mono useflag and give shared library a SONAME
(Portage version: 2.1.2-r13)
-rw-r--r-- | media-libs/libkarma/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/libkarma/files/digest-libkarma-0.0.6-r1 (renamed from media-libs/libkarma/files/digest-libkarma-0.0.6) | 0 | ||||
-rw-r--r-- | media-libs/libkarma/files/libkarma-0.0.6-mono.patch | 22 | ||||
-rw-r--r-- | media-libs/libkarma/files/libkarma-0.0.6-soname.patch | 11 | ||||
-rw-r--r-- | media-libs/libkarma/libkarma-0.0.6-r1.ebuild (renamed from media-libs/libkarma/libkarma-0.0.6.ebuild) | 11 |
5 files changed, 47 insertions, 6 deletions
diff --git a/media-libs/libkarma/ChangeLog b/media-libs/libkarma/ChangeLog index 869bf2190df3..b0fc234950d2 100644 --- a/media-libs/libkarma/ChangeLog +++ b/media-libs/libkarma/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/libkarma # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libkarma/ChangeLog,v 1.4 2007/03/09 13:59:12 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libkarma/ChangeLog,v 1.5 2007/03/09 23:41:04 masterdriverz Exp $ + +*libkarma-0.0.6-r1 (09 Mar 2007) + + 09 Mar 2007; Charlie Shepherd <masterdriverz@gentoo.org> + +files/libkarma-0.0.6-mono.patch, +files/libkarma-0.0.6-soname.patch, + -libkarma-0.0.6.ebuild, +libkarma-0.0.6-r1.ebuild: + Add mono useflag and give shared library a SONAME 09 Mar 2007; <genstef@gentoo.org> libkarma-0.0.6.ebuild: Add needed libusb depend thanks jmbsvicetto diff --git a/media-libs/libkarma/files/digest-libkarma-0.0.6 b/media-libs/libkarma/files/digest-libkarma-0.0.6-r1 index b4c2bd0f04e1..b4c2bd0f04e1 100644 --- a/media-libs/libkarma/files/digest-libkarma-0.0.6 +++ b/media-libs/libkarma/files/digest-libkarma-0.0.6-r1 diff --git a/media-libs/libkarma/files/libkarma-0.0.6-mono.patch b/media-libs/libkarma/files/libkarma-0.0.6-mono.patch new file mode 100644 index 000000000000..755b26c0e6b4 --- /dev/null +++ b/media-libs/libkarma/files/libkarma-0.0.6-mono.patch @@ -0,0 +1,22 @@ +diff -ur libkarma-orig/Makefile libkarma/Makefile +--- libkarma-orig/Makefile 2007-02-28 01:39:36.000000000 -0100 ++++ libkarma/Makefile 2007-02-28 01:09:23.000000000 -0100 +@@ -13,7 +13,7 @@ + Jamfile Makefile COPYING ChangeLog THANKS INSTALL TODO \ + install-sh karma-tools.spec + +-all: libkarma tools karma-sharp ++all: libkarma tools + + install: libkarma tools karma-sharp + cd $(LK_SRC) && $(MAKE) install +@@ -31,9 +31,6 @@ + tools: FORCE + cd $(TOOLSDIR) && $(MAKE) + +-karma-sharp: FORCE +- cd karma-sharp && $(MAKE) +- + dist: + mkdir -p $(DISTNAME) + mkdir -p $(DISTNAME)/$(LK_SRC) diff --git a/media-libs/libkarma/files/libkarma-0.0.6-soname.patch b/media-libs/libkarma/files/libkarma-0.0.6-soname.patch new file mode 100644 index 000000000000..f8e3ecd986cb --- /dev/null +++ b/media-libs/libkarma/files/libkarma-0.0.6-soname.patch @@ -0,0 +1,11 @@ +--- libkarma-orig/src/Makefile 2007-02-28 01:39:45.000000000 -0100 ++++ libkarma/src/Makefile 2007-03-09 20:55:13.000000000 -0100 +@@ -40,7 +40,7 @@ + $(RANLIB) $(LIBDIR)/$(TARGET).a + + shared: $(OBJS) $(LIBDIR) +- $(CC) -shared $(OBJS) $(CFLAGS) -o $(LIBDIR)/$(TARGET).so -ltag_c ++ $(CC) -shared $(OBJS) $(CFLAGS) -o $(LIBDIR)/$(TARGET).so -ltag_c -Wl,-soname,$(NAME)-$(VERSION) + + all: $(TARGET) shared + diff --git a/media-libs/libkarma/libkarma-0.0.6.ebuild b/media-libs/libkarma/libkarma-0.0.6-r1.ebuild index 2bd92465182e..37ea3efcce14 100644 --- a/media-libs/libkarma/libkarma-0.0.6.ebuild +++ b/media-libs/libkarma/libkarma-0.0.6-r1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libkarma/libkarma-0.0.6.ebuild,v 1.4 2007/03/09 13:59:12 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libkarma/libkarma-0.0.6-r1.ebuild,v 1.1 2007/03/09 23:41:04 masterdriverz Exp $ -inherit eutils mono multilib +inherit eutils mono DESCRIPTION="Support library for using Rio devices with mtp" HOMEPAGE="http://www.freakysoft.de/html/libkarma/" @@ -11,17 +11,18 @@ SRC_URI="http://www.freakysoft.de/html/libkarma/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -IUSE="" +IUSE="mono" DEPEND="virtual/libiconv media-libs/taglib + mono? ( dev-lang/mono ) dev-libs/libusb" -RDEPEND="${DEPEND}" src_unpack() { unpack ${A} cd "${S}" - epatch "${FILESDIR}/${P}-gentoo.patch" + use !mono && epatch "${FILESDIR}/${P}-mono.patch" + epatch "${FILESDIR}/${P}-soname.patch" } src_compile() { |