mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
media-libs/subrandr: add 1.1.0
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
DIST subrandr-1.0.1-vendor.tar.xz 9443376 BLAKE2B e5030cd4c5ffcbec3abcf270c302b3e8e33fe73cc6f4901d578fdcbd1b29932b20eb26cc737bcf219a131767bcc58f10ec598a9a237da46d09bf4184035116f3 SHA512 eef12f8ed9e7d77a9ebafbe0c406c57e0ef9aa230d1a28a38e08e51a17043e79433e1212b68a52a9890c080a415296f108d7a089722bd19971eb6f129f138f31
|
||||
DIST subrandr-1.0.1.tar.gz 341345 BLAKE2B 6c34fa342013cbc4355ed464e67bb8855ebc1f32ea67e3f39ec8660c6181fea3635f136be6833fcb57baced25fffa6377976d6a577f4785b5955cd9cae9d9f70 SHA512 eab9254eeca3727a228817d493df714099d1be1b5bb0caf384443901bcb8daa96d6f2be508220bebe12a77b4cbfa98f9ee007edc902993171d0202af037217a9
|
||||
DIST subrandr-1.1.0-vendor.tar.xz 9442964 BLAKE2B fe6f690fe0432bf9981605cd916064ed3fca0d10cec324b8c9b0353363450b2badc463822870f56a574a55fd3199c1d07185904867dfe58cbf174240ef392978 SHA512 523305ba9082ae3808f8498e3aec9a8303d67318376ba978464ddb9d3da7608d2d071de93225c5937ea9981748b05922590bc06f5d06164948fa241defecdfdb
|
||||
DIST subrandr-1.1.0.tar.gz 351668 BLAKE2B 9db4d4f40832e5319bbcdf64b5b8fe3fc1360817d2ff7d517d606ae81a0d7db265dcd6e0a8b43a6a1950c962cbb591d98db6fbe85ecf352f86405441afad8ef7 SHA512 c4f4558cabff21911a013337c62c13b97695b41a3dd3407200125ff5318aed6a1c75c683888a92e8cfa34d3ad3d3ab6270ecb50d60ea25d744f9d50d54fb9aa3
|
||||
|
||||
47
media-libs/subrandr/subrandr-1.1.0.ebuild
Normal file
47
media-libs/subrandr/subrandr-1.1.0.ebuild
Normal file
@@ -0,0 +1,47 @@
|
||||
# Copyright 2025-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
RUST_MIN_VER=1.85.0
|
||||
inherit cargo edo
|
||||
|
||||
DESCRIPTION="Subtitle rendering library for rendering non-ASS subtitles"
|
||||
HOMEPAGE="https://github.com/afishhh/subrandr/"
|
||||
SRC_URI="
|
||||
https://github.com/afishhh/subrandr/archive/refs/tags/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz
|
||||
https://dev.gentoo.org/~ionen/distfiles/${P}-vendor.tar.xz
|
||||
"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
LICENSE+=" MIT Unicode-3.0 Unicode-DFS-2016 ZLIB" # crates
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
media-libs/harfbuzz:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/lib.*/lib${PN}.*"
|
||||
|
||||
src_compile() {
|
||||
# xtask is a bundled builder aliased in .cargo/config.toml, note that
|
||||
# it lacks its own test handler causing `cargo test` to rebuild as-is
|
||||
edo cargo xtask build --verbose
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local xtaskargs=(
|
||||
# destdir currently expects the prefix to be included
|
||||
--destdir="${ED}"/usr
|
||||
--prefix="${EPREFIX}"/usr
|
||||
--libdir="$(get_libdir)"
|
||||
--verbose
|
||||
)
|
||||
|
||||
edo cargo xtask install "${xtaskargs[@]}"
|
||||
}
|
||||
Reference in New Issue
Block a user