Install this version:
emerge -a =media-libs/l-smash-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-libs/l-smash-9999
Or alternatively:
emerge --autounmask-write -a =media-libs/l-smash-9999
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Media library"
HOMEPAGE="https://github.com/vimeo/l-smash"
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/vimeo/${PN}.git"
KEYWORDS=""
else
SRC_URI="https://github.com/vimeo/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="ISC"
SLOT="0"
IUSE="-static-libs -debug"
RDEPEND+="
media-video/ffmpeg
media-libs/obuparse
"
DEPEND="${RDEPEND}
virtual/pkgconfig
"
src_configure() {
local myconf="--enable-shared"
if ! use static-libs; then
myconf="${myconf} --disable-static"
fi
if use debug; then
myconf="${myconf} --enable-debug"
fi
./configure \
--prefix="${EPREFIX}"/usr \
--libdir="${EPREFIX}"/usr/$(get_libdir) \
--extra-cflags="${CFLAGS}" \
--extra-ldflags="${LDFLAGS}" \
${myconf} || die
}
Manage flags for this package:
euse -i <flag> -p media-libs/l-smash |
euse -E <flag> -p media-libs/l-smash |
euse -D <flag> -p media-libs/l-smash
media-video/ffmpeg media-libs/obuparse virtual/pkgconfig
media-video/ffmpeg media-libs/obuparse