Package source located at: https://github.com/ValveSoftware/voglperf i will give an attempt at an ebuild it should be easy right...
Created attachment 378950 [details] voglperf-9999.ebuild i have no clue how to work the multilib installs but this is what the website says: "to build amd64 and i386 packages: make To build just i386: make voglperf32 To build just amd64: make voglperf64"
Created attachment 378952 [details] voglperf-9999.ebuild
Created attachment 378954 [details] voglperf-9999.ebuild
Created attachment 379056 [details] voglperf-9999.ebuild I think i am almost done, what do you think? Might need to add some dependencies though.
How do i rename the libs to remove the 32 or 64? Is there a functionality for that or should i use the mv command?
(In reply to C.J. Wijtmans from comment #5) > How do i rename the libs to remove the 32 or 64? Is there a functionality > for that or should i use the mv command? scratch that. i dont think that should be done for various reasons.
Created attachment 379086 [details] voglperf-9999.ebuild with dependencies. i hope this is proper.
Created attachment 379092 [details] voglperf-9999.ebuild
Comment on attachment 379092 [details] voglperf-9999.ebuild >HOMEPAGE="github.com/ValveSoftware/voglperf" That's not a URL. It needs an https:// (in this case). >SRC_URI="" You don't need it. Just leave SRC_URI out. >DEPEND="libedit ? ( dev-libs/libedit[abi_x86_32?,abi_x86_64?] ) > dev-util/cmake inherit cmake-utils > sys-devel/gcc[cxx] Implicit, don't set it in DEPEND. > sys-utils/glibc" Likewise. >KEYWORDS="~amd64 ~x86" >IUSE="+abi_x86_32 +abi_x86_64 tinfo libedit" Why do you need USE=tinfo? >src_compile() { > use abi_x86_32 && make voglperf32 > use abi_x86_64 && make voglperf64 inherit cmake-utils multilib should take care of both, but this probably needs some special make targets as you have them already. Also, use emake not make >src_install() { > if use abi_x86_32; then > dobin bin/voglperfrun32 > dobin bin/libvoglperf32.so dolib maybe? Why would you put that library in /usr/bin? > fi > if use abi_x86_64; then > dobin bin/voglperfrun64 > dobin bin/libvoglperf64.so Likewise.
(In reply to Jeroen Roovers from comment #9) > Comment on attachment 379092 [details] Thank you. about the dobin isntead of dolib. I already reported the bug upstream.I thought a few things would be implicit but i wasnt sure.
the listed tinfo as a dependency but i i dont see it required on my end. Still missing gl(mesa?) and libx11 libcb deps
i tried CMAKE_USE_DIR="src" and BUILD_DIR="./" but i just cant get it to work.