diff --git a/multimedia/Makefile b/multimedia/Makefile --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -215,6 +215,7 @@ SUBDIR += lsdvd SUBDIR += m2vrequantiser SUBDIR += makemkv + SUBDIR += mediaelch SUBDIR += mediainfo SUBDIR += mencoder SUBDIR += minisatip diff --git a/multimedia/mediaelch/Makefile b/multimedia/mediaelch/Makefile new file mode 100644 --- /dev/null +++ b/multimedia/mediaelch/Makefile @@ -0,0 +1,48 @@ +PORTNAME= mediaelch +DISTVERSIONPREFIX= v +DISTVERSION= 2.10.6 +CATEGORIES= multimedia +PKGNAMESUFFIX= -${FLAVOR} + +MAINTAINER= lexi.freebsd@le-fay.org +COMMENT= Desktop utility to manage metadata and artwork for Kodi and Jellyfin +WWW= https://www.mediaelch.de/mediaelch/ + +LICENSE= LGPL3 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libmediainfo.so:multimedia/libmediainfo \ + libcurl.so:ftp/curl \ + libquazip1-${FLAVOR}.so:archivers/quazip@${FLAVOR} + +FLAVORS= qt6 qt5 +FLAVOR?= qt6 + +USES= cmake gl localbase:ldflags + +USE_GITHUB= yes +GH_ACCOUNT= Komet +GH_PROJECT= MediaElch + +USE_GL= opengl + +.if ${FLAVOR} == qt5 +USES+= qt:5 +USE_QT= buildtools:build qmake:build linguisttools:build \ + concurrent core gui multimedia network opengl qmake sql svg \ + widgets xml +.elif ${FLAVOR} == qt6 +USES+= qt:6 +USE_QT= 5compat base multimedia svg tools +.endif + +_CMAKE_ON_qt5= MEDIAELCH_FORCE_QT5 +_CMAKE_ON_qt6= MEDIAELCH_FORCE_QT6 +CMAKE_ON= USE_EXTERN_QUAZIP ${_CMAKE_ON_${FLAVOR}} + +PLIST_FILES= bin/MediaElch \ + share/applications/MediaElch.desktop \ + share/metainfo/com.kvibes.MediaElch.metainfo.xml \ + share/pixmaps/MediaElch.png + +.include diff --git a/multimedia/mediaelch/distinfo b/multimedia/mediaelch/distinfo new file mode 100644 --- /dev/null +++ b/multimedia/mediaelch/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1705330582 +SHA256 (Komet-MediaElch-v2.10.6_GH0.tar.gz) = c37464e4cf956e9abec14126eb681633988f31ba2b0f937817c7829c25737e22 +SIZE (Komet-MediaElch-v2.10.6_GH0.tar.gz) = 3300733 diff --git a/multimedia/mediaelch/pkg-descr b/multimedia/mediaelch/pkg-descr new file mode 100644 --- /dev/null +++ b/multimedia/mediaelch/pkg-descr @@ -0,0 +1,5 @@ +MediaElch is a desktop media metadata manager for Kodi and Jellyfin. + +It can automatically download information about movies, TV shows and music, +including artwork, and create ".nfo" files which are used by the Kodi/Jellyfin +user interface.