summaryrefslogtreecommitdiff
blob: d02c081fc29227c37846151034e77bef9be871dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/bashnapi/bashnapi-1.1.5.ebuild,v 1.1 2013/05/12 07:15:59 mgorny Exp $

EAPI=5

SUB_VER=0.15
MY_TAR=napi_v${PV}_subotage_${SUB_VER}

DESCRIPTION="Napiprojekt.pl subtitle downloader in bash"
HOMEPAGE="http://sourceforge.net/projects/bashnapi/"
SRC_URI="mirror://sourceforge/${PN}/${MY_TAR}.tgz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

S=${WORKDIR}/napi

src_install() {
	default # for docs

	dobin napi.sh
}

pkg_postinst() {
	elog "Optional runtime dependencies:"
	elog
	elog "   \033[1mmedia-video/subotage\033[0m for subtitle format conversion"
	elog
	elog "   \033[1mmedia-video/mediainfo\033[0m"
	elog "or \033[1mmedia-video/mplayer\033[0m for FPS detection (for conversion)"
}