mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
shared_mime_info: bump version.
This commit is contained in:
60
x11-misc/shared_mime_info/shared_mime_info-1.15.recipe
Normal file
60
x11-misc/shared_mime_info/shared_mime_info-1.15.recipe
Normal file
@@ -0,0 +1,60 @@
|
||||
SUMMARY="Freedesktop MIME database specification"
|
||||
DESCRIPTION="The shared-mime-info package contains the core database \
|
||||
of common types and the update-mime-database command used to extend it. \
|
||||
It requires glib2 to be installed for building the update command. \
|
||||
Additionally, it uses intltool for translations, though this is only a \
|
||||
dependency for the maintainers."
|
||||
HOMEPAGE="http://freedesktop.org/wiki/Software/shared-mime-info"
|
||||
COPYRIGHT="2009-2019 Freedesktop.org"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/b27eb88e4155d8fccb8bb3cd12025d5b/shared-mime-info-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="f482b027437c99e53b81037a9843fccd549243fd52145d016e9c7174a4f5db90"
|
||||
SOURCE_DIR="shared-mime-info-$portVersion"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
shared_mime_info$secondaryArchSuffix = $portVersion
|
||||
cmd:update_mime_database$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libxml2$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
devel:libintl$secondaryArchSuffix
|
||||
devel:libxml2$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:awk
|
||||
cmd:find
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:intltool_update
|
||||
cmd:itstool
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:xmllint
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -vfi
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
rm -rf $dataDir/mime/mime.cache
|
||||
fixPkgconfig
|
||||
}
|
||||
Reference in New Issue
Block a user