diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-07 13:23:59 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-07 13:23:59 +0100 |
commit | 27a61babf89122aeb64d52f4ea8f6f068b928da4 (patch) | |
tree | 56cc72dcfb76f622af8103ed350c61f432d5f686 /dev-libs | |
parent | bbdc49d5ccd04563006a608c87c870413f75057e (diff) |
gentoo auto-resync : 07:10:2022 - 13:23:59
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/Manifest.gz | bin | 95943 -> 95942 bytes | |||
-rw-r--r-- | dev-libs/cJSON/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/cJSON/cJSON-1.7.15.ebuild | 2 | ||||
-rw-r--r-- | dev-libs/libclc/Manifest | 5 | ||||
-rw-r--r-- | dev-libs/libclc/libclc-15.0.1.ebuild | 67 | ||||
-rw-r--r-- | dev-libs/libclc/libclc-16.0.0_pre20220930.ebuild | 68 | ||||
-rw-r--r-- | dev-libs/libstroke/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/libstroke/files/libstroke-0.5.1-clang16.patch | 7 | ||||
-rw-r--r-- | dev-libs/libstroke/libstroke-0.5.1-r2.ebuild (renamed from dev-libs/libstroke/libstroke-0.5.1-r1.ebuild) | 18 | ||||
-rw-r--r-- | dev-libs/link-grammar/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/link-grammar/link-grammar-5.11.0.ebuild | 109 |
11 files changed, 130 insertions, 153 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex f6fed936cc04..11fff93db595 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/cJSON/Manifest b/dev-libs/cJSON/Manifest index 97f5ed3dd9b7..29136fb79804 100644 --- a/dev-libs/cJSON/Manifest +++ b/dev-libs/cJSON/Manifest @@ -1,3 +1,3 @@ DIST cJSON-1.7.15.tar.gz 352278 BLAKE2B e0de3b8d56020853d56f5512e6e7216adafd238b6f69bbf6965b153bfe8ebfc23593dfa7cfb8543d8730d90820153d263c8af276c8e9588ba8a5ad76a50f8b72 SHA512 0b32a758c597fcc90c8ed0af493c9bccd611b9d4f9a03e87de3f7337bb9a28990b810befd44bc321a0cb42cbcd0b026d45761f9bab7bd798f920b7b6975fb124 -EBUILD cJSON-1.7.15.ebuild 631 BLAKE2B c3bcf59dcc3986c310ce610791b5d4774f3cc2e93c5dbf82752bd45ed2444b77fd8f293bf155b1792a1c77351b1fafabd502fb48af655831df6e12a3982dca45 SHA512 9a26e60879efe95eb94e23c11251592ad5d9a6f10e216cd2a12d059daf71a8112f1ed69708cbe337c3d3054968e56a34d93a5861fca7310e7fbf0fd40f67c8da +EBUILD cJSON-1.7.15.ebuild 638 BLAKE2B b9786799e8073daeef48fc9e3ed3174c4564e5f605f598d247dcdb1c40733a1cdd83a99c19a56a7d3505b42efe05aa38aec33a84a3187ad73a581772817de71b SHA512 6ccd4e2ac3740ef21f7fe24cc6fa48514de2713f825b897325a34684f35ad0eb76e5b14b0fb1159662c37649bf8dfb74e6c6f97d1bf5a7ddb82a4eb0d986419e MISC metadata.xml 338 BLAKE2B b738aeafd4cdea33ca773f44c7c5d6e8f9734fdead87884b92f9fc25235b553294453d514751a624210495eab0d472430cca625603cbdbb92bacc39da5579a3d SHA512 61ec24b8fb154b574b2619ac2fc8235c1d783653d6c0880982ac98271d6594a16dce3d1c8fd72c8f37d3a8f6dded21e8ae47c9556a9f1bcece54c58741961ebc diff --git a/dev-libs/cJSON/cJSON-1.7.15.ebuild b/dev-libs/cJSON/cJSON-1.7.15.ebuild index 134b824f24c1..42ae7189c5dd 100644 --- a/dev-libs/cJSON/cJSON-1.7.15.ebuild +++ b/dev-libs/cJSON/cJSON-1.7.15.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/DaveGamble/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.g LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-libs/libclc/Manifest b/dev-libs/libclc/Manifest index 091db71e3a7e..a2c6067881fe 100644 --- a/dev-libs/libclc/Manifest +++ b/dev-libs/libclc/Manifest @@ -1,16 +1,11 @@ DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B ee67c5407df8cef493b9c0004f15e428f22a536a17e5f4e3eb29a003b8a8ec0abe0fa3e072591161d5f30ef7d8867c1ce34d1b341ad858e93c00263499941a99 SHA512 6fc6eeb60fac698702d1aac495fc0161eb7216a1f8db2020af8fccec5837831f7cc20dc2a169bf4f0b5f520748280b4a86621f3697d622aa58faaa45dbfaad13 DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f SHA512 b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6 -DIST llvm-project-15.0.1.src.tar.xz 112068688 BLAKE2B 8fd6690445f7cbc8b47a7c1dd1f2c4fbc39f9a97f9d4a0015d466726454b090b0d1ff9b0d926eba7065e84782901687f74e6540a36dc6656a93f3c92c7bc7e06 SHA512 cef84bc173118a30db3ece5e5c6f874bf689c77afc40a4792fdcb7556555ac14a8e6de1dc811755405e5d162d63bc69abaecba30d220a42765160d69f0073fda -DIST llvm-project-15.0.1.src.tar.xz.sig 438 BLAKE2B d8f634adab531bb19178fb27bc83b3a90c856e9402dd5af700f9af43813f68d20c21b9112dd95e9f6f10609ee51ed5aaf77edb96ca16fb93136b8aea432affd3 SHA512 cbf2570840d8dc12f6436c495a23cf9d439ee195755c01a6d1d5bcc20133599dc956dc43a0f5016698e3c9a960826f5f3c2840a73f993467e275856a67999fda DIST llvm-project-15.0.2.src.tar.xz 112071864 BLAKE2B 96f2884d6c1007260d71e5dd41951eed029e8f50ff78f3c90f7194df13e1d4fb80ab7705c51c45a3e6b2a7714a98d9c5919fc7064d1d5f7c675e65b9b4229b65 SHA512 a0e815369c15bb4f8e8aa0fede29c3d557fcc5c8f2b39d457c03f1ef1d860082a41027238571b2aee9a158a87eb118deb08dc2ba94ce750320837a84e9908b8c DIST llvm-project-15.0.2.src.tar.xz.sig 438 BLAKE2B 37a3a7fbc2d74db9060e85f04e159b475cf818c95a6fe2e9f5f038eb990f414d94833ecac2f9c826825a69b752876399e37e70e6934def06363f7ccb18be033a SHA512 cfe3bc400a64536ad9181c2ede7227a0953a8632fdc777d1ea1d9225c1fc4e699d90ce0b99e057ee5b87c1272d5810c4b52fb0cac167ddd2aad88f1f3ef46ee8 -DIST llvm-project-215c9fa4deac9ec6b4e504843830551f03b60620.tar.gz 168942763 BLAKE2B 545c7c372c38667b7d811753464e91134aae600060d9054979eab8735d535a72d6bbb33a6008dc81f3b14513f58791ca3b8c3068e62ff146ccb14f32abb41a32 SHA512 d0c244357650ef5d56bc7afd836cd747cc2cce92d5f7fb4ddec3414e5bafe4e611acb2a7ff42343c184caad14a30fa9a6ced7e493df3ceb06fe8f9445aeb5a9b DIST llvm-project-5a0722e0469894564dd9b0ee1d4f8c291d09c776.tar.gz 169164627 BLAKE2B c9a8672cac0faa747baa366545d21f91b50e7611e062eb95042cbccc2dc00b74f44c5c2fcccda49b44975320dfadca5916585766235a406dfbd7321afba03025 SHA512 bad4043fab0e4f9c633bc0aa74df1f1ea886f1d20c1c7a2704bd8317371cf6325e70a770623307d7a455e815cce8c5f00be1ed4ec3f06a7b69038a2784f73243 EBUILD libclc-14.0.6.ebuild 1390 BLAKE2B eb984d3f19f3b147d3974722c11218117240cad75033c12eb6664ef7d492e9ed77fd3c3dfef2fe59bb0c23716072b7ff3b10840b19b213fa96121d5aa7faa335 SHA512 66b74a3cb2ee6c54e6d348d64fe239f2ea72a43f28d1ab0cf22a4757cf87cadde427516d8aa74b4c95a947f38d01571f23e69388a04694527e2be9b0fd1bf94e -EBUILD libclc-15.0.1.ebuild 1413 BLAKE2B 837a7970e531e7198059f14a7ab25f416852993c0775b76baf01e334cc6050ba0714cf74ce645b9c8aa6312152b5991b2aef2ae7d1d10d0235ab6724efe35a28 SHA512 047251cbf6e7185be5061d5d1e6db01833a97702b844511bc5a0db76b7323cb5f253f3ac77593c0b989515b7651c3bef2e3def8b017b1233457bd1ae4696dda5 EBUILD libclc-15.0.2.9999.ebuild 1402 BLAKE2B 3c240051e1752ea60d9c040f75a5f95319e97754684c4e98c8bdcc8fe60ec266736d573f71929328f12ce96357ca33376244adf7305d674ec5e21a182b635bb6 SHA512 0986f1338d3048444632759c5276c1bbfc8ed4dc4450a83603985aea7643b26eef86d24550eba3b52be06e851c0ad4d866eee295e84385b26bc3df911c1ad9a6 EBUILD libclc-15.0.2.ebuild 1413 BLAKE2B 837a7970e531e7198059f14a7ab25f416852993c0775b76baf01e334cc6050ba0714cf74ce645b9c8aa6312152b5991b2aef2ae7d1d10d0235ab6724efe35a28 SHA512 047251cbf6e7185be5061d5d1e6db01833a97702b844511bc5a0db76b7323cb5f253f3ac77593c0b989515b7651c3bef2e3def8b017b1233457bd1ae4696dda5 EBUILD libclc-16.0.0.9999.ebuild 1423 BLAKE2B 340c42c12fee9ca7f7fca73019d304e182f4e67b4ccd01c742f893483246d95fceafb4bdbdb6b3832520803ab3a7c58b6a21ead7ae40e32c7f0a3cbd48cab862 SHA512 448e79b028b81c9a6a601abb16ed1b4e71ae73611820e5c0f4287a924011619fe9af7d06eb0f2458a3c07fec8e30d1298d3ab810d5bd8bd995fe4e3e894b84c5 -EBUILD libclc-16.0.0_pre20220930.ebuild 1423 BLAKE2B 340c42c12fee9ca7f7fca73019d304e182f4e67b4ccd01c742f893483246d95fceafb4bdbdb6b3832520803ab3a7c58b6a21ead7ae40e32c7f0a3cbd48cab862 SHA512 448e79b028b81c9a6a601abb16ed1b4e71ae73611820e5c0f4287a924011619fe9af7d06eb0f2458a3c07fec8e30d1298d3ab810d5bd8bd995fe4e3e894b84c5 EBUILD libclc-16.0.0_pre20221006.ebuild 1423 BLAKE2B 340c42c12fee9ca7f7fca73019d304e182f4e67b4ccd01c742f893483246d95fceafb4bdbdb6b3832520803ab3a7c58b6a21ead7ae40e32c7f0a3cbd48cab862 SHA512 448e79b028b81c9a6a601abb16ed1b4e71ae73611820e5c0f4287a924011619fe9af7d06eb0f2458a3c07fec8e30d1298d3ab810d5bd8bd995fe4e3e894b84c5 MISC metadata.xml 394 BLAKE2B 2c73a04cae5f0956ff187000d761ce8709fa39ab701f9adf2747f87da65fee48f996a56df540d5b95cfdecadef6383001b5e3dd57e1002f7f494d1ba3ecc987c SHA512 17bc874995ebeff9513d60dc850f3d1c5e7a3417f7170ec727edae1d09fb83242955ad24ff3fd24718a8eeadc80602cbe21618d081d50e6dc809a597dca72df1 diff --git a/dev-libs/libclc/libclc-15.0.1.ebuild b/dev-libs/libclc/libclc-15.0.1.ebuild deleted file mode 100644 index 9993b696f309..000000000000 --- a/dev-libs/libclc/libclc-15.0.1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..11} ) -inherit cmake llvm llvm.org python-any-r1 - -DESCRIPTION="OpenCL C library" -HOMEPAGE="https://libclc.llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions || ( MIT BSD )" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE_VIDEO_CARDS="video_cards_nvidia video_cards_r600 video_cards_radeonsi" -IUSE="${IUSE_VIDEO_CARDS}" -REQUIRED_USE="|| ( ${IUSE_VIDEO_CARDS} )" - -LLVM_MAX_SLOT=15 -BDEPEND=" - ${PYTHON_DEPS} - || ( - sys-devel/clang:15 - sys-devel/clang:14 - sys-devel/clang:13 - ) -" - -LLVM_COMPONENTS=( libclc ) -llvm.org_set_globals - -llvm_check_deps() { - has_version -b "sys-devel/clang:${LLVM_SLOT}" -} - -pkg_setup() { - # we do not need llvm_pkg_setup - python-any-r1_pkg_setup -} - -src_configure() { - local libclc_targets=() - - use video_cards_nvidia && libclc_targets+=( - "nvptx--" - "nvptx64--" - "nvptx--nvidiacl" - "nvptx64--nvidiacl" - ) - use video_cards_r600 && libclc_targets+=( - "r600--" - ) - use video_cards_radeonsi && libclc_targets+=( - "amdgcn--" - "amdgcn-mesa-mesa3d" - "amdgcn--amdhsa" - ) - # TODO: spirv - [[ ${#libclc_targets[@]} ]] || die "libclc target missing!" - - libclc_targets=${libclc_targets[*]} - local mycmakeargs=( - -DLIBCLC_TARGETS_TO_BUILD="${libclc_targets// /;}" - -DLLVM_CONFIG="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config" - ) - cmake_src_configure -} diff --git a/dev-libs/libclc/libclc-16.0.0_pre20220930.ebuild b/dev-libs/libclc/libclc-16.0.0_pre20220930.ebuild deleted file mode 100644 index 2ec99d83a103..000000000000 --- a/dev-libs/libclc/libclc-16.0.0_pre20220930.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..11} ) -inherit cmake llvm llvm.org python-any-r1 - -DESCRIPTION="OpenCL C library" -HOMEPAGE="https://libclc.llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions || ( MIT BSD )" -SLOT="0" -KEYWORDS="" -IUSE_VIDEO_CARDS="video_cards_nvidia video_cards_r600 video_cards_radeonsi" -IUSE="${IUSE_VIDEO_CARDS}" -REQUIRED_USE="|| ( ${IUSE_VIDEO_CARDS} )" - -LLVM_MAX_SLOT=16 -BDEPEND=" - ${PYTHON_DEPS} - || ( - sys-devel/clang:16 - sys-devel/clang:15 - sys-devel/clang:14 - sys-devel/clang:13 - ) -" - -LLVM_COMPONENTS=( libclc ) -llvm.org_set_globals - -llvm_check_deps() { - has_version -b "sys-devel/clang:${LLVM_SLOT}" -} - -pkg_setup() { - # we do not need llvm_pkg_setup - python-any-r1_pkg_setup -} - -src_configure() { - local libclc_targets=() - - use video_cards_nvidia && libclc_targets+=( - "nvptx--" - "nvptx64--" - "nvptx--nvidiacl" - "nvptx64--nvidiacl" - ) - use video_cards_r600 && libclc_targets+=( - "r600--" - ) - use video_cards_radeonsi && libclc_targets+=( - "amdgcn--" - "amdgcn-mesa-mesa3d" - "amdgcn--amdhsa" - ) - # TODO: spirv - [[ ${#libclc_targets[@]} ]] || die "libclc target missing!" - - libclc_targets=${libclc_targets[*]} - local mycmakeargs=( - -DLIBCLC_TARGETS_TO_BUILD="${libclc_targets// /;}" - -DLLVM_CONFIG="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config" - ) - cmake_src_configure -} diff --git a/dev-libs/libstroke/Manifest b/dev-libs/libstroke/Manifest index ef37035f7b85..872ee2735552 100644 --- a/dev-libs/libstroke/Manifest +++ b/dev-libs/libstroke/Manifest @@ -1,6 +1,7 @@ AUX libstroke-0.5.1-autotools.patch 734 BLAKE2B 3590484c7a4b96b7faa09eb7e2267365eec162433a6a879529b3daf173fe52991be34a1afa69b2dea14853c3e5db4e06915123cccc0e5e1d24c16064ddff92ad SHA512 e0245ac98dc4d6db25f401ae1512d68aa98b732fa8f8d8486f1e50e784d63cc90bdaf6a28ba5e3d96f8822d549f473a6e8085701ee8016a428a9805ef165c2da +AUX libstroke-0.5.1-clang16.patch 159 BLAKE2B c0cbf094523352e1498ecaa6ad9207d1c3638c974a0f0062d7861cbaa050d8fc91d7585c3dc79601020ed8c78ba6583acbae3e970a065fd638a61e8c40670764 SHA512 8ccf8aed0eead8d6be1a167f8dcc396cd479d60412ffe5e45f836eb8218e703c4f6de341e918df81a1f1c136b5d1fcf54eb6ad513033fc1a291cff4e9d881acd AUX libstroke-0.5.1-m4_syntax.patch 1100 BLAKE2B c86fed17159d3179bbb538c1c467fa5a34133b6a43d30f2e2862158e0756ea8ca8654ca6f450219c9222cc3612fefddf6170922f410a9c1119f48439acf5daff SHA512 bfe54a1c60c381e01820f46998c1ade66bcc5b816d20d8736334cd097f94fd06921c7ef17ae42e1f4f47090a7a9a6db2121a9960c140ad7dcb4d5ac3acf6fded AUX libstroke-0.5.1-no_gtk1.patch 1046 BLAKE2B feaaa0206f74bc1206ed464ec3f29c76e2f51c83f78c6821d2184b833e1718638b11757ab3f8cef9464884dc11a3158fccb9f1f9fd166f50ee83f556b447b25d SHA512 96004186c51e617fa53f1bbaef5f58c6572c5acf0a6acf2d9e7be618c443fccff5feb8dd7bf77a9a435b8c5b334e1babb3cbd739e71ec6d7fe7feda1c66607f8 DIST libstroke-0.5.1.tar.gz 174270 BLAKE2B ce642aff20f731ed8dc6aedfcdca0370e4e9789bdf1fd7d4157745ea7375d5e5f9c7a2f00739d886ff348c00ada36c3bef0ce68f18d9b0dd52eabcc086776334 SHA512 03431d4cd39174aadb6cfd00a1c487d34ae9cf4b1db9e9d01d563f2a661f01979f474b87099fd2bfb0e54653416a1b9dea988367674a3cc6134e16b62810a0c7 -EBUILD libstroke-0.5.1-r1.ebuild 748 BLAKE2B 250ac32b60bd308d2d77e94b2746a763b8911334031a99ab8323292219282bc31c2c76f1a2bcbeecb6ef93f92de705601b2ed097fc916b3ab9bdb5262c85ad8e SHA512 6774f5c0c6531bc90614edb23193dad9eeeeebe4713c5a236b143fc1091b88abb549c3b8db99e04ad01da0f5206b5b15957a7d408f5b5069b7c974078b7f9076 +EBUILD libstroke-0.5.1-r2.ebuild 712 BLAKE2B 6eb990cc4e64eb7e01364545d60e5620f7085468855090eebe049d868c309cbbe7291fa20807814945883b5d3b11279e7c4f6a17f18eb47f3fe45f7cfa1abaf5 SHA512 56dc29ee0a6980512354ddcc9d59b7ec26e01186fa541e76e4526035e63a60c0ec1e1f35bdb11b1c4dc0aca7ef17f5f338b4550bd4396d512c1decbf9d8d6068 MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a diff --git a/dev-libs/libstroke/files/libstroke-0.5.1-clang16.patch b/dev-libs/libstroke/files/libstroke-0.5.1-clang16.patch new file mode 100644 index 000000000000..de903c63142c --- /dev/null +++ b/dev-libs/libstroke/files/libstroke-0.5.1-clang16.patch @@ -0,0 +1,7 @@ +https://bugs.gentoo.org/871054 +--- a/libstroke/stroke.c ++++ b/libstroke/stroke.c +@@ -13,2 +13,3 @@ + #include <stdio.h> ++#include <string.h> + #include <math.h> diff --git a/dev-libs/libstroke/libstroke-0.5.1-r1.ebuild b/dev-libs/libstroke/libstroke-0.5.1-r2.ebuild index 5abb144b665b..884a05341d0b 100644 --- a/dev-libs/libstroke/libstroke-0.5.1-r1.ebuild +++ b/dev-libs/libstroke/libstroke-0.5.1-r2.ebuild @@ -1,13 +1,13 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit autotools -DESCRIPTION="A Stroke and Gesture recognition Library" -HOMEPAGE="http://www.etla.net/libstroke/" -SRC_URI="http://www.etla.net/libstroke/${P}.tar.gz" +DESCRIPTION="Stroke and Gesture recognition Library" +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" +SRC_URI="mirror://gentoo/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" @@ -22,19 +22,17 @@ PATCHES=( "${FILESDIR}"/${P}-m4_syntax.patch "${FILESDIR}"/${P}-no_gtk1.patch "${FILESDIR}"/${P}-autotools.patch + "${FILESDIR}"/${P}-clang16.patch ) src_prepare() { default - mv configure.{in,ac} || die - eautoreconf -} -src_configure() { - econf --disable-static + eautoreconf } src_install() { default - find "${ED}" -name '*.la' -delete || die + + find "${ED}" -type f -name '*.la' -delete || die } diff --git a/dev-libs/link-grammar/Manifest b/dev-libs/link-grammar/Manifest index 06108d42309a..ab69973e3244 100644 --- a/dev-libs/link-grammar/Manifest +++ b/dev-libs/link-grammar/Manifest @@ -1,4 +1,6 @@ AUX link-grammar-5.8.1-lld.patch 531 BLAKE2B e7a64032d8e8394205d4529e270bee1ec121a6b29b6a779e885cae825678679e521b2f4eb2bec6b6b6c8f1c5f311337c7b2e205a5cb1966538741e72b7e7cb37 SHA512 03dd3164c7626d70019851189fd35d7ecfcbc112b594dafc0c3390f0d533b67611838cd9207a486139f4e4c8ac78f81da87d0c00a0238ad417c90942bcaa2c6b DIST link-grammar-5.10.5.tar.gz 4637765 BLAKE2B d280a06492462725c9c62352b6bf4fb0a11a09b2b3049e41d9a078fa2ad37c8ef0f0e99e05039e355e81d127c168024068319a4fcf64caa840c00c165ed22f11 SHA512 09774f7ce01bc7ec9912162297c9b7be176e655b70981a147d53245c015f62581e7f45c005d0590d1a65e870e3c2ac4288517012fd9caa9887e4fd86d8e6aa05 +DIST link-grammar-5.11.0.tar.gz 4672430 BLAKE2B 35892e05805a83ebbd700611d19aaa9ad1ede4ba3baf60c85ef8e5abbc40134fcb71d9cb9f41518f663c60ad11aac7bd0b316c8c95a12631032f5ad79564d686 SHA512 6a24bc8d5c9f0dd63460c092fc46880503018e949aa277148f8f551d6cc9d929d3a981eeaba00afc6e618c1e4505438d0c7e9a57dfe7a8deb7d3a8f183c56636 EBUILD link-grammar-5.10.5-r1.ebuild 2833 BLAKE2B e5dbcd6c317488e8523045c4874ab5f9b7addf9ae51722803f0dcc79c260d8b92b39d2282382411a5a6c4f4b093a60f6d9c16b33b87b84141586b5b885d26f2d SHA512 dd98a24400a1d92a8fe88af76c3e2d92b44cc707f3881337729406f95526042a12fe0ad34497e39f5e2f2d75190cce0454cd81a5aed3177d673552b59c27c43c +EBUILD link-grammar-5.11.0.ebuild 2786 BLAKE2B aba4bb5d25ff692040528e6d3c299fb3cbabd3857ae84a605a7e5ff9d29414253368f336b0a5eb49b751e254b28b2b0362672f0cf53bcb16ad37904cba6ffba1 SHA512 f6affa26a059080331f89664521b9d963a56d61a779d8ca2df96a04c814c5ee5768108fd66d2ad050975f144b2b35e7ac1c79abaa9242dd7c5b3c8f082e6934e MISC metadata.xml 1069 BLAKE2B e657e7727730c54d4aee903c585378978a2adf7a3a6851e6995445afe64e966e48bc4bfab6e930449c288b3ffca3436b9fbe67e88f9e790739ff0c8a079a79e2 SHA512 ba898591c96b8d05601389837891f6cda7eece200c10e014e86e0189aeeb5a0d0c04327d348ce2d77fa3d72dbbe3eec5b96953ff6903bd9670f305886f869229 diff --git a/dev-libs/link-grammar/link-grammar-5.11.0.ebuild b/dev-libs/link-grammar/link-grammar-5.11.0.ebuild new file mode 100644 index 000000000000..ed4f65314cd3 --- /dev/null +++ b/dev-libs/link-grammar/link-grammar-5.11.0.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit autotools python-r1 out-of-source + +DESCRIPTION="A Syntactic English parser" +HOMEPAGE="https://www.abisource.com/projects/link-grammar/ https://www.link.cs.cmu.edu/link/" +SRC_URI="https://www.abisource.com/downloads/${PN}/${PV}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0/5" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="aspell +hunspell python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# XXX: sqlite is automagic +# Does not build with >=sci-mathematics/minisat-2, bug #593662 +RDEPEND=" + dev-db/sqlite:3 + dev-libs/libpcre2:= + aspell? ( app-text/aspell ) + hunspell? ( app-text/hunspell ) + python? ( ${PYTHON_DEPS} ) + !sci-mathematics/minisat" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-lang/swig:0 + sys-devel/autoconf-archive + virtual/pkgconfig" + +pkg_setup() { + if use aspell && use hunspell; then + ewarn "You have enabled 'aspell' and 'hunspell' support, but both cannot coexist," + ewarn "only hunspell will be built. Press Ctrl+C and set only 'aspell' USE flag if" + ewarn "you want aspell support." + fi +} + +src_prepare() { + default + eautoreconf +} + +my_src_configure() { + local myconf=( + --disable-maintainer-mode + --disable-editline + # java is hopelessly broken, invokes maven at build time (bug #806157) + --disable-java-bindings + --disable-perl-bindings + --enable-sat-solver=bundled + --with-regexlib=pcre2 + $(use_enable aspell) + $(use_enable hunspell) + $(usev hunspell --with-hunspell-dictdir="${EPREFIX}"/usr/share/myspell) + ) + + econf \ + --disable-python-bindings \ + "${myconf[@]}" + + if use python; then + python_configure() { + econf \ + --enable-python-bindings \ + "${myconf[@]}" + } + python_foreach_impl run_in_build_dir python_configure + fi +} + +my_src_compile() { + local -x MAIN_BUILD_DIR="${BUILD_DIR}" + default + + if use python; then + python_compile() { + emake -C bindings/python \ + VPATH="${S}:${MAIN_BUILD_DIR}" \ + _clinkgrammar_la_DEPENDENCIES="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la \ + _clinkgrammar_la_LIBADD="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la + } + python_foreach_impl run_in_build_dir python_compile + fi +} + +my_src_install() { + local -x MAIN_BUILD_DIR="${BUILD_DIR}" + default + + if use python; then + python_install() { + emake -C bindings/python \ + VPATH="${S}:${MAIN_BUILD_DIR}" \ + _clinkgrammar_la_DEPENDENCIES="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la \ + _clinkgrammar_la_LIBADD="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la \ + DESTDIR="${D}" \ + install + } + python_foreach_impl run_in_build_dir python_install + fi + + # no static archives + find "${ED}" -name '*.la' -delete || die +} |