summaryrefslogtreecommitdiffstats
path: root/mimetypes
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-06-27 11:38:08 +0900
committerMichele Calgaro <[email protected]>2023-06-28 10:22:19 +0900
commitd0dcf302a8d13d397e84fddc2e3070ef696553b4 (patch)
tree5d92bfb1cdde66fa829326fb32ec4692e872abff /mimetypes
parent4e0aa6d57ace1ba3084a2a111573fec92c465537 (diff)
downloadtdelibs-d0dcf302a8d13d397e84fddc2e3070ef696553b4.tar.gz
tdelibs-d0dcf302a8d13d397e84fddc2e3070ef696553b4.zip
Add Gentoo ebuild mime type. This resolves issue #211.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'mimetypes')
-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