diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-05-16 02:37:50 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-05-16 02:37:50 +0000 |
commit | cea03499f7a75708b91a94fb51244ce80bbca39a (patch) | |
tree | c4f3b09611b4316d4d6b37f49c975d0426d14181 /media-libs/libsidplay | |
parent | Remove USE=doc mask for net-misc/dibbler. (diff) | |
download | gentoo-2-cea03499f7a75708b91a94fb51244ce80bbca39a.tar.gz gentoo-2-cea03499f7a75708b91a94fb51244ce80bbca39a.tar.bz2 gentoo-2-cea03499f7a75708b91a94fb51244ce80bbca39a.zip |
Remove reference to libtool files from Libs: -line of pkg-config files.
(Portage version: 2.2.0_alpha105/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libsidplay')
-rw-r--r-- | media-libs/libsidplay/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/libsidplay/files/libsidplay-2.1.1-no_libtool_reference.patch | 18 | ||||
-rw-r--r-- | media-libs/libsidplay/libsidplay-2.1.1-r3.ebuild | 53 |
3 files changed, 79 insertions, 1 deletions
diff --git a/media-libs/libsidplay/ChangeLog b/media-libs/libsidplay/ChangeLog index 429205ebd775..d73124877189 100644 --- a/media-libs/libsidplay/ChangeLog +++ b/media-libs/libsidplay/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/libsidplay # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libsidplay/ChangeLog,v 1.55 2012/05/16 02:25:49 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsidplay/ChangeLog,v 1.56 2012/05/16 02:37:50 ssuominen Exp $ + +*libsidplay-2.1.1-r3 (16 May 2012) + + 16 May 2012; Samuli Suominen <ssuominen@gentoo.org> + +libsidplay-2.1.1-r3.ebuild, + +files/libsidplay-2.1.1-no_libtool_reference.patch: + Remove reference to libtool files from Libs: -line of pkg-config files. 16 May 2012; Samuli Suominen <ssuominen@gentoo.org> libsidplay-1.36.59.ebuild, libsidplay-2.1.1-r2.ebuild: diff --git a/media-libs/libsidplay/files/libsidplay-2.1.1-no_libtool_reference.patch b/media-libs/libsidplay/files/libsidplay-2.1.1-no_libtool_reference.patch new file mode 100644 index 000000000000..ee0564306a66 --- /dev/null +++ b/media-libs/libsidplay/files/libsidplay-2.1.1-no_libtool_reference.patch @@ -0,0 +1,18 @@ +--- libsidplay/unix/libsidplay2.pc.in ++++ libsidplay/unix/libsidplay2.pc.in +@@ -7,5 +7,5 @@ + Name: @PACKAGE@ + Description: C64 cycle exact stereo sidplayer library. + Version: @VERSION@ +-Libs: ${libdir}/libsidplay2.la ++Libs: -lsidplay2 + Cflags: -DHAVE_UNIX -I${includedir} +--- libsidutils/unix/libsidutils.pc.in ++++ libsidutils/unix/libsidutils.pc.in +@@ -6,5 +6,5 @@ + Name: @PACKAGE@ + Description: Utils for supporting the libsidplay2 library. + Version: @VERSION@ +-Libs: ${libdir}/libsidutils.la ++Libs: -lsidutils + Cflags: -DHAVE_UNIX -I${includedir} diff --git a/media-libs/libsidplay/libsidplay-2.1.1-r3.ebuild b/media-libs/libsidplay/libsidplay-2.1.1-r3.ebuild new file mode 100644 index 000000000000..fd748513169a --- /dev/null +++ b/media-libs/libsidplay/libsidplay-2.1.1-r3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsidplay/libsidplay-2.1.1-r3.ebuild,v 1.1 2012/05/16 02:37:50 ssuominen Exp $ + +EAPI=4 +inherit eutils libtool + +MY_P=sidplay-libs-${PV} + +DESCRIPTION="C64 SID player library" +HOMEPAGE="http://sidplay2.sourceforge.net/" +SRC_URI="mirror://sourceforge/sidplay2/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="static-libs" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}2-gcc41.patch \ + "${FILESDIR}"/${P}-fbsd.patch \ + "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-no_libtool_reference.patch + + elibtoolize +} + +src_configure() { + econf \ + --enable-shared \ + $(use_enable static-libs static) \ + --with-pic +} + +src_install() { + emake DESTDIR="${D}" install + + docinto libsidplay + dodoc libsidplay/{AUTHORS,ChangeLog,README,TODO} + + docinto libsidutils + dodoc libsidutils/{AUTHORS,ChangeLog,README,TODO} + + docinto resid + dodoc resid/{AUTHORS,ChangeLog,NEWS,README,THANKS,TODO} + + doenvd "${FILESDIR}"/65resid + + find "${ED}" -name '*.la' -exec rm -f {} + +} |