public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in x11-plugins/wmsound: ChangeLog wmsound-0.9.5.ebuild
@ 2009-01-19 15:21 Michele Noberasco (s4t4n)
  0 siblings, 0 replies; 5+ messages in thread
From: Michele Noberasco (s4t4n) @ 2009-01-19 15:21 UTC (permalink / raw
  To: gentoo-commits

s4t4n       09/01/19 15:21:36

  Modified:             ChangeLog wmsound-0.9.5.ebuild
  Log:
  Fixed compilation with --as-needed. Closes bug #248650.
  (Portage version: 2.1.6.4/cvs/Linux 2.6.24-tuxonice-r9 i686)

Revision  Changes    Path
1.8                  x11-plugins/wmsound/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmsound/ChangeLog?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmsound/ChangeLog?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmsound/ChangeLog?r1=1.7&r2=1.8

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/ChangeLog,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ChangeLog	17 Nov 2008 23:13:19 -0000	1.7
+++ ChangeLog	19 Jan 2009 15:21:36 -0000	1.8
@@ -1,6 +1,9 @@
 # ChangeLog for x11-plugins/wmsound
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/ChangeLog,v 1.7 2008/11/17 23:13:19 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/ChangeLog,v 1.8 2009/01/19 15:21:36 s4t4n Exp $
+
+  19 Jan 2009; Michele Noberasco <s4t4n@gentoo.org> wmsound-0.9.5.ebuild:
+  Fixed compilation with --as-needed. Closes bug #248650.
 
   17 Nov 2008; Diego E. Pettenò <flameeyes@gentoo.org>
   files/wmsound-esd.patch:



1.7                  x11-plugins/wmsound/wmsound-0.9.5.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild?r1=1.6&r2=1.7

Index: wmsound-0.9.5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- wmsound-0.9.5.ebuild	27 Oct 2006 08:49:38 -0000	1.6
+++ wmsound-0.9.5.ebuild	19 Jan 2009 15:21:36 -0000	1.7
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2009 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.ebuild,v 1.6 2006/10/27 08:49:38 s4t4n Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild,v 1.7 2009/01/19 15:21:36 s4t4n Exp $
 
 inherit eutils
 
@@ -26,25 +26,29 @@
 {
 	unpack ${A}
 
-	cd ${S}
-	epatch ${FILESDIR}/wmsound-config.patch
-	epatch ${FILESDIR}/wmsound-ComplexProgramTargetNoMan.patch
-	use esd && epatch ${FILESDIR}/wmsound-esd.patch
+	cd "${S}"
+	epatch "${FILESDIR}/wmsound-config.patch"
+	epatch "${FILESDIR}/wmsound-ComplexProgramTargetNoMan.patch"
+	use esd && epatch "${FILESDIR}/wmsound-esd.patch"
+
+	#Fix compilation with --as-needed.
+	sed -i 's:-lPropList $(WMSOUNDLIB):$(WMSOUNDLIB) -lPropList:' src/Imakefile
+	sed -i 's:-lPropList $(XLIB) $(WMSOUNDLIB):$(WMSOUNDLIB) -lPropList $(XLIB):' utils/Imakefile
 }
 
 src_compile()
 {
 	export PATH="${PATH}:/usr/X11R6/bin"
 
-	cd ${S}
+	cd "${S}"
 	xmkmf -a
 	emake CDEBUGFLAGS="${CFLAGS}" || die "make failed"
 }
 
 src_install()
 {
-	cd ${S}
-	einstall PREFIX=${D}/usr USRLIBDIR=${D}/usr/X11R6/lib || die "make install failed"
+	cd "${S}"
+	einstall PREFIX="${D}/usr" USRLIBDIR="${D}/usr/X11R6/lib" || die "make install failed"
 	dodoc AUTHORS BUGS ChangeLog
 }
 






^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-commits] gentoo-x86 commit in x11-plugins/wmsound: ChangeLog wmsound-0.9.5.ebuild
@ 2010-08-31  8:51 Michele Noberasco (s4t4n)
  0 siblings, 0 replies; 5+ messages in thread
