summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-dicts')
-rw-r--r--app-dicts/aspell-da/Manifest1
-rw-r--r--app-dicts/aspell-da/aspell-da-4.2.1.ebuild15
-rw-r--r--app-dicts/aspell-da/aspell-da-4.3.ebuild2
-rw-r--r--app-dicts/gwaei/files/gwaei-3.6.2-yelp.patch53
-rw-r--r--app-dicts/gwaei/gwaei-3.6.2-r1.ebuild (renamed from app-dicts/gwaei/gwaei-3.6.2.ebuild)37
-rw-r--r--app-dicts/myspell-en/Manifest5
-rw-r--r--app-dicts/myspell-en/myspell-en-20230701.ebuild57
-rw-r--r--app-dicts/myspell-en/myspell-en-20230901.ebuild57
-rw-r--r--app-dicts/myspell-en/myspell-en-20240501.ebuild (renamed from app-dicts/myspell-en/myspell-en-20240101.ebuild)2
-rw-r--r--app-dicts/myspell-en/myspell-en-20240601.ebuild62
-rw-r--r--app-dicts/verbiste/Manifest1
-rw-r--r--app-dicts/verbiste/verbiste-0.1.48.ebuild70
-rw-r--r--app-dicts/ydpdict/Manifest1
-rw-r--r--app-dicts/ydpdict/ydpdict-1.0.5.ebuild57
14 files changed, 275 insertions, 145 deletions
diff --git a/app-dicts/aspell-da/Manifest b/app-dicts/aspell-da/Manifest
index e041e438d97a..ceccff54f0ae 100644
--- a/app-dicts/aspell-da/Manifest
+++ b/app-dicts/aspell-da/Manifest
@@ -1,2 +1 @@
-DIST aspell-da-4.2.1.tar.gz 4244477 BLAKE2B 51c25e9dc3f033daf4884abb3db5681ba834835bd6ae417e9edf5200d4791fd911974dca4f3323b880efd7a2be1ee8259784e0a54d7e0bceb7249a6bb4a55736 SHA512 66a32be37615423cdd88c3ccbe81e26bc955068a5d74f1829f0d309ba93741d99f7ccbb335e0fe1a890aada984cc771eb25c00027554509c0f1fbf36fea5fb0b
DIST aspell-da-4.3.tar.gz 4262160 BLAKE2B d7de57716c36b23e7de83152f46f3b13d9474007d05fb96171a9a2e70758afbe6ca96e0b2c6d2bacd5543e33698de5483f9dae3469017475a5e19a75975eaf86 SHA512 6cb391660f7c7dad85f0242feca284d07204dfbab348e4138e07932da8dd7446e8bccf8e3079bc40f69d73b3967da80ddd539e66eda037b8053056effd20b389
diff --git a/app-dicts/aspell-da/aspell-da-4.2.1.ebuild b/app-dicts/aspell-da/aspell-da-4.2.1.ebuild
deleted file mode 100644
index adc235aae632..000000000000
--- a/app-dicts/aspell-da/aspell-da-4.2.1.ebuild
+++ /dev/null
@@ -1,15 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ASPELL_LANG="Danish"
-
-inherit aspell-dict-r1
-
-HOMEPAGE="https://github.com/mortenivar/aspell-da"
-SRC_URI="https://github.com/mortenivar/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${P}"
-
-LICENSE="GPL-2"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~ppc-macos"
diff --git a/app-dicts/aspell-da/aspell-da-4.3.ebuild b/app-dicts/aspell-da/aspell-da-4.3.ebuild
index 38b472074a8c..d8131bfdbab6 100644
--- a/app-dicts/aspell-da/aspell-da-4.3.ebuild
+++ b/app-dicts/aspell-da/aspell-da-4.3.ebuild
@@ -12,4 +12,4 @@ SRC_URI="https://github.com/mortenivar/${PN}/archive/refs/tags/${PV}.tar.gz -> $
S="${WORKDIR}/${P}"
LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~ppc-macos"
diff --git a/app-dicts/gwaei/files/gwaei-3.6.2-yelp.patch b/app-dicts/gwaei/files/gwaei-3.6.2-yelp.patch
new file mode 100644
index 000000000000..a5515561fd59
--- /dev/null
+++ b/app-dicts/gwaei/files/gwaei-3.6.2-yelp.patch
@@ -0,0 +1,53 @@
+---
+ autogen.sh | 1 -
+ configure.ac | 4 +---
+ src/gwaei/help/Makefile.am | 5 +++--
+ 3 files changed, 4 insertions(+), 6 deletions(-)
+
+--- gwaei.git.orig/configure.ac
++++ gwaei.git/configure.ac
+@@ -73,8 +73,6 @@ AM_CONDITIONAL([WITH_MECAB], [test x$mec
+
+ AC_CHECK_LIB(m, sqrt)
+
+-GNOME_DOC_INIT(,,[:])
+-
+ PKG_CHECK_MODULES(LIBWAEI, glib-2.0 >= $GLIB_REQUIRED_VERSION
+ gobject-2.0 >= $GLIB_REQUIRED_VERSION
+ gio-2.0 >= $GIO_REQUIRED_VERSION
+@@ -103,7 +101,7 @@ if test x$gnome = xtrue; then
+ libcurl >= $LIBCURL_REQUIRED_VERSION )
+ AC_SUBST(GWAEI_CFLAGS)
+ AC_SUBST(GWAEI_LIBS)
+- GNOME_DOC_INIT
++ YELP_HELP_INIT
+ fi
+
+ if test x$hunspell = xtrue; then
+--- gwaei.git.orig/src/gwaei/help/Makefile.am
++++ gwaei.git/src/gwaei/help/Makefile.am
+@@ -2,10 +2,12 @@ PACKAGE = @PACKAGE@
+ VERSION = @VERSION@
+ datadir = @datadir@
+
+-include $(top_srcdir)/gnome-doc-utils.make
++@YELP_HELP_RULES@
+ dist-hook: doc-dist-hook
+-DOC_MODULE = gwaei
++HELP_MODULE = gwaei
++HELP_ID = gwaei
+
++HELP_FILES=glossary.xml gwaei.xml
+ cglossarydir = $(datadir)/gnome/help/$(PACKAGE)/C
+ cglossary_DATA = C/glossary.xml
+ EXTRA_DIST = C/glossary.xml
+--- gwaei.git.orig/autogen.sh
++++ gwaei.git/autogen.sh
+@@ -6,7 +6,6 @@ touch ChangeLog
+ libtoolize --force
+ glib-gettextize --copy --force
+ intltoolize --copy --force --automake
+-gnome-doc-prepare --copy --force
+ aclocal -I m4 --force
+ autoheader -f
+ automake --copy --force --add-missing
diff --git a/app-dicts/gwaei/gwaei-3.6.2.ebuild b/app-dicts/gwaei/gwaei-3.6.2-r1.ebuild
index d58d2c75ca63..0939ac61c424 100644
--- a/app-dicts/gwaei/gwaei-3.6.2.ebuild
+++ b/app-dicts/gwaei/gwaei-3.6.2-r1.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-inherit gnome2-utils
+inherit autotools gnome2-utils xdg
DESCRIPTION="Japanese-English Dictionary for GNOME"
-HOMEPAGE="http://gwaei.sourceforge.net/"
+HOMEPAGE="https://github.com/zakkudo/gwaei"
SRC_URI="https://downloads.sourceforge.net/gwaei/${P}.tar.xz"
LICENSE="GPL-3"
@@ -20,7 +20,7 @@ RDEPEND="
>=dev-libs/glib-2.31
gtk? (
x11-libs/gtk+:3
- >=app-text/gnome-doc-utils-0.14.0
+ app-text/yelp-tools
)
hunspell? ( app-text/hunspell )
nls? ( virtual/libintl )
@@ -28,7 +28,7 @@ RDEPEND="
DEPEND="${RDEPEND}
gtk? (
x11-themes/gnome-icon-theme-symbolic
- >=app-text/gnome-doc-utils-0.14.0
+ app-text/yelp-tools
)"
BDEPEND="
app-text/rarian
@@ -40,6 +40,16 @@ BDEPEND="
app-text/scrollkeeper-dtd
)"
+PATCHES=(
+ # Migrate away from gnome-doc-utils (from Debian)
+ "${FILESDIR}/${P}-yelp.patch"
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
src_configure() {
econf \
--disable-static \
@@ -51,19 +61,26 @@ src_configure() {
src_install() {
default
-
- # no static archives
find "${ED}" -name '*.la' -delete || die
}
pkg_preinst() {
- use gtk && gnome2_schemas_savelist
+ if use gtk; then
+ gnome2_schemas_savelist
+ xdg_pkg_preinst
+ fi
}
pkg_postinst() {
- use gtk && gnome2_schemas_update
+ if use gtk; then
+ gnome2_schemas_update
+ xdg_pkg_postinst
+ fi
}
pkg_postrm() {
- use gtk && gnome2_schemas_update
+ if use gtk; then
+ gnome2_schemas_update
+ xdg_pkg_postrm
+ fi
}
diff --git a/app-dicts/myspell-en/Manifest b/app-dicts/myspell-en/Manifest
index 0035ab76c222..b513fa6b4acc 100644
--- a/app-dicts/myspell-en/Manifest
+++ b/app-dicts/myspell-en/Manifest
@@ -1,4 +1,3 @@
-DIST dict-en-20230701_lo.oxt 6102145 BLAKE2B ecf95d76415317fb3dbe4c8e2d30fa37f9d798ae979d83d7e3eaab566264a7db12ed3133e8ed5d1580225171143056edd5189b1685064dab201fadbf59466b7e SHA512 3e495fb7c130d2767d88c4ff21f556c4c64f3739d7b1974355f252329fa526b8ac647a6121f1341396ec9170dda96346463a51b2df06d15e1dcccec4f800593e
-DIST dict-en-20230901_lo.oxt 6102109 BLAKE2B d90bb0614217103ad0d4fb4bd411028925311c372047cd88d3075d8480ca1f7d10fa73b3099eea01e06edf22cd85e4cb7aee0e92da89e3e4887a2433ab10bbcb SHA512 76afc82b6d32e1204d36f1fdd602fd4a073b096f49676faab8edd1ab3322f305a4549d07c9e6740463ac4130948dc008181d741d6ebc110bdb87ff1465f03ba2
-DIST dict-en-20240101_lo.oxt 6105115 BLAKE2B 8d81a60fe73adc4b12b0023915aa131eeaf6bbd33f816b05dcb5d0ad40c7806f35c724be1b380904ed62c50c2f3c71925981fdc7bd653f155d7da11383e2ed1e SHA512 cbb6dec8486df96678e0c6c75297645af2455a41194c5232e71ac7a0edcbf2b15115985958529427c57b82a41ca853af86fa4baffbdc8ea50d23f9f48c868940
DIST dict-en-20240201_lo.oxt 6105836 BLAKE2B 2978b36dfea07570b8be255c021e8f6cf9113f3ea342db0cc25d52e58a406f75015fdc5961556594756fde30293c21bcbf17c00b49e962e5a4f558be3f17b42c SHA512 92098925935ec23a3058db4a136e37f6dc3c24f0901de45bfd84e19efb5c3b207bb06e902368fd00c0851003b2e385719d850b3cced15e3d4a2b2d5143b5eafc
+DIST dict-en-20240501_lo.oxt 6107426 BLAKE2B 811ca6f8a82f348c391b8b4df832446a8d248ec9b6ec85a9c1320f7329679e4fa6d3d507d18d3d792d878fc6f369b70135fa25a75c86b858333e370816db5761 SHA512 3d4ae13c4d68a62970742bb7e8568bebf03cbfaa04051b2152197f2d2a9fb539642a6ff6032123716c31e5f340bd2bad428983f79a7d8c6679e9da48f272e65c
+DIST dict-en-20240601_lo.oxt 6109035 BLAKE2B a90f4f2dad3a0b694aadeddf0a028138cb06f6e9f244279a43741b87260bacefd83148997f99ddca83343a301dc92a84253174e16595c11796a20dda3a372237 SHA512 688ad1a14f6a3eadbcaa7cc9e08ce6fe4bf5d6867fa92df6eb9fc91d06645936ad1844e1fa954e6c9d20aabfa8cb323a99ff9383f70c55b1afcf6685d5970b5e
diff --git a/app-dicts/myspell-en/myspell-en-20230701.ebuild b/app-dicts/myspell-en/myspell-en-20230701.ebuild
deleted file mode 100644
index 30efc923e94e..000000000000
--- a/app-dicts/myspell-en/myspell-en-20230701.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit myspell-r2
-
-DESCRIPTION="English dictionaries for myspell/hunspell"
-HOMEPAGE="
- https://extensions.libreoffice.org/extensions/english-dictionaries
- https://proofingtoolgui.org
- https://github.com/marcoagpinto/aoo-mozilla-en-dict
-"
-SRC_URI="https://extensions.libreoffice.org/assets/downloads/41/1688193331/dict-en-20230701_lo.oxt"
-
-LICENSE="BSD MIT LGPL-3+"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-
-PLOCALES=( "en-AU" "en-CA" "en-GB" "en-US" "en-ZA" )
-IUSE+="+l10n_en ${PLOCALES[@]/#/l10n_}"
-REQUIRED_USE="|| ( l10n_en ${PLOCALES[@]/#/l10n_} )"
-
-src_prepare() {
- if use l10n_en-GB || use l10n_en; then
- MYSPELL_HYPH+=( "hyph_en_GB.dic" )
- fi
- if use l10n_en-US || use l10n_en; then
- MYSPELL_THES+=(
- "th_en_US_v2.dat"
- "th_en_US_v2.idx"
- )
- MYSPELL_HYPH+=( "hyph_en_US.dic" )
- fi
-
- MYSPELL_DICT=( )
- for lang in "${PLOCALES[@]}"; do
- if [[ "${lang}" == "en" ]]; then
- continue
- fi
- local mylinguas="${lang//-/_}"
- if use "l10n_${lang}" || use l10n_en; then
- MYSPELL_DICT+=( "${mylinguas}.aff" "${mylinguas}.dic" )
- else
- rm "README_${mylinguas}.txt" || die
- if [[ ${lang} == "en-US" ]]; then
- rm "README_hyph_en_US.txt" || die
- fi
- if [[ ${lang} == "en-GB" ]]; then
- rm "README_hyph_en_GB.txt" || die
- rm "README_en_GB_thes.txt" || die
- fi
- fi
- done
-
- default
-}
diff --git a/app-dicts/myspell-en/myspell-en-20230901.ebuild b/app-dicts/myspell-en/myspell-en-20230901.ebuild
deleted file mode 100644
index 4a2935c26f50..000000000000
--- a/app-dicts/myspell-en/myspell-en-20230901.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit myspell-r2
-
-DESCRIPTION="English dictionaries for myspell/hunspell"
-HOMEPAGE="
- https://extensions.libreoffice.org/extensions/english-dictionaries
- https://proofingtoolgui.org
- https://github.com/marcoagpinto/aoo-mozilla-en-dict
-"
-SRC_URI="https://extensions.libreoffice.org/assets/downloads/41/1693549382/dict-en-20230901_lo.oxt"
-
-LICENSE="BSD MIT LGPL-3+"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-
-PLOCALES=( "en-AU" "en-CA" "en-GB" "en-US" "en-ZA" )
-IUSE+="+l10n_en ${PLOCALES[@]/#/l10n_}"
-REQUIRED_USE="|| ( l10n_en ${PLOCALES[@]/#/l10n_} )"
-
-src_prepare() {
- if use l10n_en-GB || use l10n_en; then
- MYSPELL_HYPH+=( "hyph_en_GB.dic" )
- fi
- if use l10n_en-US || use l10n_en; then
- MYSPELL_THES+=(
- "th_en_US_v2.dat"
- "th_en_US_v2.idx"
- )
- MYSPELL_HYPH+=( "hyph_en_US.dic" )
- fi
-
- MYSPELL_DICT=( )
- for lang in "${PLOCALES[@]}"; do
- if [[ "${lang}" == "en" ]]; then
- continue
- fi
- local mylinguas="${lang//-/_}"
- if use "l10n_${lang}" || use l10n_en; then
- MYSPELL_DICT+=( "${mylinguas}.aff" "${mylinguas}.dic" )
- else
- rm "README_${mylinguas}.txt" || die
- if [[ ${lang} == "en-US" ]]; then
- rm "README_hyph_en_US.txt" || die
- fi
- if [[ ${lang} == "en-GB" ]]; then
- rm "README_hyph_en_GB.txt" || die
- rm "README_en_GB_thes.txt" || die
- fi
- fi
- done
-
- default
-}
diff --git a/app-dicts/myspell-en/myspell-en-20240101.ebuild b/app-dicts/myspell-en/myspell-en-20240501.ebuild
index e1be4d0fc2a1..a09614bf817d 100644
--- a/app-dicts/myspell-en/myspell-en-20240101.ebuild
+++ b/app-dicts/myspell-en/myspell-en-20240501.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="
https://proofingtoolgui.org
https://github.com/marcoagpinto/aoo-mozilla-en-dict
"
-SRC_URI="https://extensions.libreoffice.org/assets/downloads/41/1704094893/dict-en-20240101_lo.oxt"
+SRC_URI="https://extensions.libreoffice.org/assets/downloads/41/1714540032/dict-en-20240501_lo.oxt"
LICENSE="BSD MIT LGPL-3+"
SLOT="0"
diff --git a/app-dicts/myspell-en/myspell-en-20240601.ebuild b/app-dicts/myspell-en/myspell-en-20240601.ebuild
new file mode 100644
index 000000000000..e2ef61695d09
--- /dev/null
+++ b/app-dicts/myspell-en/myspell-en-20240601.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit myspell-r2
+
+DESCRIPTION="English dictionaries for myspell/hunspell"
+HOMEPAGE="
+ https://extensions.libreoffice.org/extensions/english-dictionaries
+ https://github.com/marcoagpinto/aoo-mozilla-en-dict
+ https://proofingtoolgui.org
+"
+SRC_URI="https://extensions.libreoffice.org/assets/downloads/41/1717313617/dict-en-${PV}_lo.oxt"
+
+LICENSE="BSD MIT LGPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+
+PLOCALES=( "en-AU" "en-CA" "en-GB" "en-US" "en-ZA" )
+IUSE="${PLOCALES[*]/#/+l10n_}"
+REQUIRED_USE="|| ( ${PLOCALES[*]/#/l10n_} )"
+
+src_prepare() {
+ # This thesaurus is used by all the English dictionaries, see
+ # ./dictionaries.xcu in the distfile, lines 71-81.
+ MYSPELL_THES=(
+ "th_en_US_v2.dat"
+ "th_en_US_v2.idx"
+ )
+
+ local non_us_dic_used=0
+ local mylinguas
+ for lang in "${PLOCALES[@]}"; do
+ mylinguas="${lang/-/_}"
+ if use "l10n_${lang}"; then
+ MYSPELL_DICT+=( "${mylinguas}.aff" "${mylinguas}.dic" )
+ if [[ ${lang} == en-US ]]; then
+ MYSPELL_HYPH=( "hyph_en_US.dic" )
+ else
+ non_us_dic_used=1
+ fi
+ else
+ rm "README_${mylinguas}.txt" || die
+ if [[ ${lang} == "en-US" ]]; then
+ rm "README_hyph_en_US.txt" || die
+ elif [[ ${lang} == "en-GB" ]]; then
+ rm "README_en_GB_thes.txt" || die
+ fi
+ fi
+ done
+
+ if [[ non_us_dic_used -eq 1 ]]; then
+ # This is used by every English variety, except for the en-US, see
+ # ./dictionaries.xcu, lines 60-70.
+ MYSPELL_HYPH+=( "hyph_en_GB.dic" )
+ else
+ rm "README_hyph_en_GB.txt" || die
+ fi
+
+ default
+}
diff --git a/app-dicts/verbiste/Manifest b/app-dicts/verbiste/Manifest
index f8304dddee8e..ccc70cba7a55 100644
--- a/app-dicts/verbiste/Manifest
+++ b/app-dicts/verbiste/Manifest
@@ -1 +1,2 @@
DIST verbiste-0.1.47.tar.gz 781085 BLAKE2B 39f92bffc2165b49a2cd66ced4337aa4eb4253a1d767f0c26cea0bc10e965a5547158ab0de796b76016fd46bd220b305a14c9be42b76f5a25f0fde85e4ff1b97 SHA512 cc06d3e4a09b9edf2fe3996f527ae05fa50af909cc5ea6ed830d1b4f5706cf9b29028160cff842a211148e13d736f7e2cb74f10b3c5fd84d93a1038e05a26cbf
+DIST verbiste-0.1.48.tar.gz 807115 BLAKE2B 666df78baf30ae4fba19e86dc2b812ea6ea6711829d46e6c1e5474f3b500576c992a3338abdbe6c347d154d1f37b696ef59e1e60a8ab79c2ef5b9584d026ac2a SHA512 4d0ac1a1116b51196b1ba72cceed507c56551ed97d2de07dfbf1f6eb48769a7c3c1ee676aa3a2d3f9e3cb512df3808d9bb1da9c7166a820cc3379ff06f4f14f2
diff --git a/app-dicts/verbiste/verbiste-0.1.48.ebuild b/app-dicts/verbiste/verbiste-0.1.48.ebuild
new file mode 100644
index 000000000000..d8d3ec98d114
--- /dev/null
+++ b/app-dicts/verbiste/verbiste-0.1.48.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop xdg-utils
+
+DESCRIPTION="French conjugation system"
+HOMEPAGE="http://sarrazip.com/dev/verbiste.html"
+SRC_URI="http://sarrazip.com/dev/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~riscv ~x86"
+IUSE="gtk test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-libs/libxml2-2.4.0:2
+ gtk? ( >=x11-libs/gtk+-2.6:2 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-lang/perl
+ dev-perl/XML-Parser
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local myeconfargs=(
+ --with-console-app
+ --without-gnome-app
+ --without-gnome-applet
+ $(use_with gtk gtk-app)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_test() {
+ emake VERBOSE=1 check
+}
+
+src_install() {
+ default
+
+ dodoc HACKING LISEZMOI
+ # file is only installed with USE=gnome
+ if use gtk; then
+ sed -e 's/Exec=.*/Exec=verbiste-gtk/' \
+ -i src/gnome/verbiste.desktop || die
+ domenu src/gnome/verbiste.desktop
+ fi
+
+ find "${ED}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+ if use gtk; then
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+ fi
+}
+
+pkg_postrm() {
+ if use gtk; then
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+ fi
+}
diff --git a/app-dicts/ydpdict/Manifest b/app-dicts/ydpdict/Manifest
index d66c4d77547d..97310111c500 100644
--- a/app-dicts/ydpdict/Manifest
+++ b/app-dicts/ydpdict/Manifest
@@ -1 +1,2 @@
DIST ydpdict-1.0.3.tar.gz 185721 BLAKE2B 1db80dc20dd6d71c4b7fed2051bbfae1021fd1ea15ca1f993e8e095912fbcc8d599d8f480143d185fd11c6a1414d7f29ae67a9f5cffda624b434d198cddc5c68 SHA512 ca50c485f10aa4c4691a27a474a5ae814be3bb183b4927728f14de67af1e11a281e5272fc5777d6573e69dd00d3da2223b78d729132764338c92489f20eb17e8
+DIST ydpdict-1.0.5.tar.gz 191401 BLAKE2B 5b57e16d36fe744e435924546c55bb5d0e130a1e76ec743cb871ccf71bb53d5999a8ba5eb3cca0db8ae6d4f3680642d2d243f067a4bef653d375ccf9e203f460 SHA512 12fcee0612560ebea3942ce31ef6b4927bd033cd45e9dd6e677a8aefcf3a81feb267ad77953e3ed1a904428586e41df8dd8c732cdbe1e9a3220cc46c153030c1
diff --git a/app-dicts/ydpdict/ydpdict-1.0.5.ebuild b/app-dicts/ydpdict/ydpdict-1.0.5.ebuild
new file mode 100644
index 000000000000..c29a3178c033
--- /dev/null
+++ b/app-dicts/ydpdict/ydpdict-1.0.5.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.0.3-tinfo.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
+}