diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-19 09:38:07 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-19 09:38:07 +0100 |
commit | 4d9aef45678c7cb55b24107642790224ab8c153b (patch) | |
tree | b1c56639785aeba23901272429a46e4e872a7711 /app-dicts | |
parent | f09a6cf772eb2f757f0fc49f3297d6a095a10aa5 (diff) |
gentoo auto-resync : 19:08:2023 - 09:38:07
Diffstat (limited to 'app-dicts')
-rw-r--r-- | app-dicts/Manifest.gz | bin | 31979 -> 31981 bytes | |||
-rw-r--r-- | app-dicts/ydpdict/Manifest | 2 | ||||
-rw-r--r-- | app-dicts/ydpdict/files/ydpdict-1.0.3-clang16-build-fix.patch | 12 | ||||
-rw-r--r-- | app-dicts/ydpdict/ydpdict-1.0.3-r2.ebuild | 59 |
4 files changed, 73 insertions, 0 deletions
diff --git a/app-dicts/Manifest.gz b/app-dicts/Manifest.gz Binary files differindex fcfd4bd21b54..725d6976e1d8 100644 --- a/app-dicts/Manifest.gz +++ b/app-dicts/Manifest.gz diff --git a/app-dicts/ydpdict/Manifest b/app-dicts/ydpdict/Manifest index 31b8572a4b78..ecd2c5fe31a1 100644 --- a/app-dicts/ydpdict/Manifest +++ b/app-dicts/ydpdict/Manifest @@ -1,4 +1,6 @@ +AUX ydpdict-1.0.3-clang16-build-fix.patch 246 BLAKE2B 0eac87877bf119dd0252e8b1a7a7ac78d5e1b07c7057785c2d41748885080f6863d583783760d8a73687d6aced0a02c59b8e7519389f52f4c1a1519f28037004 SHA512 cc1d029b13b7b892350174908af29fb6a761a14b77bf1b39273d64a0e1484ca67f74e30998e4376e1fe826d835871d06bde9376cd843fcb799a42574c554c489 AUX ydpdict-1.0.3-tinfo.patch 322 BLAKE2B bfde4da1cb49749e8023f7c8ce56dad45b9ee39e974eb59df41e40a4770debdc8f47f4ae03bba41739bdbfbde5ba90315f454e3fa8f5cf8cee668ffbb109e0d5 SHA512 70e0b4b528dabcf9889eaff2909e11a8481ece94ff50d90c7c53e1b5f655f3954bbf694446ee3cf4fa2ac21b1c329d627412337f17da2e8a0a1ba73a45304857 DIST ydpdict-1.0.3.tar.gz 185721 BLAKE2B 1db80dc20dd6d71c4b7fed2051bbfae1021fd1ea15ca1f993e8e095912fbcc8d599d8f480143d185fd11c6a1414d7f29ae67a9f5cffda624b434d198cddc5c68 SHA512 ca50c485f10aa4c4691a27a474a5ae814be3bb183b4927728f14de67af1e11a281e5272fc5777d6573e69dd00d3da2223b78d729132764338c92489f20eb17e8 EBUILD ydpdict-1.0.3-r1.ebuild 1128 BLAKE2B 123b72f70e9486fcff45df65503d9550616eb0354059b7c8ba035d78fd3ae76e53b2c1fe691e0e462d2feb8261a10e3946434fbe0805c37e0fbd874ec87e4122 SHA512 bc02d02d05550878549fbd1e795c5e4d7ba76058ad160f46aea5dba3b7b6b462e6dc6f6525b5da27a75e16ae9113a1d08b4f0dd05fb2ea72ba16e34b7fe66e46 +EBUILD ydpdict-1.0.3-r2.ebuild 1181 BLAKE2B 833992dad602e5b7f330e462eaf0e341dfd9e330e260849f9c3dcbae6c67f4bcab3c995cada0ae3f60148e5646c6dcccfb9ea3653b17981ccdfd947577159a9c SHA512 e6c04c55dd22ca2662713fd17061259bab08e525f3658bab14527804deca9fb5ca681ce8bacb62e2b2910c0517408da6e32d029fa0ed9fbc8b3fc3d4d6c72f20 MISC metadata.xml 249 BLAKE2B 7da21f257854aaa71c2ffdb3f700dddf6b4c5aafd3fbb923100c263e210a647d7c0ddf48cfe2bcd9801a594d4fbf73df5ef095a3ca4c786cce6f95560e8964b8 SHA512 afa1ecf431f11a622e8fcabefbd0fb26086fab18df5a9b75064e42429e02cbaf00e729df4ec82f6e34c1a98bb58f25e20fd9fdce2cc072aa8d4b418b1730f153 diff --git a/app-dicts/ydpdict/files/ydpdict-1.0.3-clang16-build-fix.patch b/app-dicts/ydpdict/files/ydpdict-1.0.3-clang16-build-fix.patch new file mode 100644 index 000000000000..46a1956f80c7 --- /dev/null +++ b/app-dicts/ydpdict/files/ydpdict-1.0.3-clang16-build-fix.patch @@ -0,0 +1,12 @@ +Bug: https://bugs.gentoo.org/894364 +Upstream PR: https://github.com/wojtekka/ydpdict/pull/4 +--- a/src/ydpdict.c ++++ b/src/ydpdict.c +@@ -55,6 +55,7 @@ + + #ifdef HAVE_LOCALE_H + #include <locale.h> ++#include <libintl.h> + #endif + + #ifdef HAVE_LIBAO diff --git a/app-dicts/ydpdict/ydpdict-1.0.3-r2.ebuild b/app-dicts/ydpdict/ydpdict-1.0.3-r2.ebuild new file mode 100644 index 000000000000..e480c5092765 --- /dev/null +++ b/app-dicts/ydpdict/ydpdict-1.0.3-r2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools + +DESCRIPTION="Interface for the Collins Dictionary" +HOMEPAGE="https://github.com/wojtekka/ydpdict" +SRC_URI="https://github.com/wojtekka/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="ao" + +RDEPEND=" + app-dicts/libydpdict + sys-libs/ncurses:=[unicode(+)] + ao? ( media-libs/libao ) +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + virtual/pkgconfig +" +DOCS=( + README.md +) +PATCHES=( + "${FILESDIR}"/${PN}-1.0.3-tinfo.patch + "${FILESDIR}"/${PN}-1.0.3-clang16-build-fix.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_with ao libao) +} + +src_install() { + dodir "/etc" + default +} + +pkg_postinst() { + echo + elog "Note that to use this program you'll need the original Collins Dictionary" + elog "datafiles (dict100.*, dict101.*). These can be found in the Dabasase/" + elog "directory of the Windows version of the Collins dictionary. Once you obtain" + elog "the files, put them into /usr/share/ydpdict" + elog + elog "Some configuration options can be set in /etc/ydpdict.conf" + echo +} |