Gentoo Archives: gentoo-commits

From: Rui Huang <vowstar@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-video/kikoplay/
Date: Tue, 12 May 2020 04:24:50
Message-Id: 1589257397.3eae09bfc39353cd7eeb501f7515cd6d65437730.vowstar@gentoo
1 commit: 3eae09bfc39353cd7eeb501f7515cd6d65437730
2 Author: Huang Rui <vowstar <AT> gmail <DOT> com>
3 AuthorDate: Tue May 12 04:23:17 2020 +0000
4 Commit: Rui Huang <vowstar <AT> gmail <DOT> com>
5 CommitDate: Tue May 12 04:23:17 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3eae09bf
7
8 media-video/kikoplay: bump version to 0.6.2
9
10 Add video preview function
11
12 Package-Manager: Portage-2.3.99, Repoman-2.3.22
13 Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
14
15 media-video/kikoplay/Manifest | 1 +
16 media-video/kikoplay/kikoplay-0.6.2.ebuild | 60 ++++++++++++++++++++++++++++++
17 2 files changed, 61 insertions(+)
18
19 diff --git a/media-video/kikoplay/Manifest b/media-video/kikoplay/Manifest
20 index c9500fe..b146193 100644
21 --- a/media-video/kikoplay/Manifest
22 +++ b/media-video/kikoplay/Manifest
23 @@ -1 +1,2 @@
24 DIST kikoplay-0.6.1.tar.gz 7528741 BLAKE2B 92ec99bc64661688509fe1ec951e90a28cbdd9c06999ba8574d23ffec4628e7ad4e2ac60c955009beb2ea9023e9d18faa35ae9f0b9f63d5a098aa4ad15315bd5 SHA512 4e304c5f1b0592ce5eb4b22745e73f4a9446843002cb8f050433be33137c660ef41b71c7a80055bff86f21381bad5b1be2088b621feb6e86e6575ecf6acc16ed
25 +DIST kikoplay-0.6.2.tar.gz 7520940 BLAKE2B 4015463b137a7605107a87db86d56658ef5e563374f67cc42f401d71ef2b72be10c9b817b90cb294674c9ee4a285fd908521be7b01fa37df879214c3c37c54a2 SHA512 c436da509b89d3ecb0e86cb195cb058fbe594e643959f24a91792b69ce2649ef5186116bc4b3e01b14bcb7286d30303276d48d4f0b2db45d6fbf385e370b8db5
26
27 diff --git a/media-video/kikoplay/kikoplay-0.6.2.ebuild b/media-video/kikoplay/kikoplay-0.6.2.ebuild
28 new file mode 100644
29 index 0000000..05c327c
30 --- /dev/null
31 +++ b/media-video/kikoplay/kikoplay-0.6.2.ebuild
32 @@ -0,0 +1,60 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI="7"
37 +
38 +GIT_PN="KikoPlay"
39 +
40 +inherit qmake-utils xdg
41 +
42 +DESCRIPTION="KikoPlay is a full-featured danmu player"
43 +HOMEPAGE="
44 + https://kikoplay.fun
45 + https://github.com/Protostars/KikoPlay
46 +"
47 +
48 +if [[ "${PV}" == "9999" ]] ; then
49 + inherit git-r3
50 + EGIT_REPO_URI="https://github.com/Protostars/${GIT_PN}.git"
51 +else
52 + SRC_URI="https://github.com/Protostars/${GIT_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
53 + KEYWORDS="~amd64 ~arm ~m68k ~mips ~ppc ~ppc64 ~s390 ~x86"
54 + S="${WORKDIR}/${GIT_PN}-${PV}"
55 +fi
56 +
57 +LICENSE="GPL-3"
58 +SLOT="0"
59 +
60 +# Please unmask dev-lang/lua:5.3 in /etc/portage/package.unmask/lua
61 +# Waiting for dev-lang/lua:5.3 unmasked in ::gentoo
62 +# With out dev-lang/lua:5.3, this package can't work
63 +# See also: https://github.com/gentoo/guru/issues/9
64 +RDEPEND="
65 + dev-lang/lua:5.3
66 + dev-libs/qhttpengine:5
67 + dev-qt/qtconcurrent:5
68 + dev-qt/qtcore:5
69 + dev-qt/qtgui:5
70 + dev-qt/qtnetwork:5
71 + dev-qt/qtsql:5
72 + dev-qt/qtwidgets:5
73 + media-video/mpv[libmpv,-luajit]
74 + net-misc/aria2
75 +"
76 +
77 +DEPEND="
78 + ${RDEPEND}
79 +"
80 +
81 +BDEPEND="
82 + virtual/pkgconfig
83 +"
84 +
85 +src_configure() {
86 + eqmake5 PREFIX="${D}"/usr
87 +}
88 +
89 +src_install() {
90 + # Can't use default, set INSTALL_ROOT
91 + emake INSTALL_ROOT="${D}" install
92 +}