net-im/telegram-desktop: add USE=libressl
authorStefan Strogin <steils@gentoo.org>
Sat, 25 Jan 2020 17:52:22 +0000 (19:52 +0200)
committerStefan Strogin <steils@gentoo.org>
Sat, 25 Jan 2020 17:55:26 +0000 (19:55 +0200)
Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Stefan Strogin <steils@gentoo.org>
net-im/telegram-desktop/telegram-desktop-1.9.8.ebuild

index a5baf8e9c5709aea9d399dc9a539ce90bee6d956..927e83b664eda6cd2ecb65d31d9a419a53f35875 100644 (file)
@@ -16,12 +16,13 @@ SRC_URI="https://github.com/telegramdesktop/tdesktop/releases/download/v${PV}/${
 LICENSE="GPL-3-with-openssl-exception Unlicense"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc64"
-IUSE="dbus gtk3 spell"
+IUSE="dbus gtk3 libressl spell"
 
 RDEPEND="!net-im/telegram-desktop-bin
        app-arch/lz4
        app-arch/xz-utils
-       dev-libs/openssl:0
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )
        dev-libs/xxhash
        dev-qt/qtcore:5
        dev-qt/qtgui:5[png,X(-)]