On Wed, Jan 04, 2023 at 04:32:39PM -0500, Thomas Frohwein wrote: > Hi, > > Two ports attached - both are for video processing/playback. I'm bringing > them up because they are dependencies for hlvideo [1], a library which I > would like to add to lang/hashlink as it allows running the DLC for > Northgard, "Cross of Vidar". The libraries may be useful for other > purposes in the future. > > Both ports are from Google code repo and BSD-3 licensed. I'm using the > Github distfiles because they should remain stable, unlike the the > tarballs that can be fetched from chromium.googlesource.com. > > libyuv is a fairly straightforward port. libwebm doesn't come with much > of a description and doesn't have a usable install target. Therefore, I > added a do-build for the libwebm port that installs the library, the > binaries, and mkvparser head files because those are used by hlvideo. > There are a lot more .h files, but in an odd directory structure that > is susceptible to causing conflicts (like ${PREFIX}/include/common). > > I also tweaked CMakeLists.txt for libwebm to build a shared library > because that's what's needed for hlvideo. > > ok? comments? > > [1] https://github.com/HeapsIO/hlvideo
Updated libyuv.tgz attached - it needs to explicitly link to libjpeg which it doesn't by default. hl:/usr/local/lib/libyuv.so.0.0: undefined symbol 'jpeg_resync_to_restart' The issue is gone with this updated tarball.
libyuv.tgz
Description: application/tar-gz