shared-mime-info-2.4

#### Gaming Linux® From Scratch - Version 13.0

### Chapter 5. Security

- Prev

  libxml2-2.15.1

- Next

  desktop-file-utils-0.28

- Up
- Home

# shared-mime-info-2.4

## Introduction to Shared Mime Info

The Shared Mime Info package contains a MIME database. This allows central updates of MIME information for all supporting applications.

- Download: https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/2.4/shared-mime-info-2.4.tar.gz

### Shared Mime Info Dependencies

Required
GLib-2.86.4 and libxml2-2.15.1

## Installation of Shared Mime Info

Install Shared Mime Info by running the following commands:

    mkdir build &&
    cd    build &&

    meson setup --prefix=/usr --buildtype=release -D update-mimedb=true .. &&
    ninja

Now, as the `root` user:

    ninja install

## Command Explanations

### Note

Inspect `meson_options.txt` or `meson.options` for a full list of options.

`--buildtype=release`: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

`-D update-mimedb=true`: This parameter tells the build system to run update-mime-database during installation. Otherwise, this must be done manually in order to be able to use the MIME database.

## Contents

Installed Program: update-mime-database
Installed Library: None
Installed Directory: /usr/share/mime

### Short Descriptions

update-mime-database | assists in adding MIME data to the database

- Prev

  libxml2-2.15.1

- Next

  desktop-file-utils-0.28

- Up
- Home