diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-01 21:06:00 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-01 21:06:00 +0000 |
commit | 129160ec854dca4c3fedb5bcfbcb56930371da0f (patch) | |
tree | 53bf797418ac5e9b99c41ca0382c87b82421e5de /x11-misc/shared-mime-info | |
parent | 441d1370330332b7d78f238d2f5e13f7aed5e4e0 (diff) |
gentoo new year resync : 01.01.2021
Diffstat (limited to 'x11-misc/shared-mime-info')
5 files changed, 56 insertions, 6 deletions
diff --git a/x11-misc/shared-mime-info/Manifest b/x11-misc/shared-mime-info/Manifest index b0069b1fcfca..f822e7451523 100644 --- a/x11-misc/shared-mime-info/Manifest +++ b/x11-misc/shared-mime-info/Manifest @@ -2,7 +2,9 @@ AUX shared-mime-info-2.0-pkgconfig_install_path.patch 623 BLAKE2B 3ee4845d1c8c7c DIST shared-mime-info-1.10.tar.xz 616800 BLAKE2B a63c97aba9184e7926db01968aef2a741ef089a46ab9365eb8dad5a78f585f90171751baeaa3bc62ed0a37eed6e93d60598fbe1e7e63168106fc8aa05f2f5cc8 SHA512 efc2b63cae11e6b0332f8607ba57a885dec68a23ac299bbda3eb6e2c7ed071c7c40dba73e9cf23ab675fcaa86ea3777fa931a9f25000a08ec6a748734c88beda DIST shared-mime-info-1.15.tar.xz 772708 BLAKE2B 763c7b5f1128882cb8a027ee7fb35daa5d141ccab07ba7aeae5139b94c1ed1c5702741b30c8803b7796bb6eb66fa02fde41d14e078b1960003bd3ba5e0de4e1a SHA512 3666aa500dfa6a28bd0524400c47fa16d90ae61f8c80f350fd895972319ec2f511618b8a7fa3cbde621edee46fde19e4506bda62f0bd2d0ede1b08d7bdb9aef2 DIST shared-mime-info-2.0.tar.xz 5015272 BLAKE2B 8bac4790177f8b72a8c74799d7abca360ad11a922635aa1207eead78674192b300cf0096f5943a65aa3991c8403b145adb24f5e7746db7ea6ceeab64978608c3 SHA512 f4a1ea9a408ffcff325e57585dec5862405e9fd6c79e444048039f3061676501c40168cecf8935d002644a702a21f08f0f7c680ef6a65fdf188e0d892f3cc085 -EBUILD shared-mime-info-1.10-r1.ebuild 1773 BLAKE2B bd008173ac18b6b06be56cfad43cddaf9e0495853c5f7526f1b236e81cd1e2f7c0730148bb020dd414e42c106e51825d02ee5c6d0234c36a33a361a290424dea SHA512 cdd5dfbc93748884a3defb0447afb0bf24283c06df886085f6880400018bdbd5b764cf056d8b4ef9c60066c16b0f08b4085f3400d7379b5eb48968df40dca453 -EBUILD shared-mime-info-1.15.ebuild 1281 BLAKE2B 940be4cf5cd2b04de6c7e38b5ff662bb19d43eede3a9a7827041f7c9c6b4e27e1a81af19233031f89eabbee9ff15050e50ae2ab52993c8d69f579933298c6f3b SHA512 3d413ccf7d70f39c2b996677d6172bdc7570673fbb8b1d849aa691e16db64c10d207b1c913722fe8d0660eaf2cc2775f6fdb2b45326e118af8263024d26fc11e -EBUILD shared-mime-info-2.0-r2.ebuild 1381 BLAKE2B b3cc2a1960cae1dc65802ee71213a9e0ca335d8e54ec746538f8dfae2b0ef6a29a0d9f269513b8486121c93afd10b2adf213bc315516608f70836cf988d562be SHA512 c81559b5213ba0c618afb2ad2d8099eb06019f0692faa1b08c3f2574925644222440ecba1c6e0e5592d537da360cdb5fcfe5b5b2ee86fc84ecb7b219bd4745f7 +DIST shared-mime-info-2.1.tar.xz 5202496 BLAKE2B e8dfc7efe78feb5a38c8115a2b332f46c3dac2f89dffad0834fa7b77560b3ef528e779ab9e42822288f85d8c434fd590859db682f3f99494aa6a4387c985e912 SHA512 87e308281e83c4cf889594f7c2e8dcb4d0d0d3910124c3816fdb886ba7d6113b2581711adcb17032b47f9b8d8b7001fab58daa52b7da7c0ef87915e341d6f1b0 +EBUILD shared-mime-info-1.10-r1.ebuild 1753 BLAKE2B 6103d1535657785a34c498900e26f3b9f023ebf20a36f46b3ea9c3c114f34bf8cc5eaa70c00c70292cd6a59edd675c819f3a70a80d4f4e4fd71639fd2838926d SHA512 89b5a2e4cf5e01417b1bdeb4da4b406b5b78a0b7c1a929a4555119506408d89059ee55c1c5a95affa312fa352b44ffa2bd39ee9a6986244164fa8f235f548258 +EBUILD shared-mime-info-1.15.ebuild 1261 BLAKE2B 26daf82c8bf3275c54d85c515523680c017b0620d9e0fc16806641af7b6fd4e27231a09ad1e7b50f212fe63af1d53b0aa85c54aa2644379debd8fbec6bae9061 SHA512 2ef1d3274e46f7f1101ccbbddace56b65d44db380d65773c3f037d4ff3c582dec46668eec15fef342bcb78135c16e10d1cdba301ccf2ac77477008848849d93b +EBUILD shared-mime-info-2.0-r2.ebuild 1361 BLAKE2B 6e21efa5ec7b7608448f19fd306c7e2c05303fa31697901f509e53343422f7ba3916ebe7baf9e0a0fd4abd08bd04a5732bab5fac350f893a29a898b06ee0e1b4 SHA512 634758f2256de28ebfec5536f1c890256acaa5c94a05e0529d61e1c31a92801e7fb26bf04d574c3b548f8bfa1ae5692823c150dbfd42a4f8fa128efaf6a308a3 +EBUILD shared-mime-info-2.1.ebuild 1291 BLAKE2B ce45119c61c178025b81896400fd5b23a2a3352feac3fd4dc896f530e4553e2e5b046a104b3cca12d4b0b6694ccee07e2cfdd3feb60d6c36c08832ce161526ff SHA512 6dd08aaa99ed18652cf9b33c3285be54dd63b993e1198d893d2392c59541c7eae9c59fa73762028b9998fc2c92b8ecc91e5125f6367260ad5e41d55115da0611 MISC metadata.xml 228 BLAKE2B 6b6559027915d8578c02e363cc855e812c338acf7716fe4108a8b85c09152a086cb578e7361f4613a44e8b550d7e205ff43aea39dd9488951fa18c6e15042278 SHA512 4f5e63f918a0f8790db49c5b12173c673f86935f00796a04acfed573f618379b73b05b1869941e11f881fe69d4958f5287ce815fd710eadb6ac9f2680894caae diff --git a/x11-misc/shared-mime-info/shared-mime-info-1.10-r1.ebuild b/x11-misc/shared-mime-info/shared-mime-info-1.10-r1.ebuild index d88ef77286f0..f9c9995cc9a2 100644 --- a/x11-misc/shared-mime-info/shared-mime-info-1.10-r1.ebuild +++ b/x11-misc/shared-mime-info/shared-mime-info-1.10-r1.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://people.freedesktop.org/~hadess/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="test" RESTRICT="!test? ( test )" diff --git a/x11-misc/shared-mime-info/shared-mime-info-1.15.ebuild b/x11-misc/shared-mime-info/shared-mime-info-1.15.ebuild index 46ef5331e663..4f43951549d1 100644 --- a/x11-misc/shared-mime-info/shared-mime-info-1.15.ebuild +++ b/x11-misc/shared-mime-info/shared-mime-info-1.15.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://gitlab.freedesktop.org/xdg/${PN}/uploads/${HASH}/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" BDEPEND=" dev-util/itstool diff --git a/x11-misc/shared-mime-info/shared-mime-info-2.0-r2.ebuild b/x11-misc/shared-mime-info/shared-mime-info-2.0-r2.ebuild index 85e893d2bbce..2724d7ac0421 100644 --- a/x11-misc/shared-mime-info/shared-mime-info-2.0-r2.ebuild +++ b/x11-misc/shared-mime-info/shared-mime-info-2.0-r2.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://gitlab.freedesktop.org/xdg/${PN}/uploads/${HASH}/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" # requires installed xdgmime binary RESTRICT="test" diff --git a/x11-misc/shared-mime-info/shared-mime-info-2.1.ebuild b/x11-misc/shared-mime-info/shared-mime-info-2.1.ebuild new file mode 100644 index 000000000000..bd0c32878780 --- /dev/null +++ b/x11-misc/shared-mime-info/shared-mime-info-2.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +HASH=0ee50652091363ab0d17e335e5e74fbe # don't forget to update on version bumps +inherit meson xdg-utils + +DESCRIPTION="The Shared MIME-info Database specification" +HOMEPAGE="https://gitlab.freedesktop.org/xdg/shared-mime-info" +SRC_URI="https://gitlab.freedesktop.org/xdg/${PN}/uploads/${HASH}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +# requires installed xdgmime binary +RESTRICT="test" + +BDEPEND=" + app-text/docbook-xml-dtd:4.1.2 + app-text/xmlto + dev-util/itstool + sys-devel/gettext + virtual/pkgconfig +" +RDEPEND=" + dev-libs/glib:2 + dev-libs/libxml2 +" +DEPEND="${RDEPEND}" + +DOCS=( HACKING.md NEWS README.md ) + +src_install() { + meson_src_install + + # in prefix, install an env.d entry such that prefix patch is used/added + if use prefix; then + echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/share\"" > "${T}"/50mimeinfo || die + doenvd "${T}"/50mimeinfo + fi +} + +pkg_postinst() { + use prefix && export XDG_DATA_DIRS="${EPREFIX}"/usr/share + xdg_mimeinfo_database_update +} |