Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

125.5. chemical-mime-data-0.1.94

MIME types for chemistry file formats — CML, PDB, MDL Molfile, XYZ, Gaussian and about 70 more

0.1.94-2 · LGPL-2.1-or-later · 0.2 SBU · 69.9 KiB, 6 files · 41_system, 1045 of 1047 · ports/core/xdg/chemical-mime-data

Homepage: https://github.com/dleidert/chemical-mime

Depends on: autoconf, automake, intltool, pkgconf, libxslt, libxml2, shared-mime-info.

Required by (1): kalzium.

Sources: chemical-mime-data-0.1.94.tar.gz (69.9 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install chemical-mime-data'

build.sh:

cd chemical-mime-data
intltoolize --force --copy --automake
autoreconf -fi
./configure \
	--prefix=/usr \
	--disable-update-database \
	--without-gnome-mime \
	--without-kde-mime \
	--without-hicolor-theme \
	RSVG=/usr/bin/true
make
make DESTDIR=$PKG install
rm -rf "$PKG/usr/share/doc"
install -Dm644 COPYING "$PKG/usr/share/licenses/$name/COPYING"
install -Dm644 icons/hicolor/gnome-mime-chemical.svg \
	"$PKG/usr/share/icons/hicolor/scalable/mimetypes/gnome-mime-chemical.svg"
grep -q 'chemical/x-cml' "$PKG/usr/share/mime/packages/chemical-mime-data.xml"

Directories: /usr/share/licenses/chemical-mime-data.