diff options
author | 2012-06-14 19:23:39 +0000 | |
---|---|---|
committer | 2012-06-14 19:23:39 +0000 | |
commit | d4550c6f7807220b4fc24c327b0f29ca79f45b6c (patch) | |
tree | c09fd2f1f2cc5ea9f1192b851f0c01f9d1604c1b /x11-plugins | |
parent | Update this ancient ebuild to not use /usr/X11R6 anymore. Use toolchain-funcs... (diff) | |
download | gentoo-2-d4550c6f7807220b4fc24c327b0f29ca79f45b6c.tar.gz gentoo-2-d4550c6f7807220b4fc24c327b0f29ca79f45b6c.tar.bz2 gentoo-2-d4550c6f7807220b4fc24c327b0f29ca79f45b6c.zip |
Revision bump to get rid of unused libwmsnd.a static archive and wmsnd.h include.
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'x11-plugins')
-rw-r--r-- | x11-plugins/wmsound/ChangeLog | 8 | ||||
-rw-r--r-- | x11-plugins/wmsound/wmsound-0.9.5-r1.ebuild | 50 |
2 files changed, 57 insertions, 1 deletions
diff --git a/x11-plugins/wmsound/ChangeLog b/x11-plugins/wmsound/ChangeLog index fb629305d4c8..173f3b3cdb56 100644 --- a/x11-plugins/wmsound/ChangeLog +++ b/x11-plugins/wmsound/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-plugins/wmsound # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/ChangeLog,v 1.12 2012/06/14 19:15:02 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/ChangeLog,v 1.13 2012/06/14 19:23:39 ssuominen Exp $ + +*wmsound-0.9.5-r1 (14 Jun 2012) + + 14 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> +wmsound-0.9.5-r1.ebuild: + Revision bump to get rid of unused libwmsnd.a static archive and wmsnd.h + include. 14 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> wmsound-0.9.5.ebuild: Update this ancient ebuild to not use /usr/X11R6 anymore. Use diff --git a/x11-plugins/wmsound/wmsound-0.9.5-r1.ebuild b/x11-plugins/wmsound/wmsound-0.9.5-r1.ebuild new file mode 100644 index 000000000000..f1672cc31908 --- /dev/null +++ b/x11-plugins/wmsound/wmsound-0.9.5-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5-r1.ebuild,v 1.1 2012/06/14 19:23:39 ssuominen Exp $ + +EAPI=4 +inherit eutils toolchain-funcs + +DESCRIPTION="WindowMaker sound server" +HOMEPAGE="http://largo.windowmaker.org/" +SRC_URI="http://largo.windowmaker.org/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="" + +RDEPEND="media-sound/wmsound-data + x11-libs/libproplist + x11-wm/windowmaker" +DEPEND="${RDEPEND} + x11-misc/gccmakedep + x11-misc/imake" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-config.patch \ + "${FILESDIR}"/${PN}-ComplexProgramTargetNoMan.patch + + # Fix building with -Wl,--as-needed + sed -i \ + -e 's:-lPropList $(WMSOUNDLIB):$(WMSOUNDLIB) -lPropList:' \ + src/Imakefile || die + sed -i \ + -e 's:-lPropList $(XLIB) $(WMSOUNDLIB):$(WMSOUNDLIB) -lPropList $(XLIB):' \ + utils/Imakefile || die +} + +src_compile() { + xmkmf -a || die + emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" LDOPTIONS="${LDFLAGS}" +} + +src_install() { + emake DESTDIR="${D}/usr" install + dodoc AUTHORS BUGS ChangeLog + + # Remove libwmsnd.a and wmsnd.h because they are unused, see: + # http://qa-reports.gentoo.org/output/genrdeps/dindex/media-sound/wmsound + rm -rf "${ED}"/usr/{include,lib*} +} |