mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-10 20:08:43 -04:00
media-video/implay:new package
This commit is contained in:
parent
640ac736d7
commit
b256b12bc5
1
media-video/implay/Manifest
Normal file
1
media-video/implay/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST ImPlay-continuous.tar.gz 5289742 BLAKE2B 9e5342bab74c68b749e8f6029b5db8ff5b8626f9acb2bb4b285fa18b8411d366797229a473fcb00ec896e6b5a98cf3bf6f93c6c682fa0f4f9a894c42cfdb25d5 SHA512 3d928740b305ac18c3dd391270784c3cc0026989f5e5ef918a3eb9d93064e8ad768df6512c98b85e8e36780f74052e0e03583ad626769d0b71b7c4120e802b09
|
47
media-video/implay/implay-1.5.1.ebuild
Normal file
47
media-video/implay/implay-1.5.1.ebuild
Normal file
@ -0,0 +1,47 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CMAKE_MAKEFILE_GENERATOR="emake"
|
||||
inherit cmake desktop xdg-utils
|
||||
|
||||
DESCRIPTION="A Cross-Platform Desktop Media Player"
|
||||
HOMEPAGE="https://tsl0922.github.io/ImPlay"
|
||||
SRC_URI="https://github.com/tsl0922/ImPlay/archive/refs/tags/${PV}.tar.gz -> ImPlay-continuous.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
media-libs/freetype:2
|
||||
media-libs/glfw
|
||||
media-video/mpv
|
||||
x11-libs/gtk+
|
||||
"
|
||||
|
||||
S="${WORKDIR}/ImPlay-${PV}"
|
||||
|
||||
src_configure() {
|
||||
CMAKE_BUILD_TYPE="Release"
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/lib64"
|
||||
doins "${BUILD_DIR}"/third_party/nativefiledialog/src/libnfd.so.1.1.0
|
||||
dosym ../../../../../../../../usr/lib64/libnfd.so.1.1.0 /usr/lib64/libnfd.so.1
|
||||
cmake_src_install
|
||||
dosym ../../../../../../../../usr/bin/ImPlay /usr/bin/implay
|
||||
make_desktop_entry ${PN} "A Cross-Platform Desktop Media Player"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
11
media-video/implay/metadata.xml
Normal file
11
media-video/implay/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">
|
||||
<email>nurali258@foxmail.com</email>
|
||||
<name>Nurali</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">tsl0922/ImPlay</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
x
Reference in New Issue
Block a user