mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
New port py-periscope version 0.2.4: Subtitles searching module
This commit is contained in:
parent
45283d4f7b
commit
a9a449cd31
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=278346
@ -272,6 +272,7 @@
|
||||
SUBDIR += py-kaa-metadata
|
||||
SUBDIR += py-mlt
|
||||
SUBDIR += py-openlp
|
||||
SUBDIR += py-periscope
|
||||
SUBDIR += py-pybmp
|
||||
SUBDIR += py-qt4-multimedia
|
||||
SUBDIR += py-qt4-phonon
|
||||
|
40
multimedia/py-periscope/Makefile
Normal file
40
multimedia/py-periscope/Makefile
Normal file
@ -0,0 +1,40 @@
|
||||
# New ports collection makefile for: periscope
|
||||
# Date created: Sun Jul 24 20:23:58 UTC 2011
|
||||
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= periscope
|
||||
PORTVERSION= 0.2.4
|
||||
CATEGORIES= multimedia python
|
||||
MASTER_SITES= GOOGLE_CODE
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTFILES= python-${PORTNAME}_${PORTVERSION}.orig${EXTRACT_SUFX} \
|
||||
periscope.desktop
|
||||
DIST_SUBDIR= ${PORTNAME}
|
||||
EXTRACT_ONLY= python-${PORTNAME}_${PORTVERSION}.orig${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER= lioux@FreeBSD.org
|
||||
COMMENT= Subtitles searching module
|
||||
|
||||
LICENSE= LGPL3
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=3.2.0:${PORTSDIR}/www/py-beautifulsoup
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
|
||||
USE_GNOME= desktopfileutils
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= easy_install
|
||||
NO_WRKSUBDIR= yes
|
||||
|
||||
PLIST_SUB= DESKTOPDIR=${DESKTOPDIR_WITHOUT_PREFIX:Q}
|
||||
|
||||
DESKTOPDIR_WITHOUT_PREFIX= ${DESKTOPDIR:S,^${PREFIX}/,,}
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${DESKTOPDIR}
|
||||
@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/periscope.desktop \
|
||||
${DESKTOPDIR}
|
||||
@-${LOCALBASE}/bin/update-desktop-database
|
||||
|
||||
.include <bsd.port.mk>
|
4
multimedia/py-periscope/distinfo
Normal file
4
multimedia/py-periscope/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
SHA256 (periscope/python-periscope_0.2.4.orig.tar.gz) = f5426ea136d329511c2d533750339c9871d5f89d59e083a2b3c1aa94d769d646
|
||||
SIZE (periscope/python-periscope_0.2.4.orig.tar.gz) = 27510
|
||||
SHA256 (periscope/periscope.desktop) = a69b20961bc9d87b7dbdc41377eabfdb4ebc7c28a0b208fe46ebc672525b4e85
|
||||
SIZE (periscope/periscope.desktop) = 217
|
19
multimedia/py-periscope/pkg-descr
Normal file
19
multimedia/py-periscope/pkg-descr
Normal file
@ -0,0 +1,19 @@
|
||||
periscope is a subtitles searching module written in python that
|
||||
tries to find a correct match for a given video file. The goal
|
||||
behind periscope is that it will only return only correct subtitles
|
||||
so that you can simply relax and enjoy your video without having
|
||||
to double-check that the subtitles match your video before watching
|
||||
it. This is done by using as much info as available from your file
|
||||
and on the websites. Some websites allow you to use hash of the
|
||||
files, the size/length of the video or the exact file name.
|
||||
|
||||
As a python module, periscope should be easily integrated in many
|
||||
projects that allow plugins to be written in python. The fact that
|
||||
the plugin is shared between all the applications means that separate
|
||||
application and their plugin (file browser, video player, media
|
||||
center application, ...) don't have to maintain the code to search,
|
||||
parse and download subtitles and the user preference about languages.
|
||||
|
||||
The subtitles websites are handled as plugins.
|
||||
|
||||
WWW: http://code.google.com/p/periscope/
|
5
multimedia/py-periscope/pkg-plist
Normal file
5
multimedia/py-periscope/pkg-plist
Normal file
@ -0,0 +1,5 @@
|
||||
bin/periscope
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
|
||||
%%DESKTOPDIR%%/periscope.desktop
|
||||
@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
|
||||
@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
|
Loading…
Reference in New Issue
Block a user