mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
media-video/bashnapi: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST napi-2.0.0.tar.gz 104326 BLAKE2B f7fbea40bfbcadbefa44b31ca4689a4ce4470abf715fc7c38f2b06c911cd8a32f8dcf0ae605cdf6bb9afb00b64ae1bbb468ad02e094c3e4d272745177c5ae6e7 SHA512 fc64d8d815c2014e04115623099351226a66268c2b414fa3cee37fd73f4e6a84f41cc57e96184d9f30e72e84ba98f886be45e68b4c9d3c774c874ea40bc6c2b7
|
||||
DIST napi-v2.0.2.tar.bz2 90803 BLAKE2B 8688a172b3de53c84509844bb30f407b85229d59365906ed3d523e55bf862f208702aecadd62911cd94bd5af9a3c2a56d58cc1a45613f0d5cb4c331cda32ab94 SHA512 347ea2196f708bc7898658dbe267590703ae2a59b56ffaf345bfdbfd4a3c4912ad157aea0533d6bcbf61b35be476c6fa34f466fcaad76636215976bafa397914
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
MY_P=napi-${PV}
|
||||
DESCRIPTION="Napiprojekt.pl subtitle downloader in bash"
|
||||
HOMEPAGE="https://sourceforge.net/projects/bashnapi/"
|
||||
SRC_URI="https://download.sourceforge.net/bashnapi/${MY_P}.tar.gz"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="app-arch/p7zip
|
||||
net-misc/wget
|
||||
sys-apps/debianutils
|
||||
sys-apps/file"
|
||||
|
||||
# tests are normally run via docker
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_postinst() {
|
||||
# packages that can be used to detect FPS
|
||||
local fps_pkgs=(
|
||||
media-video/ffmpeg
|
||||
media-video/mediainfo
|
||||
media-video/mplayer
|
||||
# also mplayer2
|
||||
)
|
||||
local p found
|
||||
|
||||
for p in "${fps_pkgs[@]}"; do
|
||||
if has_version "${p}"; then
|
||||
found=1
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ ! ${found} ]]; then
|
||||
elog "In order to support FPS detection, install one of the following packages:"
|
||||
elog
|
||||
for p in "${fps_pkgs[@]}"; do
|
||||
elog " ${p}"
|
||||
done
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user