summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-06-27 11:38:08 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-06-30 12:58:49 +0900
commite7912d059ccdcba8aa3e4742c34ced7674da35c0 (patch)
tree9b9eb3ef9d510b66932599d4ac900592581a4588
parentae7f97b2ddf13fde875c466079ad955e76d6540c (diff)
downloadtdelibs-e7912d059ccdcba8aa3e4742c34ced7674da35c0.tar.gz
tdelibs-e7912d059ccdcba8aa3e4742c34ced7674da35c0.zip
Add Gentoo ebuild mime type. This resolves issue #211.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d0dcf302a8d13d397e84fddc2e3070ef696553b4)
-rw-r--r--mimetypes/application/CMakeLists.txt1
-rw-r--r--mimetypes/application/Makefile.am3
-rw-r--r--mimetypes/application/vnd.gentoo.ebuild.desktop11
3 files changed, 14 insertions, 1 deletions
diff --git a/mimetypes/application/CMakeLists.txt b/mimetypes/application/CMakeLists.txt
index 33dd5f567..88607766e 100644
--- a/mimetypes/application/CMakeLists.txt
+++ b/mimetypes/application/CMakeLists.txt
@@ -105,6 +105,7 @@ tde_create_translated_desktop(
vnd.ms-powerpoint.template.macroEnabled.12.desktop
vnd.ms-powerpoint.slideshow.macroEnabled.12.desktop
x-lzma.desktop x-tlzma.desktop x-lzip.desktop x-tlz.desktop x-txz.desktop x-xz.desktop
+ vnd.gentoo.ebuild.desktop
DESTINATION ${MIME_INSTALL_DIR}/application
PO_DIR mimetypes
)
diff --git a/mimetypes/application/Makefile.am b/mimetypes/application/Makefile.am
index 91fd6c9a0..101a46a6c 100644
--- a/mimetypes/application/Makefile.am
+++ b/mimetypes/application/Makefile.am
@@ -86,7 +86,8 @@ mimetypeapplicationdata_DATA = x-dvi.desktop x-gzdvi.desktop x-bz2dvi.desktop \
vnd.ms-powerpoint.presentation.macroEnabled.12.desktop \
vnd.ms-powerpoint.template.macroEnabled.12.desktop \
vnd.ms-powerpoint.slideshow.macroEnabled.12.desktop \
- x-lzma.desktop x-tlzma.desktop x-lzip.desktop x-tlz.desktop x-txz.desktop x-xz.desktop
+ x-lzma.desktop x-tlzma.desktop x-lzip.desktop x-tlz.desktop x-txz.desktop x-xz.desktop \
+ vnd.gentoo.ebuild.desktop
mimetypeapplicationdatadir = $(kde_mimedir)/application
diff --git a/mimetypes/application/vnd.gentoo.ebuild.desktop b/mimetypes/application/vnd.gentoo.ebuild.desktop
new file mode 100644
index 000000000..5a6d1b1f6
--- /dev/null
+++ b/mimetypes/application/vnd.gentoo.ebuild.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+MimeType=application/vnd.gentoo.ebuild
+Comment=Gentoo ebuild file
+Type=MimeType
+Patterns=*.ebuild
+Icon=text-x-makefile
+X-TDE-IsAlso=text/plain
+
+[Property::X-TDE-text]
+Type=bool
+Value=true