From 9452a6e87b6c2c70513bc47a2470bf9f1168920e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 13 Jun 2020 10:39:22 +0100 Subject: gentoo resync : 13.06.2020 --- net-im/toxic/Manifest | 2 +- net-im/toxic/toxic-0.8.3-r1.ebuild | 82 +++++++++++++++++++++++++++++++++++++ net-im/toxic/toxic-0.8.3.ebuild | 84 -------------------------------------- 3 files changed, 83 insertions(+), 85 deletions(-) create mode 100644 net-im/toxic/toxic-0.8.3-r1.ebuild delete mode 100644 net-im/toxic/toxic-0.8.3.ebuild (limited to 'net-im/toxic') diff --git a/net-im/toxic/Manifest b/net-im/toxic/Manifest index d0df96e4772f..6b86a21d9c03 100644 --- a/net-im/toxic/Manifest +++ b/net-im/toxic/Manifest @@ -2,5 +2,5 @@ DIST toxic-0.8.2.tar.gz 1146526 BLAKE2B 0a1c80313963287e88aa489ecf4614365a3d94c7 DIST toxic-0.8.3.tar.gz 1147100 BLAKE2B d73a861112aca65e54773c98473c2858bb81e63fef11212633e34dac9e87101956e3ab0d9d56757767bc5d48d1d5a406e550f8fc55ae34860dbc4977c94ee347 SHA512 c8d746efcc055592dd990dfa57415cc1eacaaa3b66303d7583d9f9e7e98b8829c8f1ae849f36a243c8896e99787dd2e493c92367de719b20a4a160bc7daea76e DIST toxic_patches-0.8.2.tar.gz 3859 BLAKE2B 4a19226cea6c7ce60f599fbd4f74171f26b3812259f0f8997997526bde7beb6fe64b922f25fe77e0ac8f9b185db116d2e626cb889631a1508786b92f9bbc8927 SHA512 737cc53e814567e10ad8b7431be63ab8f99b76bb150490c31e03309c4e51ee34a798d141cbde446cbbc4b5c0145ca468f3456a2af4b966c80792cdccc6562b46 EBUILD toxic-0.8.2.ebuild 2236 BLAKE2B 61874558ca08f229ab672be1df0915299865582e2f0e33a1f83da50bdc06ebe936b2adc04d75dce2c01449d502755e39e4f134ac7e8790afb6d1071a5dbd5d0d SHA512 d7de32e733f23b76b576e8d0e2327a179d0d4fb2deb06a696c7ef1e47bde1f0cc5148667567eb86231614810ca6bfa9f8c6aae3c2fcb1ba67b0e13ace08e476d -EBUILD toxic-0.8.3.ebuild 1826 BLAKE2B 10ca1ea831bf856fb3717be6a8fda0c63da7154ba79caf3d78e517e79c2beb6b452dd737b1978f5b3d9a757719fc7d113528a5da34e3153a4d9f54de58770f9d SHA512 e779a3427f5bba7de5e81bb0e28b2b3c3dce0c6c929c539eb94ec6eade38cef3ad9442023cda093a33c8a7c89ecbdde655370ec38ecca84884d2cb9f3e108c40 +EBUILD toxic-0.8.3-r1.ebuild 1821 BLAKE2B a0949d1d569e036cce682702a3effbe92f2f06f2980dee32cecf5348c296ed3401eaa6146d68dbfa6d8694513ec5875a714f43b5f5698f050523249d54ca8f00 SHA512 af68531036ee165bb476a4da1113f229029a1ee5fcaf8bc8a68198f8bd13ada2a9dc8ce1a6ca1600d946877d488d2fd696c5aa63fce95cd70135f73c01e46782 MISC metadata.xml 984 BLAKE2B e990138cd52d9a9933635ac1a093a22305dd02896082e38b5fbbe7044fc77a1cf134db1a5923985566e89b360f2e98b7cb948e273580857a10ef5856f33c48e0 SHA512 3211f2bb29f8755718fb0cd45e37c3331271500a6d6dd0c47acee7b8e6f0d550fb9e8910d5d0769cd7ea217e7abeb1998886246c4ede1fe24b23d722a0341865 diff --git a/net-im/toxic/toxic-0.8.3-r1.ebuild b/net-im/toxic/toxic-0.8.3-r1.ebuild new file mode 100644 index 000000000000..fcdcabb71fd7 --- /dev/null +++ b/net-im/toxic/toxic-0.8.3-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_6 python3_7 ) + +inherit python-single-r1 xdg + +DESCRIPTION="A curses-based client for Tox" +HOMEPAGE="https://github.com/JFreegman/toxic" +SRC_URI="https://github.com/JFreegman/toxic/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="notification python qrcode +sound +video +X" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +BDEPEND="dev-libs/libconfig" + +RDEPEND=">=net-libs/tox-0.2.8:* + net-misc/curl + sys-libs/ncurses:* + notification? ( x11-libs/libnotify ) + python? ( ${PYTHON_DEPS} ) + qrcode? ( media-gfx/qrencode ) + sound? ( + media-libs/freealut + media-libs/openal + net-libs/tox[av] + ) + video? ( + media-libs/libvpx + net-libs/tox[av] + x11-libs/libX11 )" + +DEPEND="${RDEPEND}" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + #prevent man files from being compressed. + sed -i -e "/gzip/d" cfg/targets/install.mk || die "Unable to prevent compression of man pages." +} + +src_configure() { + export USER_CFLAGS="${CFLAGS}" + export USER_LDFLAGS="${LDFLAGS}" + if ! use sound; then + export DISABLE_AV=1 + export DISABLE_SOUND_NOTIFY=1 + fi + if ! use video; then + export DISABLE_VI=1 + fi + if ! use X; then + export DISABLE_X11=1 + fi + if ! use notification; then + export DISABLE_DESKTOP_NOTIFY=1 + fi + if ! use qrcode; then + export DISABLE_QRCODE=1 + export DISABLE_QRPNG=1 + fi + if use python; then + export ENABLE_PYTHON=1 + fi + #set install directory to /usr. + sed -i -e "s,/usr/local,${EPREFIX}/usr,g" cfg/global_vars.mk || die "Failed to set install directory!" +} + +src_install() { + default + if ! use sound; then + rm -r "${ED}"/usr/share/${PN}/sounds || die "Could not remove sounds directory" + fi +} diff --git a/net-im/toxic/toxic-0.8.3.ebuild b/net-im/toxic/toxic-0.8.3.ebuild deleted file mode 100644 index a39f3e6f1ce6..000000000000 --- a/net-im/toxic/toxic-0.8.3.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_6 ) - -inherit python-single-r1 xdg - -DESCRIPTION="A curses-based client for Tox" -HOMEPAGE="https://github.com/JFreegman/toxic" -SRC_URI="https://github.com/JFreegman/toxic/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="notification python qrcode +sound +video +X" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - dev-libs/libconfig - >=net-libs/tox-0.2.8:* - net-misc/curl - sys-libs/ncurses:* - notification? ( x11-libs/libnotify ) - python? ( ${PYTHON_DEPS} ) - qrcode? ( media-gfx/qrencode ) - sound? ( - media-libs/freealut - media-libs/openal - net-libs/tox[av] - ) - video? ( - media-libs/libvpx - net-libs/tox[av] - x11-libs/libX11 )" - -DEPEND=" - virtual/pkgconfig - ${RDEPEND}" - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - default - #prevent man files from being compressed. - sed -i -e "/gzip/d" cfg/targets/install.mk || die "Unable to prevent compression of man pages." -} - -src_configure() { - export USER_CFLAGS="${CFLAGS}" - export USER_LDFLAGS="${LDFLAGS}" - if ! use sound; then - export DISABLE_AV=1 - export DISABLE_SOUND_NOTIFY=1 - fi - if ! use video; then - export DISABLE_VI=1 - fi - if ! use X; then - export DISABLE_X11=1 - fi - if ! use notification; then - export DISABLE_DESKTOP_NOTIFY=1 - fi - if ! use qrcode; then - export DISABLE_QRCODE=1 - export DISABLE_QRPNG=1 - fi - if use python; then - export ENABLE_PYTHON=1 - fi - #set install directory to /usr. - sed -i -e "s,/usr/local,${EPREFIX}/usr,g" cfg/global_vars.mk || die "Failed to set install directory!" -} - -src_install() { - default - if ! use sound; then - rm -r "${ED%/}"/usr/share/${PN}/sounds || die "Could not remove sounds directory" - fi -} -- cgit v1.2.3