summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-05-12 07:15:59 +0000
committerMichał Górny <mgorny@gentoo.org>2013-05-12 07:15:59 +0000
commit9301dfd7182fa0d10934e8a82eced8a42cc970f2 (patch)
treeac3592cb70cdf90f60024913d821fac31a072181 /media-video
parentAdd yablex to blender mask, fix typo (diff)
downloadgentoo-2-9301dfd7182fa0d10934e8a82eced8a42cc970f2.tar.gz
gentoo-2-9301dfd7182fa0d10934e8a82eced8a42cc970f2.tar.bz2
gentoo-2-9301dfd7182fa0d10934e8a82eced8a42cc970f2.zip
Introduce an ebuild for bashnapi, a napiprojekt subtitle downloader in bash.
(Portage version: 2.2.0_alpha174/cvs/Linux x86_64, signed Manifest commit with key 9627F456F9DA7643!)
Diffstat (limited to 'media-video')
-rw-r--r--media-video/bashnapi/ChangeLog9
-rw-r--r--media-video/bashnapi/bashnapi-1.1.5.ebuild34
-rw-r--r--media-video/bashnapi/metadata.xml8
3 files changed, 51 insertions, 0 deletions
diff --git a/media-video/bashnapi/ChangeLog b/media-video/bashnapi/ChangeLog
new file mode 100644
index 000000000000..279c2e9dc1c1
--- /dev/null
+++ b/media-video/bashnapi/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for media-video/bashnapi
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/bashnapi/ChangeLog,v 1.1 2013/05/12 07:15:59 mgorny Exp $
+
+*bashnapi-1.1.5 (12 May 2013)
+
+ 12 May 2013; Michał Górny <mgorny@gentoo.org> +bashnapi-1.1.5.ebuild,
+ +metadata.xml:
+ Introduce an ebuild for bashnapi, a napiprojekt subtitle downloader in bash.
diff --git a/media-video/bashnapi/bashnapi-1.1.5.ebuild b/media-video/bashnapi/bashnapi-1.1.5.ebuild
new file mode 100644
index 000000000000..d02c081fc292
--- /dev/null
+++ b/media-video/bashnapi/bashnapi-1.1.5.ebuild
@@ -0,0 +1,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)"
+}
diff --git a/media-video/bashnapi/metadata.xml b/media-video/bashnapi/metadata.xml
new file mode 100644
index 000000000000..5cb9324943ab
--- /dev/null
+++ b/media-video/bashnapi/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+</pkgmetadata>