void-packages/srcpkgs/shared-mime-info/template

34 lines
1.3 KiB
Plaintext

# Template build file for 'shared-mime-info'.
pkgname=shared-mime-info
version=0.91
homepage="http://freedesktop.org/Software/shared-mime-info"
distfiles="http://people.freedesktop.org/~hadess/$pkgname-$version.tar.xz"
build_style=gnu-configure
configure_args="--disable-update-mimedb"
short_desc="Core database of common types"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
checksum=98cfebe1d809afb24934e634373821e2a1dfa86fc6462cab230589a1c80988bd
long_desc="
Many programs and desktops use the MIME system to represent the types of
files. Frequently, it is necessary to work out the correct MIME type for
a file. This is generally done by examining the file's name or contents,
and looking up the correct MIME type in a database.
For interoperability, it is useful for different programs to use the same
database so that different programs agree on the type of a file, and new
rules for determining the type apply to all programs.
This package contains the core database of common types and the
update-mime-database command used to extend it."
disable_parallel_build=yes
Add_dependency run glibc
Add_dependency run glib
Add_dependency run libxml2
Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build glib-devel
Add_dependency build libxml2-devel