Bug 156914 - media-libs/libclthreads-2.2.1 ebuild (version bump)
Bug#: 156914 Product:  Gentoo Linux Version: 2006.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: sound@gentoo.org Reported By: ron@einfach.org
Component: Ebuilds
URL: 
Summary: media-libs/libclthreads-2.2.1 ebuild (version bump)
Keywords:  
Status Whiteboard: 
Opened: 2006-12-02 07:34 0000
Description:   Opened: 2006-12-02 07:34 0000
hi,

i just updated the libclthreads ebuild + patch (new homepage, source files have
moved, also a new version)

compiles on my ~amd64, got no x86 to test it...

regards
ron

------- Comment #1 From ron widler 2006-12-02 07:35:17 0000 -------
Created an attachment (id=103215) [details]
ebuild for libclthreads-2.2.1

------- Comment #2 From ron widler 2006-12-02 07:35:43 0000 -------
Created an attachment (id=103216) [details]
makefile patch

------- Comment #3 From ron widler 2006-12-02 07:46:52 0000 -------
Created an attachment (id=103217) [details]
new makefile patch

clthreads.h got installed as /usr/include/, fixed now.

------- Comment #4 From Mike Mattie 2007-01-05 05:03:53 0000 -------
Created an attachment (id=105511) [details]
another Makefile patch

This makefile patch incorporates the effects of the stable libclthreads patch,
in particular using the -D install option for creating parent directories.

Also the -O2 gcc optimization flag is dropped from the Makefile so that CFLAGS
settings are not shadowed. 

------- Comment #5 From Mike Mattie 2007-01-05 05:08:08 0000 -------
Created an attachment (id=105515) [details]
another ebuild

Although nearly identical to the previously posted ebuild, this version uses
${PV} for the Makefile patch so that multiple versions can co-exist in files/

------- Comment #6 From Mike Mattie 2007-01-05 05:13:00 0000 -------
just noticed that the license in the ebuild is stale. The download page states
the license as LGPL.

------- Comment #7 From Mike Mattie 2007-01-05 05:47:39 0000 -------
(From update of attachment 105515 [details])
># Copyright 1999-2006 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header: /var/cvsroot/gentoo-x86/media-libs/libclthreads/libclthreads-1.0.2.ebuild,v 1.4 2006/03/06 14:41:16 flameeyes Exp $
>
>IUSE=""
>
>inherit eutils multilib toolchain-funcs
>
>MY_P="clthreads-${PV}"
>
>S="${WORKDIR}/${MY_P}"
>
>DESCRIPTION="An audio library by Fons Adriaensen <fons.adriaensen@skynet.be>"
>HOMEPAGE="http://www.kokkinizita.net/linuxaudio/"
>SRC_URI="http://www.kokkinizita.net/linuxaudio/downloads/${MY_P}.tar.bz2"
>
>LICENSE="GPL-2"
>SLOT="0"
>KEYWORDS="amd64 ~ppc sparc x86"
>
>src_unpack() {
>	unpack ${A}
>	cd ${S}
>	epatch "${FILESDIR}/${PV}-Makefile.patch"
>}
>
>src_compile() {
>	tc-export CC CXX
>	emake || die "emake failed"
>}
>
>src_install() {
>	make CLTHREADS_LIBDIR="/usr/$(get_libdir)" DESTDIR="${D}" install || die "make install failed"
        make CLTHREADS_LIBDIR="/usr/$(get_libdir)"
CLTHREADS_INCDIR="/usr/include/" DESTDIR="${D}" install || die "make install
failed"
>}

------- Comment #8 From Mike Mattie 2007-01-05 06:36:18 0000 -------
Created an attachment (id=105527) [details]
revised Makefile patch draft 2 (fixes a bug in stable and the bump)

Both the stable and the rev bump caused jaaa to fail compilation with
libclthreads.so unable to resolve clock_gettime.

This revision of the Makefile patch adds -lrt as a dependency fixing the
problem.

------- Comment #9 From Alexis Ballier 2007-04-19 20:46:34 0000 -------
bumped, thanks ;)