aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuang Rui <vowstar@gmail.com>2020-05-12 12:23:17 +0800
committerHuang Rui <vowstar@gmail.com>2020-05-12 12:23:17 +0800
commit3eae09bfc39353cd7eeb501f7515cd6d65437730 (patch)
treec34975f6b8263e9076f144ad703cf703704564a2 /media-video
parentsci-electronics/verilator: drop 4.032 (diff)
downloadguru-3eae09bfc39353cd7eeb501f7515cd6d65437730.tar.gz
guru-3eae09bfc39353cd7eeb501f7515cd6d65437730.tar.bz2
guru-3eae09bfc39353cd7eeb501f7515cd6d65437730.zip
media-video/kikoplay: bump version to 0.6.2
Add video preview function Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Huang Rui <vowstar@gmail.com>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/kikoplay/Manifest1
-rw-r--r--media-video/kikoplay/kikoplay-0.6.2.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/media-video/kikoplay/Manifest b/media-video/kikoplay/Manifest
index c9500fee..b1461932 100644
--- a/media-video/kikoplay/Manifest
+++ b/media-video/kikoplay/Manifest
@@ -1 +1,2 @@
DIST kikoplay-0.6.1.tar.gz 7528741 BLAKE2B 92ec99bc64661688509fe1ec951e90a28cbdd9c06999ba8574d23ffec4628e7ad4e2ac60c955009beb2ea9023e9d18faa35ae9f0b9f63d5a098aa4ad15315bd5 SHA512 4e304c5f1b0592ce5eb4b22745e73f4a9446843002cb8f050433be33137c660ef41b71c7a80055bff86f21381bad5b1be2088b621feb6e86e6575ecf6acc16ed
+DIST kikoplay-0.6.2.tar.gz 7520940 BLAKE2B 4015463b137a7605107a87db86d56658ef5e563374f67cc42f401d71ef2b72be10c9b817b90cb294674c9ee4a285fd908521be7b01fa37df879214c3c37c54a2 SHA512 c436da509b89d3ecb0e86cb195cb058fbe594e643959f24a91792b69ce2649ef5186116bc4b3e01b14bcb7286d30303276d48d4f0b2db45d6fbf385e370b8db5
diff --git a/media-video/kikoplay/kikoplay-0.6.2.ebuild b/media-video/kikoplay/kikoplay-0.6.2.ebuild
new file mode 100644
index 00000000..05c327c6
--- /dev/null
+++ b/media-video/kikoplay/kikoplay-0.6.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+GIT_PN="KikoPlay"
+
+inherit qmake-utils xdg
+
+DESCRIPTION="KikoPlay is a full-featured danmu player"
+HOMEPAGE="
+ https://kikoplay.fun
+ https://github.com/Protostars/KikoPlay
+"
+
+if [[ "${PV}" == "9999" ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/Protostars/${GIT_PN}.git"
+else
+ SRC_URI="https://github.com/Protostars/${GIT_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~m68k ~mips ~ppc ~ppc64 ~s390 ~x86"
+ S="${WORKDIR}/${GIT_PN}-${PV}"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+
+# Please unmask dev-lang/lua:5.3 in /etc/portage/package.unmask/lua
+# Waiting for dev-lang/lua:5.3 unmasked in ::gentoo
+# With out dev-lang/lua:5.3, this package can't work
+# See also: https://github.com/gentoo/guru/issues/9
+RDEPEND="
+ dev-lang/lua:5.3
+ dev-libs/qhttpengine:5
+ dev-qt/qtconcurrent:5
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtsql:5
+ dev-qt/qtwidgets:5
+ media-video/mpv[libmpv,-luajit]
+ net-misc/aria2
+"
+
+DEPEND="
+ ${RDEPEND}
+"
+
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_configure() {
+ eqmake5 PREFIX="${D}"/usr
+}
+
+src_install() {
+ # Can't use default, set INSTALL_ROOT
+ emake INSTALL_ROOT="${D}" install
+}