From: Michele Noberasco (s4t4n) @ 2010-08-31  8:51 UTC (permalink / raw
  To: gentoo-commits

s4t4n       10/08/31 08:51:59

  Modified:             ChangeLog wmsound-0.9.5.ebuild
  Log:
  Make package honour LDFLAGS. Closes bug #335029.
  (Portage version: 2.1.8.3/cvs/Linux i686)

Revision  Changes    Path
1.9                  x11-plugins/wmsound/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmsound/ChangeLog?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmsound/ChangeLog?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmsound/ChangeLog?r1=1.8&r2=1.9

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/ChangeLog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ChangeLog	19 Jan 2009 15:21:36 -0000	1.8
+++ ChangeLog	31 Aug 2010 08:51:59 -0000	1.9
@@ -1,6 +1,9 @@
 # ChangeLog for x11-plugins/wmsound
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/ChangeLog,v 1.8 2009/01/19 15:21:36 s4t4n Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/ChangeLog,v 1.9 2010/08/31 08:51:59 s4t4n Exp $
+
+  31 Aug 2010; Michele Noberasco <s4t4n@gentoo.org> wmsound-0.9.5.ebuild:
+  Make package honour LDFLAGS. Closes bug #335029.
 
   19 Jan 2009; Michele Noberasco <s4t4n@gentoo.org> wmsound-0.9.5.ebuild:
   Fixed compilation with --as-needed. Closes bug #248650.



1.8                  x11-plugins/wmsound/wmsound-0.9.5.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild?r1=1.7&r2=1.8

Index: wmsound-0.9.5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- wmsound-0.9.5.ebuild	19 Jan 2009 15:21:36 -0000	1.7
+++ wmsound-0.9.5.ebuild	31 Aug 2010 08:51:59 -0000	1.8
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 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.ebuild,v 1.7 2009/01/19 15:21:36 s4t4n Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild,v 1.8 2010/08/31 08:51:59 s4t4n Exp $
 
 inherit eutils
 
@@ -42,7 +42,7 @@
 
 	cd "${S}"
 	xmkmf -a
-	emake CDEBUGFLAGS="${CFLAGS}" || die "make failed"
+	emake CDEBUGFLAGS="${CFLAGS}" LDOPTIONS="${LDFLAGS}" || die "make failed"
 }
 
 src_install()






