diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2023-10-05 19:55:36 -0400 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2023-10-17 21:26:05 -0700 |
commit | 03a216a35add2c55cc5d1aeea5aace400f2aa693 (patch) | |
tree | 16694b2fdd8de61ec0bc517ed97f2d4a3527e74c /app-text | |
parent | app-text/calibre: add missing USE dependencies for image support (diff) | |
download | gentoo-03a216a35add2c55cc5d1aeea5aace400f2aa693.tar.gz gentoo-03a216a35add2c55cc5d1aeea5aace400f2aa693.tar.bz2 gentoo-03a216a35add2c55cc5d1aeea5aace400f2aa693.zip |
app-text/calibre: move text-to-speech dependency to dedicated USE flag
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/calibre/calibre-5.44.0-r2.ebuild | 6 | ||||
-rw-r--r-- | app-text/calibre/metadata.xml | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/app-text/calibre/calibre-5.44.0-r2.ebuild b/app-text/calibre/calibre-5.44.0-r2.ebuild index aa777d9a83cb..74b91f0af828 100644 --- a/app-text/calibre/calibre-5.44.0-r2.ebuild +++ b/app-text/calibre/calibre-5.44.0-r2.ebuild @@ -37,7 +37,7 @@ LICENSE=" " KEYWORDS="~amd64 ~arm ~x86" SLOT="0" -IUSE="ios test +udisks" +IUSE="ios speech test +udisks" RESTRICT="!test? ( test )" @@ -55,7 +55,6 @@ COMMON_DEPEND="${PYTHON_DEPS} dev-libs/openssl:= dev-libs/snowball-stemmer:= $(python_gen_cond_dep ' - app-accessibility/speech-dispatcher[python,${PYTHON_USEDEP}] >=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}] dev-python/beautifulsoup4[${PYTHON_USEDEP}] dev-python/cchardet[${PYTHON_USEDEP}] @@ -100,6 +99,7 @@ COMMON_DEPEND="${PYTHON_DEPS} >=app-pda/usbmuxd-1.0.8 >=app-pda/libimobiledevice-1.2.0 ) + speech? ( $(python_gen_cond_dep 'app-accessibility/speech-dispatcher[python,${PYTHON_USEDEP}]') ) udisks? ( virtual/libudev )" RDEPEND="${COMMON_DEPEND} udisks? ( sys-fs/udisks:2 )" @@ -200,6 +200,8 @@ src_test() { # unpackaged Python dependency: unrardll test_unrar + $(usev !speech speech_dispatcher) + # undocumented reasons test_mem_leaks test_searching diff --git a/app-text/calibre/metadata.xml b/app-text/calibre/metadata.xml index a969c28b1737..70f7c65fff2a 100644 --- a/app-text/calibre/metadata.xml +++ b/app-text/calibre/metadata.xml @@ -8,4 +8,7 @@ <remote-id type="sourceforge">calibre</remote-id> <remote-id type="github">kovidgoyal/calibre</remote-id> </upstream> + <use> + <flag name="speech">Enable text-to-speech support</flag> + </use> </pkgmetadata> |