aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xextra/shared-mime-info/build8
-rw-r--r--extra/shared-mime-info/checksums2
-rw-r--r--extra/shared-mime-info/sources2
-rw-r--r--extra/shared-mime-info/version2
4 files changed, 7 insertions, 7 deletions
diff --git a/extra/shared-mime-info/build b/extra/shared-mime-info/build
index 58dddbe2..d9c2edf1 100755
--- a/extra/shared-mime-info/build
+++ b/extra/shared-mime-info/build
@@ -11,7 +11,7 @@ mkdir -p "$1/usr/share/mime/packages" \
"$1/usr/bin"
# Install with only English support.
-sed -e 's/_comment/comment/g' freedesktop.org.xml.in \
+sed -e 's/_comment/comment/g' data/freedesktop.org.xml.in \
> "$1/usr/share/mime/packages/freedesktop.org.xml"
# Replace markers in the file.
@@ -19,7 +19,7 @@ sed -e 's|@prefix@|/usr|' -e "s|@VERSION@|$version|" shared-mime-info.pc.in \
> "$1/usr/share/pkgconfig/shared-mime-info.pc"
# Define our own config.h statically.
-cat << EOF > config.h
+cat << EOF > src/config.h
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_FDATASYNC 1
#define HAVE_GETTEXT 0
@@ -46,9 +46,9 @@ cat << EOF > config.h
EOF
# Fix config.h include.
-sed -i 's/<config.h>/"config.h"/' update-mime-database.c
+sed -i 's/<config.h>/"config.h"/' src/update-mime-database.c
# shellcheck disable=2046
"${CC:-gcc}" -o "$1/usr/bin/update-mime-database" \
$(pkg-config --libs --cflags glib-2.0 libxml-2.0) \
- update-mime-database.c
+ src/update-mime-database.c
diff --git a/extra/shared-mime-info/checksums b/extra/shared-mime-info/checksums
index 4c76dfe4..2a502c63 100644
--- a/extra/shared-mime-info/checksums
+++ b/extra/shared-mime-info/checksums
@@ -1 +1 @@
-2df77d547fa0548def38614f318282bc9937e7bde5f139d35053b605f7fd34df Release-1-15.tar.gz
+23c1cb7919f31cf97aeb5225548f75705f706aa5cc7d1c4c503364bcc8681e06 shared-mime-info-2.0.tar.xz
diff --git a/extra/shared-mime-info/sources b/extra/shared-mime-info/sources
index 4ad8576c..a865d4d3 100644
--- a/extra/shared-mime-info/sources
+++ b/extra/shared-mime-info/sources
@@ -1 +1 @@
-https://github.com/freedesktop/xdg-shared-mime-info/archive/Release-1-15.tar.gz
+https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/0440063a2e6823a4b1a6fb2f2af8350f/shared-mime-info-2.0.tar.xz
diff --git a/extra/shared-mime-info/version b/extra/shared-mime-info/version
index b5a3e89c..8c676773 100644
--- a/extra/shared-mime-info/version
+++ b/extra/shared-mime-info/version
@@ -1 +1 @@
-1.15 1
+2.0 1