mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 02:39:08 -07:00
app-dicts/ydpdict: add 1.0.5
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/37072 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
committed by
Conrad Kostecki
parent
bacd560dd7
commit
06d50e9610
@@ -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
|
||||
|
||||
57
app-dicts/ydpdict/ydpdict-1.0.5.ebuild
Normal file
57
app-dicts/ydpdict/ydpdict-1.0.5.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user