Skip to content

Commit

Permalink
media-video/haruna: added
Browse files Browse the repository at this point in the history
Signed-off-by: Vadim Misbakh-Soloviov <[email protected]>
  • Loading branch information
msva committed Oct 4, 2024
1 parent 71e6775 commit 237b14f
Show file tree
Hide file tree
Showing 4 changed files with 125 additions and 0 deletions.
1 change: 1 addition & 0 deletions media-video/haruna/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST haruna-v1.2.1.tar.gz 962179 BLAKE2B 0a145a32b32a003f62464a1016d64bd619273a731b91587f34f6b3a74a28329af0348635cd90eb01229a7e73489548665a0ada1aab02c3a00a6b60c3ce49a66e SHA512 c96a2bfede2ed383409b7b64be33aaa260787485b9aa4cf829c31447b655522a63c68641d73cad46ee9ce80158603839966897cda1c0522636552192bd099915
56 changes: 56 additions & 0 deletions media-video/haruna/haruna-1.2.1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PLOCALES="ar ast ca ca@valencia cs de en_GB eo es eu fi fr gl he hi ia id it ja ka ko lt lv nl pl pt pt_BR ro ru sk sl sv ta tr uk zh_CN zh_TW"
PLOCALE_BACKUP="en"

inherit cmake plocale xdg

MY_P="${PN}-v${PV}"

DESCRIPTION="Video player built with Qt/QML on top of libmpv"
HOMEPAGE="https://invent.kde.org/multimedia/haruna"
SRC_URI="https://invent.kde.org/multimedia/${PN}/-/archive/v${PV}/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"

LICENSE="GPL-3"
SLOT="6"
KEYWORDS="~amd64 ~x86"

RDEPEND="
dev-qt/qtcore:5
dev-qt/qtdbus:5
dev-qt/qtdeclarative:6
dev-qt/qtgui:5
dev-qt/qtquickcontrols:5
dev-qt/qtquickcontrols2:5
kde-frameworks/breeze-icons:6
kde-frameworks/kcolorscheme:6
kde-frameworks/kconfig:6
kde-frameworks/kcoreaddons:6
kde-frameworks/kfilemetadata:6
kde-frameworks/ki18n:6
kde-frameworks/kiconthemes:6
kde-frameworks/kio:6
kde-frameworks/kirigami:6
kde-frameworks/kwindowsystem:6
media-libs/mpvqt:6
media-video/ffmpeg:0=
net-misc/yt-dlp
"
DEPEND="${RDEPEND}"
BDEPEND="
kde-frameworks/extra-cmake-modules
sys-devel/gettext
"

src_prepare() {
my_rm_loc() {
rm -rf po/"${1}" || die "rm failed for po/${1}"
}
plocale_for_each_disabled_locale my_rm_loc

cmake_src_prepare
}
48 changes: 48 additions & 0 deletions media-video/haruna/haruna-9999.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PLOCALES="ar ast ca ca@valencia cs de en_GB eo es eu fi fr gl he hi ia id it ja ka ko lt lv nl pl pt pt_BR ro ru sk sl sv ta tr uk zh_CN zh_TW"
PLOCALE_BACKUP="en"
EGIT_REPO_URI="https://invent.kde.org/multimedia/${PN}.git"

inherit cmake git-r3 plocale xdg

DESCRIPTION="Video player built with Qt/QML on top of libmpv"
HOMEPAGE="https://invent.kde.org/multimedia/haruna"

LICENSE="GPL-3"
SLOT="6"

RDEPEND="
dev-qt/qtbase:6
dev-qt/qtdeclarative:6
kde-frameworks/breeze-icons:6
kde-frameworks/kcolorscheme:6
kde-frameworks/kconfig:6
kde-frameworks/kcoreaddons:6
kde-frameworks/kfilemetadata:6
kde-frameworks/ki18n:6
kde-frameworks/kiconthemes:6
kde-frameworks/kio:6
kde-frameworks/kirigami:6
kde-frameworks/kwindowsystem:6
media-libs/mpvqt:6
media-video/ffmpeg:0=
net-misc/yt-dlp
"
DEPEND="${RDEPEND}"
BDEPEND="
kde-frameworks/extra-cmake-modules
sys-devel/gettext
"

src_prepare() {
my_rm_loc() {
rm -rf po/"${1}" || die "rm failed for po/${1}"
}
plocale_for_each_disabled_locale my_rm_loc

cmake_src_prepare
}
20 changes: 20 additions & 0 deletions media-video/haruna/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>[email protected]</email>
<name>Vladimir Pavljuchenkov</name>
</maintainer>
<maintainer type="project">
<email>[email protected]</email>
<name>Proxy Maintainers</name>
</maintainer>
<longdescription lang="en">
A video player built with Qt/QML and libmpv with features
to play online videos, through youtube-dl, toggle playlist with mouse-over,
playlist overlays the video, auto skip chapter containing certain words, etc.
</longdescription>
<upstream>
<remote-id type="kde-invent">multimedia/haruna</remote-id>
</upstream>
</pkgmetadata>

0 comments on commit 237b14f

Please sign in to comment.