diff options
Diffstat (limited to 'sci-chemistry/chemical-mime-data')
3 files changed, 75 insertions, 0 deletions
diff --git a/sci-chemistry/chemical-mime-data/Manifest b/sci-chemistry/chemical-mime-data/Manifest index f0d861fd3d5a..1ea5baf98461 100644 --- a/sci-chemistry/chemical-mime-data/Manifest +++ b/sci-chemistry/chemical-mime-data/Manifest @@ -1,7 +1,9 @@ +AUX chemical-mime-data-0.1.94-drop-turbomole-vibrational.patch 934 BLAKE2B 8c35adddc5dbed044a68c1f0f485faf01ae4d6fb4724e82956e9e73292e2b7e37f527a8225fce3fa4b3c6629038086f30912b8bce21d704244dc18ba52673f8a SHA512 f1ca2c08b33f77ccc1355edbbba53971e4c09ed004ec35554617d57cb6dd90c9a8a712ebfe1c7e0b01d9a97790004a048029a9e96323e7a105e9b15408a0d4cd AUX chemical-mime-data-0.1.94-namespace-svg.patch 798 BLAKE2B 4ab826dd3c76234c903a740b2e59dd4403d01aff856327d31c6707ab4563931d9fe4d9d57bdc19d6102d63d860eb2d88220844b934aa63cc3be984621ac52d28 SHA512 64addfac817a7f056f381515561b4311936410dc46385a3ded8c65f8fbc3d5dda731c4ec02e9369299c8122e7c43a6dc53005a4957e4165bbf958f683708513d AUX chemical-mime-data-0.1.94-pigz.patch 481 BLAKE2B dee47e41645b5d196326fb7439e1a96b3d46983fa9c9ec4295b17676d51f966f48ff51668203e59f18580939337d83d5ae904ef33fe2044dcc62fedd90fcb82e SHA512 a16839c1b88486ed26b4987a22594d0c3d45254d31157560135bdba008e5caa0a372d11e7db858564f1eca75452d2e43509899a91c2a8872465ea06277a1fb6c AUX chemical-mime-data-0.1.94-rsvg-convert.patch 1039 BLAKE2B 2eff2aa39206181f56bc802c30b4b043a0aeccef55c5d4e34755dcca69cc3afadd6cac364307729d8d83c88b7ba1d91d7200a80c7bd577e22c6ec5aec3b1921d SHA512 9c12f96f16e7982a5ba11fc546293a2e74f8918ef6eb274e3b1a618fc28aff244402c9b28ffebc2e01c8f6eb0e9e2516da82852bd0f9142c10e97f027670e60d AUX chemical-mime-data-0.1.94-turbomole.patch 2451 BLAKE2B 86b4b08b2af4503e0f8a525ebaa4231a3d0d3727c951b9e957c9fdac790bc41b7f01092350099a64cce66dbb61bc4cbd3654ef91834310c6c7cd1dc156ca87e8 SHA512 1bfa8818d159f0f917a24a06b0bfe926f0854f4242d8c2dbbedcd4210ffd38a459298862dc1d1aedbbe648a933db99c5d647c5409af74f88b03dd3033946df54 DIST chemical-mime-data-0.1.94.tar.bz2 146077 BLAKE2B 9996c240446dc9571b6b4afbcdc6cf16a08e11314da9f785490b1b20933b6d18a333132492e30315c08f4441c048ec593a111815253050cfb5ab562aadb784f1 SHA512 7f3d967149f27ab1de53c948dc055959e661e1be9d778e3d56d06bea95769da7770ab5fb66afab6607747ef91ffb1dbbcf921e5f06e3303351781968594b5f00 EBUILD chemical-mime-data-0.1.94-r3.ebuild 1007 BLAKE2B 20203fada235e55c4614a8f5f80271adb91ecb8e21e553aeaf3ef2d0bb9f94b78ae7f4905db9698f2d4a0971cc309eb863277261dae0cb4fc19d60cc6a8037c4 SHA512 421ee83448926cc336065c22f270d2c8d4f7fdd0517b684ecd4faa002b16bad0113d9de3fb88a548a7e35e028d3572932a7fc8907d516d3878cc4cafb1474131 +EBUILD chemical-mime-data-0.1.94-r4.ebuild 1132 BLAKE2B aade2545fbe6e9c255ed7d1f3da543bb05456355d56acbded2f599e10f24117daba19cb9d51090e8dbb79090a722d39a0c8c2573672beea1c8373557c715e781 SHA512 8b5e5fcd3a83b046341b2afeabc397c8416f97f7bb47edd6b4b5270540377dd46c01ac1cc342d6ed2f6994bb063bccbb29c0fcda7cb82212a188cd135ad72dba MISC metadata.xml 474 BLAKE2B c4d6ffbdf66f856fc9e404202d9a9956d8bbfaeb31eb1eb056300ca5049c02d0499ead32a2013080e397eba272bd3a290b81f343baab1fb40204364bfa5208ec SHA512 59cfe759a75bf49fb020652168434fb610c2d5ba56507945253f556b5542a119bc9c9dc4f2b71ceed93f6672b31e5713cc9d76c433e95b0a08c51e9e577bac00 diff --git a/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94-r4.ebuild b/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94-r4.ebuild new file mode 100644 index 000000000000..ad703d678720 --- /dev/null +++ b/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.94-r4.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools xdg + +DESCRIPTION="A collection of data files to add support for chemical MIME types" +HOMEPAGE="https://github.com/dleidert/chemical-mime" +SRC_URI="mirror://sourceforge/${PN/-data/}/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RDEPEND=" + x11-misc/shared-mime-info +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/intltool + dev-util/desktop-file-utils + dev-libs/libxslt + || ( + gnome-base/librsvg + media-gfx/imagemagick[xml,png,svg] + ) + media-gfx/imagemagick[png] + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${P}-turbomole.patch + "${FILESDIR}"/${P}-pigz.patch + "${FILESDIR}"/${P}-namespace-svg.patch + "${FILESDIR}"/${P}-rsvg-convert.patch + # https://github.com/dleidert/chemical-mime/issues/1 + "${FILESDIR}"/${P}-drop-turbomole-vibrational.patch +) + +src_prepare() { + xdg_src_prepare + eautoreconf +} + +src_configure() { + econf \ + --disable-update-database \ + --without-gnome-mime \ + --without-pixmaps \ + --without-kde-mime \ + --htmldir=/usr/share/doc/${PF}/html +} diff --git a/sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.94-drop-turbomole-vibrational.patch b/sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.94-drop-turbomole-vibrational.patch new file mode 100644 index 000000000000..4c25b1a18343 --- /dev/null +++ b/sci-chemistry/chemical-mime-data/files/chemical-mime-data-0.1.94-drop-turbomole-vibrational.patch @@ -0,0 +1,20 @@ +diff -up chemical-mime-data-0.1.94/src/chemical-mime-database.xml.in.turbomole_vibration chemical-mime-data-0.1.94/src/chemical-mime-database.xml.in +--- chemical-mime-data-0.1.94/src/chemical-mime-database.xml.in.turbomole_vibration 2020-01-29 17:32:45.000000000 +0100 ++++ chemical-mime-data-0.1.94/src/chemical-mime-database.xml.in 2020-01-29 17:32:45.000000000 +0100 +@@ -1401,16 +1401,6 @@ + <specification url="http://www.cosmologic.de/data/DOK_HTML/"/> + </mime-type> + +- <mime-type type="chemical/x-turbomole-vibrational" support="yes"> +- <_comment>Turbomole Vibrational Data File</_comment> +- <glob pattern="???"/> +- <sub-class-of type="text/plain"/> +- <icon kde="qc"/> +- <supported-by> +- <application name="viewmol"/> +- </supported-by> +- <specification url="http://www.cosmologic.de/data/DOK_HTML/"/> +- </mime-type> + + <mime-type type="chemical/x-vamas-iso14976" cm:support="no"> + <_comment>VAMAS document</_comment> |