From a3a70c3442e49deb0b468274f3b70d47e85fd638 Mon Sep 17 00:00:00 2001 From: Robert Clausecker Date: Thu, 22 Jul 2021 14:53:48 +0200 Subject: [PATCH 1/2] multimedia/py-mat2: Handy tool to trash your metadata --- multimedia/Makefile | 1 + multimedia/py-mat2/Makefile | 30 ++++++++++++++++++++++++++++++ multimedia/py-mat2/distinfo | 3 +++ multimedia/py-mat2/pkg-descr | 24 ++++++++++++++++++++++++ 4 files changed, 58 insertions(+) create mode 100644 multimedia/py-mat2/Makefile create mode 100644 multimedia/py-mat2/distinfo create mode 100644 multimedia/py-mat2/pkg-descr diff --git a/multimedia/Makefile b/multimedia/Makefile index ce40d76cd0fe..270a765c61fe 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -319,6 +319,7 @@ SUBDIR += py-gstreamer1 SUBDIR += py-guessit SUBDIR += py-librtmp + SUBDIR += py-mat2 SUBDIR += py-mido SUBDIR += py-mlt SUBDIR += py-moviepy diff --git a/multimedia/py-mat2/Makefile b/multimedia/py-mat2/Makefile new file mode 100644 index 000000000000..ac0fddf549e3 --- /dev/null +++ b/multimedia/py-mat2/Makefile @@ -0,0 +1,30 @@ +PORTNAME= mat2 +DISTVERSION= 0.12.1 +CATEGORIES= multimedia audio graphics textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= fuz@fuz.su +COMMENT= Handy tool to trash your metadata + +LICENSE= LGPL3+ + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mutagen>0:audio/py-mutagen@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cairo>0:graphics/py-cairo@${PY_FLAVOR} \ + librsvg2-rust>0:graphics/librsvg2-rust \ + gdk-pixbuf2>0:graphics/gdk-pixbuf2 \ + poppler-glib>0:graphics/poppler-glib + +USES= python:3.5+ +USE_PYTHON= concurrent distutils autoplist + +NO_ARCH= yes + +OPTIONS_DEFINE= FFMPEG EXIFTOOL +OPTIONS_DEFAULT= FFMPEG EXIFTOOL +EXIFTOOL_DESC= EXIF metadata support via p5-Image-ExifTool +EXIFTOOL_RUN_DEPENDS= exiftool:graphics/p5-Image-ExifTool +FFMPEG_RUN_DEPENDS= ffmpeg:multimedia/ffmpeg + +.include diff --git a/multimedia/py-mat2/distinfo b/multimedia/py-mat2/distinfo new file mode 100644 index 000000000000..2de5b03eda23 --- /dev/null +++ b/multimedia/py-mat2/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1627024866 +SHA256 (mat2-0.12.1.tar.gz) = 5c705e1f9cf26c35480bbb5e83be99e2ac42d78904c0434a17795203a7e45b84 +SIZE (mat2-0.12.1.tar.gz) = 32944 diff --git a/multimedia/py-mat2/pkg-descr b/multimedia/py-mat2/pkg-descr new file mode 100644 index 000000000000..bcb93687dfe3 --- /dev/null +++ b/multimedia/py-mat2/pkg-descr @@ -0,0 +1,24 @@ +Metadata consist of information that characterizes data. Metadata are +used to provide documentation for data products. In essence, metadata +answer who, what, when, where, why, and how about every facet of the +data that are being documented. + +Metadata within a file can tell a lot about you. Cameras record data +about when a picture was taken and what camera was used. Office +documents like PDF or Office automatically adds author and company +information to documents and spreadsheets. Maybe you don't want to +disclose those information. + +This is precisely the job of mat2: getting rid, as much as possible, +of metadata. + +mat2 provides a command line tool, and graphical user interfaces via +a service menu for Dolphin, the default file manager of KDE, and an +extension for Nautilus, the default file manager of GNOME. + +The following formats are supported: avi, bmp, css, epub/ncx, flac, +gif, jpeg, m4a/mp2/mp3/..., mp4, odc/odf/odg/odi/odp/ods/odt/..., +off/opus/oga/spx/..., pdf, png, ppm, pptx/xlsx/docx/..., zip, torrent, +svg/svgz/..., tar/tar.gz/tar.bz2/tar.xz/..., tiff, wav, wmv, ... + +WWW: https://0xacab.org/jvoisin/mat2 -- 2.32.0