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
|
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
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.
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/
just noticed that the license in the ebuild is stale. The download page states
the license as LGPL.
(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"
>}
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.