git: 177a300009a2 - main - misc/shared-mime-info: add new mimesubdirs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 28 Dec 2024 04:55:13 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=177a300009a2aca8a0adab8a0a7fbf7b0190d7c6
commit 177a300009a2aca8a0adab8a0a7fbf7b0190d7c6
Author: Жунёва Мария Михайловна <zhunyova@mts.ru>
AuthorDate: 2024-12-23 17:43:59 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-12-28 04:55:04 +0000
misc/shared-mime-info: add new mimesubdirs
Sponsored by: Future Crew, LLC
Pull Request: https://github.com/freebsd/freebsd-ports/pull/335
---
misc/shared-mime-info/Makefile | 7 ++++---
misc/shared-mime-info/pkg-plist | 5 +++++
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/misc/shared-mime-info/Makefile b/misc/shared-mime-info/Makefile
index 202447d9ece7..c20507be56dd 100644
--- a/misc/shared-mime-info/Makefile
+++ b/misc/shared-mime-info/Makefile
@@ -1,5 +1,6 @@
PORTNAME= shared-mime-info
DISTVERSION= 2.4
+PORTREVISION= 1
CATEGORIES= misc gnome
MAINTAINER= desktop@FreeBSD.org
@@ -17,7 +18,6 @@ USE_GNOME= glib20 libxml2
USE_GITLAB= YES
GL_SITE= https://gitlab.freedesktop.org/
GL_ACCOUNT= xdg
-GL_PROJECT= shared-mime-info
GL_TUPLE= xdg:xdgmime:e861d3eb3d522a9c22c5a870526728e2a3d9fc04:xdgmime/src/xdgmime
bash_CMD= /bin/sh
SHEBANG_FILES= ${WRKSRC}/tests/*.py \
@@ -25,8 +25,9 @@ SHEBANG_FILES= ${WRKSRC}/tests/*.py \
${WRKSRC}/tests/*.sh \
${WRKSRC}/po/check_translations.sh
-MIMESUBDIRS= application audio image inode message model multipart \
- packages text video x-epoc x-content font
+# these come from update-mime-database.cpp:const char *media_types[]
+MIMESUBDIRS= all application audio chemical font image inode message model \
+ multipart print text uri video x-content x-epoc x-scheme-handler
post-patch:
${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' \
diff --git a/misc/shared-mime-info/pkg-plist b/misc/shared-mime-info/pkg-plist
index ef4694862241..9fe08eb4610a 100644
--- a/misc/shared-mime-info/pkg-plist
+++ b/misc/shared-mime-info/pkg-plist
@@ -81,15 +81,20 @@ share/locale/zh_HK/LC_MESSAGES/shared-mime-info.mo
share/locale/zh_TW/LC_MESSAGES/shared-mime-info.mo
share/man/man1/update-mime-database.1.gz
share/mime/packages/freedesktop.org.xml
+@dir share/mime/all
@dir share/mime/application
@dir share/mime/audio
+@dir share/mime/chemical
@dir share/mime/font
@dir share/mime/image
@dir share/mime/inode
@dir share/mime/message
@dir share/mime/model
@dir share/mime/multipart
+@dir share/mime/print
@dir share/mime/text
+@dir share/mime/uri
@dir share/mime/video
@dir share/mime/x-content
@dir share/mime/x-epoc
+@dir share/mime/x-scheme-handler