diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-libs/gts |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/gts')
-rw-r--r-- | sci-libs/gts/Manifest | 6 | ||||
-rw-r--r-- | sci-libs/gts/files/gts-20111025-autotools.patch | 56 | ||||
-rw-r--r-- | sci-libs/gts/gts-20121130.ebuild | 49 | ||||
-rw-r--r-- | sci-libs/gts/metadata.xml | 15 |
4 files changed, 126 insertions, 0 deletions
diff --git a/sci-libs/gts/Manifest b/sci-libs/gts/Manifest new file mode 100644 index 000000000000..2c6d3887126c --- /dev/null +++ b/sci-libs/gts/Manifest @@ -0,0 +1,6 @@ +AUX gts-20111025-autotools.patch 1475 SHA256 32409693d6ae034666f7f5392b42b06edb117b80be3b458b8958f1101f11c5df SHA512 1be24faff8e81020b1f349360e4654307d3ac2306f2c8ad5d5534946f1c29db862b337732a41d941b5e67a1f0b0dae61d945b52295e7cddbed640d7653a01dd9 WHIRLPOOL d0f751757581c0e2a361d13baa1945773689d64f9d65cfc47c12c9058598d5400f635415f3c5dce4bc1418c63f37d92c76ed31d068cf162c26373efce96bc82f +DIST gts-snapshot-121130.tar.gz 880569 SHA256 c23f72ab74bbf65599f8c0b599d6336fabe1ec2a09c19b70544eeefdc069b73b SHA512 84c38dc345830eea75755d9d55235b6d76786a84c3b9c3b7e057437bf395a9f2687596bbf037afd601b9f31a485d425a371ca5e60680265f10cb414400db4142 WHIRLPOOL 0f0a105877e46b0af4da59d7728d73c7cd03378302fccfdf8ba2336618b8599123793c83f98658a1a88e0a1106679cded61f547e36ef34f8b404685f1dcd964f +EBUILD gts-20121130.ebuild 1058 SHA256 8ab15f372cf641712aac348ddda786945d095351bf535aefe9ba7ed5bf8dcf39 SHA512 c30785c54e3e66a8eed189f9e10cadbf750c3a289a4cf98392b803088a7da18face0367d2ef8a087846a01e3c25f03460120c05bbfc053b5aa701a0c0ba9e52d WHIRLPOOL ee025397e40dbad16b8f1419c33e42521ce038ea7cf274a86394a34f8f5b679e9ddf7fd10019b6eada5b8a7487470e77130a979a7bd19d53beb671309fc342c1 +MISC ChangeLog 4128 SHA256 5d225b3c77b5be12935507377b1130d9928b8c4168b3d6637cea6f8492b3cbff SHA512 7e7652d923d602cce25bbb03d6a675dc00c50e71ea4572bb24a91e837a77f71d78ff80620ff085d3304827d22e2b34e5fc0553e40b9866b80895eae374c1872d WHIRLPOOL 21af2c42e45fe94b2a70839ab62db6d5904d0a20c59d2b94ad803623704788b0bb618bf5f8434557aad09f41a6fdc1082b35ed4996cfdcc3ae0e087b02a1385b +MISC ChangeLog-2015 5637 SHA256 f65d267b441488974519865df3191c97873490f79ae4986f8ce3a03ec5a2b106 SHA512 877068dcece0b951e4472a61b4874f8e976d0ca9713619fd0df285927e40b1b490994ec1c5e5f512425255714393b584c2d33f03b5f338157fdb531531044641 WHIRLPOOL 694a27b1eee961719ed883cb66db7f514a8d92069862af9af5f546b46a427ec2cd89e34ee2897cb7d224716760a2a61dc555a6fd74505162c39edeef37094573 +MISC metadata.xml 510 SHA256 21486a95aa5485eda8240f03c6686b5ef0859fad9680052537ebe82673d5fdac SHA512 12fd9a10b7f46ab73d79c79f4ae31f4f174acddd4a5603a20ae49b0c2d39385b23e70b58389281dbff24a567c2162ea513d505c90c28dbac066b873be60aeea3 WHIRLPOOL c7d88ead146a298835b5aa8eb71f11f39b66d410666188cd5064fdd8a6fa65da6b19596cd4a52c294b7e56e951ca2180d189463e85c5883d067341e3cddb32bb diff --git a/sci-libs/gts/files/gts-20111025-autotools.patch b/sci-libs/gts/files/gts-20111025-autotools.patch new file mode 100644 index 000000000000..7ab3805e2477 --- /dev/null +++ b/sci-libs/gts/files/gts-20111025-autotools.patch @@ -0,0 +1,56 @@ +--- doc/Makefile.am.orig ++++ doc/Makefile.am +@@ -9,7 +9,7 @@ DOC_MODULE=gts + DOC_MAIN_SGML_FILE=gts-docs.sgml + + # The directory containing the source code (if it contains documentation). +-DOC_SOURCE_DIR=../src ++DOC_SOURCE_DIR=$(top_srcdir)/src + + TARGET_DIR=html/$(DOC_MODULE) + +@@ -21,10 +21,10 @@ scan: + templates: scan + gtkdoc-mktmpl --module=$(DOC_MODULE) + +-sgml: ++sgml: scan + gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) + +-html: ++html: sgml + if ! test -d html ; then mkdir html ; fi + -cd html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) + +--- src/Makefile.am.orig ++++ src/Makefile.am +@@ -66,10 +66,10 @@ predicates.o: predicates.c predicates_init.h predicates.h + $(COMPILE) -c $(srcdir)/predicates.c + + predicates_init: predicates_init.c rounding.h +- $(COMPILE) $(srcdir)/predicates_init.c -o $(srcdir)/predicates_init ++ $(COMPILE) $(srcdir)/predicates_init.c -o $(top_builddir)/src/predicates_init + + predicates_init.h: predicates_init +- ./predicates_init > $(srcdir)/predicates_init.h ++ $(top_builddir)/src/predicates_init > $(srcdir)/predicates_init.h + + CLEANFILES = $(BUILT_SOURCES) + +--- examples/Makefile.am.orig 2012-01-20 19:44:46.000000000 +0000 ++++ examples/Makefile.am 2012-01-20 19:45:04.000000000 +0000 +@@ -13,12 +13,10 @@ + NETPBM_EXTRA = happrox + endif + +-bin_PROGRAMS = \ ++check_PROGRAMS = \ + transform \ + delaunay \ +- $(NETPBM_EXTRA) +- +-noinst_PROGRAMS = \ ++ $(NETPBM_EXTRA) \ + set \ + volume \ + cleanup \ diff --git a/sci-libs/gts/gts-20121130.ebuild b/sci-libs/gts/gts-20121130.ebuild new file mode 100644 index 000000000000..33c9796abf2f --- /dev/null +++ b/sci-libs/gts/gts-20121130.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 + +inherit autotools-utils + +MYP=${P/-20/-snapshot-} + +DESCRIPTION="GNU Triangulated Surface Library" +HOMEPAGE="http://gts.sourceforge.net/" +SRC_URI="http://gts.sourceforge.net/tarballs/${MYP}.tar.gz" + +SLOT="0" +LICENSE="LGPL-2" +KEYWORDS="amd64 ~arm64 hppa ppc ppc64 x86 ~amd64-fbsd ~amd64-linux ~x86-linux" +IUSE="doc examples static-libs test" + +RDEPEND="dev-libs/glib:2" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( dev-util/gtk-doc ) + test? ( media-libs/netpbm )" + +# buggy +RESTRICT=test + +S="${WORKDIR}/${MYP}" + +AUTOTOOLS_IN_SOURCE_BUILD=1 + +PATCHES=( "${FILESDIR}"/${PN}-20111025-autotools.patch ) + +src_compile() { + autotools-utils_src_compile + use doc && autotools-utils_src_compile -C doc html + chmod +x test/*/*.sh || die +} + +src_install() { + use doc && HTML_DOCS=("${AUTOTOOLS_BUILD_DIR}"/doc/html/) + autotools-utils_src_install + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins examples/*.c + fi +} diff --git a/sci-libs/gts/metadata.xml b/sci-libs/gts/metadata.xml new file mode 100644 index 000000000000..9980dad1bf17 --- /dev/null +++ b/sci-libs/gts/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <longdescription lang="en"> + Gerris Flow Solver is a software program for the solution of the partial + differential equations describing fluid flow. + </longdescription> + <upstream> + <remote-id type="sourceforge">gts</remote-id> + </upstream> +</pkgmetadata> |