From: Charlie Shepherd Date: Fri, 9 Mar 2007 23:41:04 +0000 (+0000) Subject: Add mono useflag and give shared library a SONAME X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e048f4fcee5964c8a6078460881a7d54d56f8f3f;p=gentoo.git Add mono useflag and give shared library a SONAME Package-Manager: portage-2.1.2-r13 --- 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 + +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; libkarma-0.0.6.ebuild: Add needed libusb depend thanks jmbsvicetto diff --git a/media-libs/libkarma/Manifest b/media-libs/libkarma/Manifest index db6e07e9ace4..2ae8f8b3c3de 100644 --- a/media-libs/libkarma/Manifest +++ b/media-libs/libkarma/Manifest @@ -2,19 +2,27 @@ AUX libkarma-0.0.6-gentoo.patch 583 RMD160 b5019f17f39ae5c353f0dd938bd7645894c5f MD5 969730c80c0c4a8a3119e12d5441c551 files/libkarma-0.0.6-gentoo.patch 583 RMD160 b5019f17f39ae5c353f0dd938bd7645894c5f68a files/libkarma-0.0.6-gentoo.patch 583 SHA256 f18be831649bd3f554b92c81a3774b2c160f814714e42d0129723c925e22923d files/libkarma-0.0.6-gentoo.patch 583 +AUX libkarma-0.0.6-mono.patch 583 RMD160 b5019f17f39ae5c353f0dd938bd7645894c5f68a SHA1 35fe837d84f79d0653ba9e0caa137fa35409abcd SHA256 f18be831649bd3f554b92c81a3774b2c160f814714e42d0129723c925e22923d +MD5 969730c80c0c4a8a3119e12d5441c551 files/libkarma-0.0.6-mono.patch 583 +RMD160 b5019f17f39ae5c353f0dd938bd7645894c5f68a files/libkarma-0.0.6-mono.patch 583 +SHA256 f18be831649bd3f554b92c81a3774b2c160f814714e42d0129723c925e22923d files/libkarma-0.0.6-mono.patch 583 +AUX libkarma-0.0.6-soname.patch 404 RMD160 1a8e1d0103b2b33e9449aab52bd8273c5360cd90 SHA1 0de114fed42581c7b30f559b2aa18b46af2ff74c SHA256 3d7145ddbf2cd5647ff52c969fbecfb2174440d1768420dd3624f91ed5c0e4b8 +MD5 9cb4c35643f9f72f217bcb28c6d99d8b files/libkarma-0.0.6-soname.patch 404 +RMD160 1a8e1d0103b2b33e9449aab52bd8273c5360cd90 files/libkarma-0.0.6-soname.patch 404 +SHA256 3d7145ddbf2cd5647ff52c969fbecfb2174440d1768420dd3624f91ed5c0e4b8 files/libkarma-0.0.6-soname.patch 404 DIST libkarma-0.0.6.tar.gz 73957 RMD160 ce160a5264de7d981494f365b6e35db4113ef2f8 SHA1 4992e883b93bd62c185362d7f6399b2e99a235f7 SHA256 5ead4907c9e4c61d243f78a9d7adfa8116dbcd0eaaae1094e341f887cf59341e -EBUILD libkarma-0.0.6.ebuild 872 RMD160 008057e416346a92b302b03c8f5e30c3fb5a7ab3 SHA1 b4653209161089a41b42a882e893968cf40e79f8 SHA256 7ba99de8eaf841b550ce6bc934ef57f4ea507b5205d9b886dbb5988508bbea62 -MD5 07aa693206d7f24892843a3b98bc746d libkarma-0.0.6.ebuild 872 -RMD160 008057e416346a92b302b03c8f5e30c3fb5a7ab3 libkarma-0.0.6.ebuild 872 -SHA256 7ba99de8eaf841b550ce6bc934ef57f4ea507b5205d9b886dbb5988508bbea62 libkarma-0.0.6.ebuild 872 -MISC ChangeLog 709 RMD160 d1cece753d4f12f2c81a3bac5b349c8b429e6dae SHA1 138002b83b2c62528c12ba88e4e96a347a512d3c SHA256 069607eeb55a9d7dd7f680a5824a0aec3e3f4ce34d06c1b9601a0010740de311 -MD5 6c5f603f15676d0c34307914d0d0b0dc ChangeLog 709 -RMD160 d1cece753d4f12f2c81a3bac5b349c8b429e6dae ChangeLog 709 -SHA256 069607eeb55a9d7dd7f680a5824a0aec3e3f4ce34d06c1b9601a0010740de311 ChangeLog 709 +EBUILD libkarma-0.0.6-r1.ebuild 932 RMD160 32ce45837085bc20cbdf9a2c85db401c5b10f310 SHA1 cedb9f3c0180a590cdec0e4e9b476f21dfadd766 SHA256 fa7021cfeee3095cf94cf61e5da75ace429890b740df38f4e39b882bcc886ad3 +MD5 528b7653212d433f5e55d2d887970354 libkarma-0.0.6-r1.ebuild 932 +RMD160 32ce45837085bc20cbdf9a2c85db401c5b10f310 libkarma-0.0.6-r1.ebuild 932 +SHA256 fa7021cfeee3095cf94cf61e5da75ace429890b740df38f4e39b882bcc886ad3 libkarma-0.0.6-r1.ebuild 932 +MISC ChangeLog 986 RMD160 55b28d84effbfd0e0749ef0724207df053268d90 SHA1 5b3cc89572da56e717ccc7188babcc9b2af02104 SHA256 a9ca4bea0eff01cc78728824ea8b727da5eb4b48bb95b23adcc651c103089809 +MD5 0d1f1f0a44059280f9350e1b218e1f14 ChangeLog 986 +RMD160 55b28d84effbfd0e0749ef0724207df053268d90 ChangeLog 986 +SHA256 a9ca4bea0eff01cc78728824ea8b727da5eb4b48bb95b23adcc651c103089809 ChangeLog 986 MISC metadata.xml 175 RMD160 8217c4a76a964b25b18eb6446b5364cf64b138a8 SHA1 8ae12528d1d4edb7a19134a659e8e7e8027fdec8 SHA256 2f35f6077ef4ecfad27847015b45c84c02488fb5a80413e5537e28b410141053 MD5 1637953277a812ec316da84a5d6b3f41 metadata.xml 175 RMD160 8217c4a76a964b25b18eb6446b5364cf64b138a8 metadata.xml 175 SHA256 2f35f6077ef4ecfad27847015b45c84c02488fb5a80413e5537e28b410141053 metadata.xml 175 -MD5 bcaf9e42b418bfb85cf28a5b0e1fb107 files/digest-libkarma-0.0.6 241 -RMD160 a968888132fa97d505a995276df7e16017489cd9 files/digest-libkarma-0.0.6 241 -SHA256 a5e9a2968befaa33c45d1cffe70cb1194f67d967745336647f10b22b17c3672c files/digest-libkarma-0.0.6 241 +MD5 bcaf9e42b418bfb85cf28a5b0e1fb107 files/digest-libkarma-0.0.6-r1 241 +RMD160 a968888132fa97d505a995276df7e16017489cd9 files/digest-libkarma-0.0.6-r1 241 +SHA256 a5e9a2968befaa33c45d1cffe70cb1194f67d967745336647f10b22b17c3672c files/digest-libkarma-0.0.6-r1 241 diff --git a/media-libs/libkarma/files/digest-libkarma-0.0.6 b/media-libs/libkarma/files/digest-libkarma-0.0.6-r1 similarity index 100% rename from media-libs/libkarma/files/digest-libkarma-0.0.6 rename to 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 similarity index 77% rename from media-libs/libkarma/libkarma-0.0.6.ebuild rename to 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() {