summaryrefslogtreecommitdiff
path: root/sci-chemistry/chemical-mime-data
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-21 00:38:34 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-21 00:38:34 +0000
commitd39430b96ad12b39a0ce35745f3d45d980d1b328 (patch)
treefef90d0b467c23d538da717540b56a1be7ec29f0 /sci-chemistry/chemical-mime-data
parenta075e288474a3a53905a044068223546c5360298 (diff)
gentoo auto-resync : 21:03:2023 - 00:38:34
Diffstat (limited to 'sci-chemistry/chemical-mime-data')
-rw-r--r--sci-chemistry/chemical-mime-data/Manifest4
-rw-r--r--sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.95_pre20171122.ebuild51
-rw-r--r--sci-chemistry/chemical-mime-data/metadata.xml15
3 files changed, 62 insertions, 8 deletions
diff --git a/sci-chemistry/chemical-mime-data/Manifest b/sci-chemistry/chemical-mime-data/Manifest
index 0a935b14c466..d0caeca0aaad 100644
--- a/sci-chemistry/chemical-mime-data/Manifest
+++ b/sci-chemistry/chemical-mime-data/Manifest
@@ -4,5 +4,7 @@ AUX chemical-mime-data-0.1.94-pigz.patch 481 BLAKE2B dee47e41645b5d196326fb7439e
AUX chemical-mime-data-0.1.94-rsvg-convert-r2.patch 1305 BLAKE2B 22809dbd6c769a0dcc88d65c3454702021d9d6e082a50fce9a5f3a28743aafdbcb5e153a90ee43f7a42d4ccd5f98465f91f872e7fabf69086b8ecf1336a60e49 SHA512 4bea8dae65e28657ff75b5b613137c0f89f6de185db79297642616f208e841ba56181044eee194c619bad2c3bfb62454b7839b720d2f32fca0e768b75c842683
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
+DIST chemical-mime-data-0.1.95_pre20171122.tar.gz 84515 BLAKE2B 42f76b44408c04e5a254c17502ea2c297727bb58fa3e86b8bca7f0c4c056ae7400b31f06b7d0c64b0712e97ab8a1f82549f44a3677720cd37a301ba99adb3d7a SHA512 a031e7a5bc31a74adcd8e5d827de71b6e0eafdceba16cf6f7407aa0266a9a082b0011963b315d2369f39abf45c4b41cedafccddbc2171673bf96ccbea51a4790
EBUILD chemical-mime-data-0.1.94-r4.ebuild 1091 BLAKE2B 2014dc00aed88c563263444a32fa008b440413ddacca3a8e08a9f07191a0595f5166715e12f31c5454b32fe0561476b4b4400aeee6e7a99c9d791f923bd8b4fa SHA512 6760106eb5303b951b3a245de3da8356cf73a7bc6ba788554b308fd31c004ff18729e7c223264df011ac2a3493e201525e394b4f2a63bc4e7fbade9f0056663f
-MISC metadata.xml 359 BLAKE2B 21813389835e947fa641360371020e74592c4b3b54b9244f6a2c3e5022abeaf477d42b466ce041478626b035f4ea243a526ed1ce796a995482d8bce66a3c3105 SHA512 bea4afc5ec2f3d8ee195bf336c5f81a18690bd9fde14da425dcb3b123d9fec362106a13efe11121a42115209b4c6670a7f24bc4aff6a170f496a9f3cbb764bc6
+EBUILD chemical-mime-data-0.1.95_pre20171122.ebuild 1247 BLAKE2B 0654e887683d4624ce39da6c63019f54d9cf5cf95ec7b0a96b27d927f9c2e264378a51e09817b8da74866b2f3c0c1638a7bd24365cba08a0a44c67680af974f9 SHA512 5faeeb4fb80572189d99f3499d3460d180ba407c1c43cab1b2cf265a7c893be093c703f73a333db8b10bf231db38f88dfa841947a85aabbd098c54632d1efb7e
+MISC metadata.xml 403 BLAKE2B 57e1752722094936b1d76d3198ee397d233b3069df3ef15a60b2f25989418736a9d8672b53d78259a2d4f50fa6e5a635331cf1003dd2cbf87f66a60c85e0ba07 SHA512 c689663c874f6b8d63153fd84326dc5b00b733e98f04d763506f4fff4cbee3e642c5b4633ec3b6a6b5d2950928ba318e226eef85ee25cc8ff00c1dc25a87c3b5
diff --git a/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.95_pre20171122.ebuild b/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.95_pre20171122.ebuild
new file mode 100644
index 000000000000..13b91f044ac8
--- /dev/null
+++ b/sci-chemistry/chemical-mime-data/chemical-mime-data-0.1.95_pre20171122.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit autotools xdg
+
+DESCRIPTION="A collection of data files to add support for chemical MIME types"
+HOMEPAGE="https://github.com/dleidert/chemical-mime"
+COMMIT="4fd66e3b3b7d922555d1e25587908b036805c45b"
+SRC_URI="https://github.com/dleidert/chemical-mime/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+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
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ # https://github.com/dleidert/chemical-mime/issues/5
+ "${FILESDIR}"/${PN}-0.1.95-turbomole.patch
+)
+
+S="${WORKDIR}/${PN/-data/}-${COMMIT}"
+
+src_prepare() {
+ default
+ # https://github.com/dleidert/chemical-mime/issues/4
+ sed -i -e \
+ '/<_comment/a\\t\t<generic-icon name="image-x-generic"/>' \
+ src/chemical-mime-database.xml.in || die
+ sed -i -e \
+ 's:acronym|alias|comment|:acronym|alias|comment|generic-icon|:' \
+ xsl/cmd_freedesktop_org.xsl || die
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-update-database \
+ --without-gnome-mime \
+ --without-kde-mime \
+ --without-kde-magic
+}
diff --git a/sci-chemistry/chemical-mime-data/metadata.xml b/sci-chemistry/chemical-mime-data/metadata.xml
index 702a57465bce..59742c34e797 100644
--- a/sci-chemistry/chemical-mime-data/metadata.xml
+++ b/sci-chemistry/chemical-mime-data/metadata.xml
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>sci-chemistry@gentoo.org</email>
- <name>Gentoo Chemistry Project</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">chemical-mime</remote-id>
- </upstream>
+<maintainer type="project">
+ <email>sci-chemistry@gentoo.org</email>
+ <name>Gentoo Chemistry Project</name>
+</maintainer>
+<upstream>
+ <remote-id type="sourceforge">chemical-mime</remote-id>
+ <remote-id type="github">dleidert/chemical-mime</remote-id>
+</upstream>
</pkgmetadata>