^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-commits] gentoo-x86 commit in x11-plugins/wmsound: ChangeLog wmsound-0.9.5.ebuild
@ 2012-03-18 13:27 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 5+ messages in thread
From: Samuli Suominen (ssuominen) @ 2012-03-18 13:27 UTC (permalink / raw
  To: gentoo-commits

ssuominen    12/03/18 13:27:39

  Modified:             ChangeLog wmsound-0.9.5.ebuild
  Log:
  Remove USE="esd" because media-sound/esound isn't in tree anymore.
  
  (Portage version: 2.2.0_alpha90/cvs/Linux x86_64)

Revision  Changes    Path
1.10                 x11-plugins/wmsound/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmsound/ChangeLog?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmsound/ChangeLog?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmsound/ChangeLog?r1=1.9&r2=1.10

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ChangeLog	31 Aug 2010 08:51:59 -0000	1.9
+++ ChangeLog	18 Mar 2012 13:27:38 -0000	1.10
@@ -1,6 +1,10 @@
 # ChangeLog for x11-plugins/wmsound
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/ChangeLog,v 1.9 2010/08/31 08:51:59 s4t4n Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/ChangeLog,v 1.10 2012/03/18 13:27:38 ssuominen Exp $
+
+  18 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> wmsound-0.9.5.ebuild,
+  -files/wmsound-esd.patch:
+  Remove USE="esd" because media-sound/esound isn't in tree anymore.
 
   31 Aug 2010; Michele Noberasco <s4t4n@gentoo.org> wmsound-0.9.5.ebuild:
   Make package honour LDFLAGS. Closes bug #335029.



1.9                  x11-plugins/wmsound/wmsound-0.9.5.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild?rev=1.9&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild?rev=1.9&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild?r1=1.8&r2=1.9

Index: wmsound-0.9.5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- wmsound-0.9.5.ebuild	31 Aug 2010 08:51:59 -0000	1.8
+++ wmsound-0.9.5.ebuild	18 Mar 2012 13:27:38 -0000	1.9
@@ -1,10 +1,10 @@
-# Copyright 1999-2010 Gentoo Foundation
+# 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.ebuild,v 1.8 2010/08/31 08:51:59 s4t4n Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild,v 1.9 2012/03/18 13:27:38 ssuominen Exp $
 
 inherit eutils
 
-IUSE="esd"
+IUSE=""
 
 DESCRIPTION="WindowMaker sound server"
 SRC_URI="http://largo.windowmaker.org/files/${P}.tar.gz"
@@ -12,7 +12,6 @@
 
 RDEPEND=">=x11-wm/windowmaker-0.80.2-r1
 	>=x11-libs/libPropList-0.10.1-r3
-	esd? ( >=media-sound/esound-0.2.34 )
 	>=media-sound/wmsound-data-1.0.0"
 
 DEPEND="${RDEPEND}
@@ -29,7 +28,6 @@
 	cd "${S}"
 	epatch "${FILESDIR}/wmsound-config.patch"
 	epatch "${FILESDIR}/wmsound-ComplexProgramTargetNoMan.patch"
-	use esd && epatch "${FILESDIR}/wmsound-esd.patch"
 
 	#Fix compilation with --as-needed.
 	sed -i 's:-lPropList $(WMSOUNDLIB):$(WMSOUNDLIB) -lPropList:' src/Imakefile






^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-commits] gentoo-x86 commit in x11-plugins/wmsound: ChangeLog wmsound-0.9.5.ebuild
@ 2012-06-14 18:44 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 5+ messages in thread
From: Samuli Suominen (ssuominen) @ 2012-06-14 18:44 UTC (permalink / raw
  To: gentoo-commits

ssuominen    12/06/14 18:44:07

  Modified:             ChangeLog wmsound-0.9.5.ebuild
  Log:
  x11-libs/libPropList rename to x11-libs/libproplist
  
  (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

Revision  Changes    Path
1.11                 x11-plugins/wmsound/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmsound/ChangeLog?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmsound/ChangeLog?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmsound/ChangeLog?r1=1.10&r2=1.11

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ChangeLog	18 Mar 2012 13:27:38 -0000	1.10
+++ ChangeLog	14 Jun 2012 18:44:07 -0000	1.11
@@ -1,6 +1,9 @@
 # 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.10 2012/03/18 13:27:38 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/ChangeLog,v 1.11 2012/06/14 18:44:07 ssuominen Exp $
+
+  14 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> wmsound-0.9.5.ebuild:
+  x11-libs/libPropList rename to x11-libs/libproplist
 
   18 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> wmsound-0.9.5.ebuild,
   -files/wmsound-esd.patch:



1.10                 x11-plugins/wmsound/wmsound-0.9.5.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild?r1=1.9&r2=1.10

Index: wmsound-0.9.5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- wmsound-0.9.5.ebuild	18 Mar 2012 13:27:38 -0000	1.9
+++ wmsound-0.9.5.ebuild	14 Jun 2012 18:44:07 -0000	1.10
@@ -1,6 +1,6 @@
 # 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.ebuild,v 1.9 2012/03/18 13:27:38 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild,v 1.10 2012/06/14 18:44:07 ssuominen Exp $
 
 inherit eutils
 
@@ -11,7 +11,7 @@
 HOMEPAGE="http://largo.windowmaker.org/"
 
 RDEPEND=">=x11-wm/windowmaker-0.80.2-r1
-	>=x11-libs/libPropList-0.10.1-r3
+	x11-libs/libproplist
 	>=media-sound/wmsound-data-1.0.0"
 
 DEPEND="${RDEPEND}






^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-commits] gentoo-x86 commit in x11-plugins/wmsound: ChangeLog wmsound-0.9.5.ebuild
@ 2012-06-14 19:15 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 5+ messages in thread
From: Samuli Suominen (ssuominen) @ 2012-06-14 19:15 UTC (permalink / raw
  To: gentoo-commits

ssuominen    12/06/14 19:15:02

  Modified:             ChangeLog wmsound-0.9.5.ebuild
  Log:
  Update this ancient ebuild to not use /usr/X11R6 anymore. Use toolchain-funcs.eclass to pass correct CC. Convert from "einstall" to "emake install". Missing x11-misc/gccmakedep DEPEND.
  
  (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

Revision  Changes    Path
1.12                 x11-plugins/wmsound/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmsound/ChangeLog?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmsound/ChangeLog?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmsound/ChangeLog?r1=1.11&r2=1.12

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/ChangeLog,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ChangeLog	14 Jun 2012 18:44:07 -0000	1.11
+++ ChangeLog	14 Jun 2012 19:15:02 -0000	1.12
@@ -1,6 +1,11 @@
 # 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.11 2012/06/14 18:44:07 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/ChangeLog,v 1.12 2012/06/14 19:15:02 ssuominen Exp $
+
+  14 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> wmsound-0.9.5.ebuild:
+  Update this ancient ebuild to not use /usr/X11R6 anymore. Use
+  toolchain-funcs.eclass to pass correct CC. Convert from "einstall" to "emake
+  install". Missing x11-misc/gccmakedep DEPEND.
 
   14 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> wmsound-0.9.5.ebuild:
   x11-libs/libPropList rename to x11-libs/libproplist



1.11                 x11-plugins/wmsound/wmsound-0.9.5.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild?r1=1.10&r2=1.11

Index: wmsound-0.9.5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- wmsound-0.9.5.ebuild	14 Jun 2012 18:44:07 -0000	1.10
+++ wmsound-0.9.5.ebuild	14 Jun 2012 19:15:02 -0000	1.11
@@ -1,56 +1,46 @@
 # 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.ebuild,v 1.10 2012/06/14 18:44:07 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsound/wmsound-0.9.5.ebuild,v 1.11 2012/06/14 19:15:02 ssuominen Exp $
 
-inherit eutils
-
-IUSE=""
+EAPI=4
+inherit eutils multilib toolchain-funcs
 
 DESCRIPTION="WindowMaker sound server"
-SRC_URI="http://largo.windowmaker.org/files/${P}.tar.gz"
 HOMEPAGE="http://largo.windowmaker.org/"
+SRC_URI="http://largo.windowmaker.org/files/${P}.tar.gz"
 
-RDEPEND=">=x11-wm/windowmaker-0.80.2-r1
+RDEPEND="media-sound/wmsound-data
 	x11-libs/libproplist
-	>=media-sound/wmsound-data-1.0.0"
-
+	x11-wm/windowmaker"
 DEPEND="${RDEPEND}
+	x11-misc/gccmakedep
 	x11-misc/imake"
 
-SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS="x86 ~ppc"
+SLOT="0"
+KEYWORDS="~ppc x86"
+IUSE=""
 
-src_unpack()
-{
-	unpack ${A}
-
-	cd "${S}"
-	epatch "${FILESDIR}/wmsound-config.patch"
-	epatch "${FILESDIR}/wmsound-ComplexProgramTargetNoMan.patch"
-
-	#Fix compilation with --as-needed.
-	sed -i 's:-lPropList $(WMSOUNDLIB):$(WMSOUNDLIB) -lPropList:' src/Imakefile
-	sed -i 's:-lPropList $(XLIB) $(WMSOUNDLIB):$(WMSOUNDLIB) -lPropList $(XLIB):' utils/Imakefile
+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()
-{
-	export PATH="${PATH}:/usr/X11R6/bin"
-
-	cd "${S}"
-	xmkmf -a
-	emake CDEBUGFLAGS="${CFLAGS}" LDOPTIONS="${LDFLAGS}" || die "make failed"
+src_compile() {
+	xmkmf -a || die
+	emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" LDOPTIONS="${LDFLAGS}"
 }
 
-src_install()
-{
-	cd "${S}"
-	einstall PREFIX="${D}/usr" USRLIBDIR="${D}/usr/X11R6/lib" || die "make install failed"
+src_install() {
+	emake PREFIX="${D}/usr" USRLIBDIR="${D}/usr/$(get_libdir)" install
 	dodoc AUTHORS BUGS ChangeLog
 }
-
-pkg_postinst()
-{
-	einfo "WMSound currently supports 8 or 16 bit .wav files."
-}






^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-06-14 19:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-14 18:44 [gentoo-commits] gentoo-x86 commit in x11-plugins/wmsound: ChangeLog wmsound-0.9.5.ebuild Samuli Suominen (ssuominen)
  -- strict thread matches above, loose matches on Subject: below --
2012-06-14 19:15 Samuli Suominen (ssuominen)
2012-03-18 13:27 Samuli Suominen (ssuominen)
2010-08-31  8:51 Michele Noberasco (s4t4n)
2009-01-19 15:21 Michele Noberasco (s4t4n)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox