media-video/Revda: new package, add 5.1.1

This commit is contained in:
ston 2022-09-27 18:33:11 +08:00 committed by 梁永祥
parent a79eacd197
commit 589724da00
3 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST Revda-5.1.1.tar.gz 1203399 BLAKE2B a00e6528ff8c6571d472aa0115a252230e1104632d55dc2d77496b0ad63a68770c41a8b9654df496c7ecab03e38ef968d8ed3d379727d98661b445721834ff75 SHA512 f73d2527c12be0fd5f94a11dfc96d761038a8d182ad7894babbd9d4e978f8215c0376cf15895c084c10ed4736669b6480c43a04f11e17f4c0c33ca226c6a3e56

View File

@ -0,0 +1,38 @@
#Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake xdg
DESCRIPTION="Cute and useful Live Stream Player with danmaku support"
HOMEPAGE="https://github.com/THMonster/Revda"
SRC_URI="https://github.com/THMonster/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
IUSE="+dmlive"
LICENSE="GPL-2"
SLOT="0"
BDEPEND="
dev-util/cmake
sys-apps/yarn
kde-frameworks/extra-cmake-modules
virtual/rust
"
RDEPEND="
media-video/mpv
media-video/ffmpeg
net-misc/curl
net-libs/webkit-gtk
net-libs/nodejs
"
src_configure() {
local mycmakeargs=(
-DCMAKE_BUILD_TYPE=Release
)
use dmlive || mycmakeargs+=( -DNODMLIVE=1 )
cmake_src_configure
}

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>ston</name>
<email>2424284164@qq.com</email>
</maintainer>
<use>
<flag name="dmlive">Support for using the dmlive command</flag>
</use>
</pkgmetadata>