diff options
author | 2020-03-19 18:12:25 +0100 | |
---|---|---|
committer | 2020-03-19 18:20:26 +0100 | |
commit | b7ccf0fd6a391e6a7b7a1330de004d5f6f61b49e (patch) | |
tree | cfb1d1702054b2e92c41821a5d91a4bcfef9be28 /media-video/bashnapi/bashnapi-1.3.5.ebuild | |
parent | games-emulation/pcsxr: Remove redundant versions (diff) | |
download | gentoo-b7ccf0fd6a391e6a7b7a1330de004d5f6f61b49e.tar.gz gentoo-b7ccf0fd6a391e6a7b7a1330de004d5f6f61b49e.tar.bz2 gentoo-b7ccf0fd6a391e6a7b7a1330de004d5f6f61b49e.zip |
media-video/bashnapi: Remove redundant versions
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-video/bashnapi/bashnapi-1.3.5.ebuild')
-rw-r--r-- | media-video/bashnapi/bashnapi-1.3.5.ebuild | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/media-video/bashnapi/bashnapi-1.3.5.ebuild b/media-video/bashnapi/bashnapi-1.3.5.ebuild deleted file mode 100644 index 993294be32e4..000000000000 --- a/media-video/bashnapi/bashnapi-1.3.5.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="Napiprojekt.pl subtitle downloader in bash" -HOMEPAGE="https://sourceforge.net/projects/bashnapi/" -SRC_URI="mirror://sourceforge/${PN}/bashnapi_v${PV}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="app-arch/p7zip" - -S=${WORKDIR}/napi-${PV} - -src_configure() { - # install.sh does not support --destdir - sed -i -e "s^\(NAPI_COMMON_PATH=\).*$^\1${EPREFIX}/usr/share/napi^" \ - napi.sh subotage.sh || die -} - -src_install() { - default # for docs - dobin napi.sh subotage.sh - insinto /usr/share/napi - doins napi_common.sh -} - -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 -} |