From 3425c4b4c08e9a54277ae2fbdb8e0ad892c9b147 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 17 Apr 2009 02:38:46 +0200 Subject: [PATCH] shared-mime-info: update to 0.60, new deps style. --HG-- extra : convert_revision : 7540f7c158e1d99b73fdac975d1f680e5ad119aa --- ...ime-info-fix-pkgconfig.diff => build.diff} | 0 templates/shared-mime-info/template | 24 +++++++------------ 2 files changed, 9 insertions(+), 15 deletions(-) rename templates/shared-mime-info/{shared-mime-info-fix-pkgconfig.diff => build.diff} (100%) diff --git a/templates/shared-mime-info/shared-mime-info-fix-pkgconfig.diff b/templates/shared-mime-info/build.diff similarity index 100% rename from templates/shared-mime-info/shared-mime-info-fix-pkgconfig.diff rename to templates/shared-mime-info/build.diff diff --git a/templates/shared-mime-info/template b/templates/shared-mime-info/template index 07700fd130..d170e4406b 100644 --- a/templates/shared-mime-info/template +++ b/templates/shared-mime-info/template @@ -1,16 +1,12 @@ # Template build file for 'shared-mime-info'. pkgname=shared-mime-info -version=0.51 -patch_files="$pkgname-fix-pkgconfig.diff" -distfiles=" -http://people.freedesktop.org/~hadess/$pkgname-$version.tar.bz2" +version=0.60 +distfiles="http://people.freedesktop.org/~hadess/$pkgname-$version.tar.bz2" build_style=gnu_configure configure_args="--disable-update-mimedb" -make_cmd="$XBPS_MASTERDIR/bin/gmake" -pkgconfig_override="shared-mime-info.pc" short_desc="Core database of common types" maintainer="Juan RP " -checksum=9e0281f3bd9ac44af60833ec6b15af9f58936cc7 +checksum=a0d0a948fbb8d0de576876791d53efd1c5e8dd782eb9e5369cafc06c3969de22 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 @@ -24,12 +20,10 @@ long_desc=" This package contains the core database of common types and the update-mime-database command used to extend it." -# Update shared-mime-info database file. -postinstall_helpers="update-mimedb.sh" +triggers="mimedb" -pre_configure() -{ - # Replace hardcoded paths in XDG_DATA_DIRS. - sed -i -e "s|/usr/local/share|$XBPS_MASTERDIR/share|g" \ - $wrksrc/update-mime-database.c -} +Add_dependency build pkg-config +Add_dependency build intltool +Add_dependency full glibc +Add_dependency full glib +Add_dependency full libxml2