Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 246903 Details for
Bug 336393
media-libs/libraw 0.10 has been released
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
diff to updated ebuild
libraw-0.9.1-to-0.10.0.ebuild.patch (text/plain), 2.67 KB, created by
David King
on 2010-09-11 20:33:17 UTC
(
hide
)
Description:
diff to updated ebuild
Filename:
MIME Type:
Creator:
David King
Created:
2010-09-11 20:33:17 UTC
Size:
2.67 KB
patch
obsolete
>--- media-libs/libraw/libraw-0.9.1.ebuild 2010-09-11 22:26:44.007721012 +0200 >+++ media-libs/libraw/libraw-0.10.0.ebuild 2010-09-11 22:27:33.743720971 +0200 >@@ -6,7 +6,7 @@ > > inherit eutils > >-DESCRIPTION="LibRaw is a library for reading RAW files obtained from digital photo cameras" >+DESCRIPTION="A library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)" > HOMEPAGE="http://www.libraw.org/" > SRC_URI="http://www.libraw.org/data/LibRaw-${PV}.tar.gz" > >@@ -18,35 +18,48 @@ > KEYWORDS="~amd64 ~x86" > IUSE="lcms openmp examples" > >-RDEPEND="" >+RDEPEND="lcms? ( =media-libs/lcms-1* )" >+DEPEND="${RDEPEND}" > > S="${WORKDIR}/LibRaw-${PV}" >+MY_LIBDIR=$(get_libdir) > > src_prepare() { > # Add pkg-config support >- epatch "${FILESDIR}/libraw-0.9.1-pkg-config.patch" || die "pkg-config patch failed." >+ epatch "${FILESDIR}/${P}-pkg-config.patch" || die "pkg-config patch failed" > > sed -i -e "s:/usr/local/:${D}usr/:g" \ > -e "/^CFLAGS/ s:-O4:${CFLAGS}:" \ >- Makefile || die "Patching the hell out of manual Makefile failed." >+ -e "s:usr/lib:usr/${MY_LIBDIR}:g" \ >+ Makefile || die "Patching the hell out of manual Makefile failed" >+ >+ sed -i -e "s:LIBDIR:${MY_LIBDIR}:" \ >+ -e "s:VERSION:${PV}:" \ >+ *.pc || die "Patching pc files failed" > > if use lcms; then >- sed -i -r '/^#LCMS/ s!^#!!' Makefile || die "Enabling LCMS failed." >+ sed -i -r '/^#LCMS/ s!^#!!' Makefile || die "Enabling LCMS failed" > sed -i -r -e '/^Libs/ s!$! -llcms!' \ >- -e '/^Requires/ s!$! lcms2!' *.pc || die "Adding pkg-config LCMS dependency failed." >+ -e '/^Requires/ s!$! lcms!' \ >+ *.pc || die "Adding pkg-config LCMS dependency failed" > fi > > if use openmp; then >- sed -i -r '/^CFLAGS/ s!^(.*)$!\1 -fopenmp!' Makefile || die "Enabling OpenMP failed." >- sed -i -r '/^Cflags/ s!$! -fopenmp!' *.pc || die "Adding pkg-config OpenMP dependency failed." >+ sed -i -r '/^CFLAGS/ s!^(.*)$!\1 -fopenmp!' \ >+ Makefile || die "Enabling OpenMP failed" >+ sed -i -r -e '/^Cflags/ s!$! -fopenmp!' \ >+ -e '/^Libs/ s!$! -lgomp!' \ >+ *.pc || die "Adding pkg-config OpenMP dependency failed" > fi > } > > src_install() { >- # This makefile doesn't even make the directories.. >- mkdir -p "${D}usr/include" "${D}usr/lib" "${D}usr/lib/pkgconfig" \ >- $(use examples && echo "${D}/usr/bin") || die "Directory making failed." >+ # This Makefile does not even make the directories. >+ mkdir -p "${D}usr/include" \ >+ "${D}usr/${MY_LIBDIR}" \ >+ "${D}usr/${MY_LIBDIR}/pkgconfig" \ >+ $(use examples && echo "${D}/usr/bin") || die "Directory making failed" > > emake install \ >- $(use examples && echo "install-binaries") || die "Install failed." >+ $(use examples && echo "install-binaries") || die "Install failed" > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 336393
: 246903 |
246904