media-libs/libyuv - 20261119 (zGentoo)

Search

Install

Install this version:

emerge -a =media-libs/libyuv-20261119

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =media-libs/libyuv-20261119

Or alternatively:

emerge --autounmask-write -a =media-libs/libyuv-20261119

Package Information

Description:
Open source project that includes YUV scaling and conversion functionality.
Homepage:
https://chromium.googlesource.com/libyuv/libyuv
License:
MIT CC-BY-4.0 BSD ISC

Ebuild Details

Version EAPI Keywords Slot
20261119 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake git-r3

DESCRIPTION="Open source project that includes YUV scaling and conversion functionality."
HOMEPAGE="https://chromium.googlesource.com/libyuv/libyuv"
KEYWORDS="~amd64 ~x86"
LICENSE="MIT CC-BY-4.0 BSD ISC"
SLOT="0"
RESTRICT="test" # not yet tested

EGIT_REPO_URI="https://github.com/lemenkov/libyuv.git"
EGIT_COMMIT="0ec9f68"

BDEPEND=">=media-libs/libjpeg-turbo-3.1.3"

src_unpack() {
    git-r3_src_unpack
    default
}

src_prepare() {
    default
    cmake_src_prepare
}

src_configure() {
    cmake_src_configure
}

src_compile() {
    cmake_src_compile
}

src_install() {
    cmake_src_install

    # correct library installation (/usr/lib isn't allowed!)
    mv "${D}"/usr/lib "${T}"/
    dolib.a "${T}"/lib/${PN}.a
    dolib.so "${T}"/lib/${PN}.so
}

Inherited Eclasses

Dependencies

BDEPEND

>=media-libs/libjpeg-turbo-3.1.3