Attached is the ebuild required for building podofo PDF library (version 0.2). Tested this ebuild on my Gentoo AMD64 box as an overlay. The only issue is that the package builds libpodofo.so.0.0.0 instead of libpodofo.so.0.2 as would be expected from the version number. The issue has been reported on sourceforge: http://sourceforge.net/tracker/index.php?func=detail&aid=1523157&group_id=154028&atid=790130
Created attachment 91822 [details] Ebuild for installing Podofo PDF library. Expand the tar.gz attachment in your PORTDIR_OVERLAY folder and "emerge podofo".
Never attach tarballs. Reopen with a plaintext ebuild, please. http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3#doc_chap2
*** Bug 141261 has been marked as a duplicate of this bug. ***
Created attachment 92387 [details] main ebuild file for media-libs/podofo-0.2
Created attachment 92388 [details, diff] Patch for configure.in in the package distribution. Save this file as media-libs/podofo/files/podofo-0.2/configure.in.diff under the overlay dir.
Created attachment 92389 [details] digest for podofo This could also be created using "ebuild podofo-0.2.ebuild digest" command.
Created attachment 92390 [details] Manifest file for podofo-0.2
I am attaching the plaintext files this time (sorry I didn't read the ebuild submission howto earlier while submitting the zipped attachment).
Created attachment 94900 [details] ebuild for podofo-0.3.0.ebuild Version 0.3.0 compiles on my system with a much simpler ebuild than 0.2.0.
*** Bug 144816 has been marked as a duplicate of this bug. ***
Created attachment 100203 [details] ebuild for podofo-0.4.0 The ebuild for podofo-0.3.0 no longer worked for me when I upgraded to gcc-4.1 (at least that's what I think the problem was). But the same ebuild renamed for podofo-0.4.0 seems to work fine.
Last ebuild for podofo-0.4.0 works for me on amd64 with gcc 4.1.2.
Created attachment 144997 [details] media-libs/podofo-0.5.0.ebuild new version of podofo (seems like it is needed by scribus for pdf editing) makes use of cmake PS: please change bugreport title to something more general like "media-libs/podofo ebuild"
podofo-0.6.0 was released a few weeks ago. A simple rename of the latest 0.5.0 ebuild worked fine for me.
Created attachment 189206 [details] podofo-0.7.0.ebuild Cleanup the previously posted ebuild for version 0.7: * Update dependencies * Use EAPI 2 phases * Fix LICENSE * Install correct docs Note that I've only tested the ebuild on x86 and amd64 machines. Also, it currently defaults to building shared libraries, but the static use flag could easy be used to allow for the choice between static and shared libraries. I just didn't see any other cmake-related ebuilds using that. Finally, I didn't add the dev-util/cppunit dependency needed for src_test.
Created attachment 189207 [details] podofo-0.7.0.ebuild Change keywords to ~amd64 and ~x86 as that's all I've tested under.
Created attachment 189215 [details] podofo-0.7.0.ebuild Add explicit cmake dependency
just a tiny note, ebuild in kde-testing.
Podofo is in main tree. Kudos to Zac.