commit f25b6bc6bbb34e89cdfdbf7962ef93d93c5c72b7 Author: Tim Biermann <tbier@posteo.de> Date: Sun Oct 31 21:35:58 2021 +0100 shared-mime-info: patched for meson 0.60 diff --git a/shared-mime-info/.signature b/shared-mime-info/.signature index d0593fe8d..bdc4fd1c4 100644 --- a/shared-mime-info/.signature +++ b/shared-mime-info/.signature @@ -1,7 +1,8 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/VEJq9GBF/w8frUj4UhANIHf5UoMtPTMoVxSHiZFeN1wYt0ivM8PWhtMtZ9e3WHE+czjU/4+rq8wJdfz8qUR7Qo= -SHA256 (Pkgfile) = 6fa8dd6cc0797c79d2fc7263e03dff6543fa1955f9fe4d67a0f7d39d17a170a9 +RWSE3ohX2g5d/Rqei6tPEjX5hns+d+8eB5VALO/CxHUQG1KDNA5me2QBstMwZcYY4VyL95N71QjeAbPYz+jLIF3/3anaOjFpgwU= +SHA256 (Pkgfile) = 7e114b5344489e1b447aed6d414c87d9d006d55f5902744c15703a2d10510041 SHA256 (.footprint) = c13123d9ba9dbe629ffe8847ef1a81f6c463800dc6160415e5d81f10c9947ea3 SHA256 (shared-mime-info-2.1.tar.bz2) = 37df6475da31a8b5fc63a54ba0770a3eefa0a708b778cb6366dccee96393cb60 SHA256 (xdgmime-cecafc8cd5cd725444b914d5f6cd17308633afa8.tar.bz2) = fd675b4d63fb2d9724bceaa26e24849ffce1be3d0a5415efd60c758529e717a7 SHA256 (remove-weird-docs.patch) = 651cc9102ae07d1be81b3ef4ebf4f97dca89ce5cc04c3f49edf2986793d77e0f +SHA256 (meson060.patch) = 8da72ccb5fa9f87a5969631fef6e47ff9713affec3464bb25d7e5b3cb945b62e diff --git a/shared-mime-info/Pkgfile b/shared-mime-info/Pkgfile index 92dda6433..103c076b1 100644 --- a/shared-mime-info/Pkgfile +++ b/shared-mime-info/Pkgfile @@ -9,7 +9,7 @@ release=1 _xdgmimever=cecafc8cd5cd725444b914d5f6cd17308633afa8 source=(https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/$version/$name... https://gitlab.freedesktop.org/xdg/xdgmime/-/archive/$_xdgmimever/xdgmime-$_... - remove-weird-docs.patch) + remove-weird-docs.patch meson060.patch) build() { # Build mime database @@ -20,6 +20,7 @@ build() { # We don't want to include fancy docs # Deletes references to xmllint and xmlto patch -Np1 -d $name-$version -i $SRC/remove-weird-docs.patch + patch -Np1 -d $name-$version -i $SRC/meson060.patch meson $name-$version build \ --prefix=/usr \ diff --git a/shared-mime-info/meson060.patch b/shared-mime-info/meson060.patch new file mode 100644 index 000000000..4f73f0ad0 --- /dev/null +++ b/shared-mime-info/meson060.patch @@ -0,0 +1,10 @@ +diff --git a/data/freedesktop_generate.sh b/data/freedesktop_generate.sh +index ff13e75..2cb0458 100755 +--- a/data/freedesktop_generate.sh ++++ b/data/freedesktop_generate.sh +@@ -9,4 +9,4 @@ itstool \ + --its "${src_root}/data/its/shared-mime-info.its" \ + --join "${src_root}/data/freedesktop.org.xml.in" \ + -o "${build_root}/data/freedesktop.org.xml" \ +- "${build_root}/po/"*".gmo" ++ "${build_root}/po/"*"/LC_MESSAGES/shared-mime-info.mo"