Summary: | media-gfx/luminance-hdr 2.2.0 version bump | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | DrSlony <bugs> |
Component: | New packages | Assignee: | Gentoo Graphics Project <graphics+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://qtpfsgui.sourceforge.net/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Simple 2.2.0 ebuild |
Description
DrSlony
2012-01-22 19:52:55 UTC
ps. renaming the 2.2.1 ebuild to 2.2.0 and fixing the url (change .tar.gz to .tar.bz2) fails because "The source directory '/var/tmp/portage/media-gfx/luminance-hdr-2.2.0/work/luminance-hdr-2.2.0' doesn't exist" The project gets unpacked directly to /var/tmp/portage/media-gfx/luminance-hdr-2.2.0/work/ Compiles fine when I do it manually as per the INSTALL file. Created attachment 301545 [details]
Simple 2.2.0 ebuild
It seems they switched to cmake build system. I made a simple ebuild which works here with openmp enabled by default - I have no idea how to pass configure options to cmake in an ebuild, so I didn't add any use flags. Someone with more experience might update it (also, dependencies might be missing - I only kept those form 2.1.0 ebuild)
Hey! Here's some sample code for using cmake in ebuilds, if you would like to experiment: ----------------------------------- inherit cmake-utils toolchain-funcs IUSE="openmp" pkg_setup() { if use openmp ; then tc-has-openmp || die "Please switch to an openmp compatible compiler" fi mycmakeargs=( $(cmake-utils_use openmp OPTION_OMP) $(cmake-utils_use_with bzip2 BZIP) -DCREDITSDIR=/usr/share/doc/${PF} -DCMAKE_BUILD_TYPE=release ) } src_install() { cmake-utils_src_install use doc && dodoc doc/foo/luminance-hdr.pdf } Added to CVS. |