import hachoir metadata: extract metadata using Hachoir library.

inputs and ok sthen@.
This commit is contained in:
rpointel 2017-02-23 12:25:55 +00:00
parent 11a08035c1
commit 798c7b6bd4
4 changed files with 83 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# $OpenBSD: Makefile,v 1.1.1.1 2017/02/23 12:25:55 rpointel Exp $
COMMENT = extract metadata using Hachoir library
MODPY_EGG_VERSION = 1.3.3
DISTNAME = hachoir-metadata-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = devel
HOMEPAGE = https://bitbucket.org/haypo/hachoir/wiki/hachoir-metadata
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/python
MODPY_PI = Yes
RUN_DEPENDS = devel/py-hachoir-core \
devel/py-hachoir-parser \
x11/py-gtk2
MODPY_SETUP_ARGS = --disable-qt
TEST_DEPENDS = ${RUN_DEPENDS}
do-test:
cd ${WRKSRC} && ${MODPY_BIN} test_doc.py -v
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (hachoir-metadata-1.3.3.tar.gz) = 7EA/E6ROLPPSYAH49EDNxDKaMWpMlxA1lEv62syQ6zw=
SIZE (hachoir-metadata-1.3.3.tar.gz) = 52304

View File

@ -0,0 +1,6 @@
hachoir-metadata extracts metadata from multimedia files: music, picture, video,
but also archives. It tries to give as much information as possible. For some
file formats, it gives more information than libextractor for example, such as
the RIFF parser, which can extract creation date, software used to generate the
file, etc. But hachoir-metadata cannot guess informations. The most complex
operation is just to compute duration of a music using frame size and file size.

View File

@ -0,0 +1,45 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2017/02/23 12:25:55 rpointel Exp $
bin/hachoir-metadata
bin/hachoir-metadata-gtk
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/__init__.py
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/archive.py
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/archive.pyc
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/audio.py
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/audio.pyc
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/config.py
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/config.pyc
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/file_system.py
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/file_system.pyc
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/filter.py
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/filter.pyc
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/formatter.py
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/formatter.pyc
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/image.py
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/image.pyc
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/jpeg.py
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/jpeg.pyc
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/metadata.py
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/metadata.pyc
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/metadata_item.py
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/metadata_item.pyc
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/misc.py
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/misc.pyc
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/program.py
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/program.pyc
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/register.py
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/register.pyc
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/riff.py
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/riff.pyc
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/safe.py
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/safe.pyc
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/setter.py
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/setter.pyc
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/timezone.py
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/timezone.pyc
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/version.py
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/version.pyc
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/video.py
lib/python${MODPY_VERSION}/site-packages/hachoir_metadata/video.pyc