mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-18 23:38:57 -04:00
media-video/Revda: new package, add 5.1.1
This commit is contained in:
parent
a79eacd197
commit
589724da00
1
media-video/Revda/Manifest
Normal file
1
media-video/Revda/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST Revda-5.1.1.tar.gz 1203399 BLAKE2B a00e6528ff8c6571d472aa0115a252230e1104632d55dc2d77496b0ad63a68770c41a8b9654df496c7ecab03e38ef968d8ed3d379727d98661b445721834ff75 SHA512 f73d2527c12be0fd5f94a11dfc96d761038a8d182ad7894babbd9d4e978f8215c0376cf15895c084c10ed4736669b6480c43a04f11e17f4c0c33ca226c6a3e56
|
38
media-video/Revda/Revda-5.1.1.ebuild
Normal file
38
media-video/Revda/Revda-5.1.1.ebuild
Normal 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
|
||||
}
|
11
media-video/Revda/metadata.xml
Normal file
11
media-video/Revda/metadata.xml
Normal 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>
|
Loading…
x
Reference in New Issue
Block a user