Skip to content
Snippets Groups Projects
Verified Commit ab5ca68b authored by Spotlight Deveaux's avatar Spotlight Deveaux :fox:
Browse files

net-misc/seafile: add libressl support

parent 104c2539
No related branches found
No related tags found
No related merge requests found
DIST seafile-7.0.5.tar.gz 706430 BLAKE2B 49402de13660bcda9a6fad35879bd0e9ba4e491e921525a9cb16498f833d0d8e4177e615afa95780da040c9617d2795a3aa97ce389edae54621d8079033fd24e SHA512 c51c5f3f4a4b316fdf21d8eec12d42e7e1c76cf1271393658dd447c4b0ba77e6149eb7770a99af6aa23f6ebcb1572f4b847f8de44320d8bae8960bde7f429920
EBUILD seafile-7.0.5-r1.ebuild 1137 BLAKE2B 99ed4e96078b57d1daa30fe8cafe26f079d9abd11392cc2eacab8cec4acb1b758a890437a34d6b357ddfc6b20ebcca625c6e3c839eed2f4172726bae6f1278b8 SHA512 92e3fc854327e0c49cbabb13dfb242358387d713b6d43f5fb5d1b5254b09592e4999af73bd55a121aa609a75ed1d6c9b0377f3640e6bb792f76c53417b01e343
MISC metadata.xml 535 BLAKE2B 50d98b6ffbe9dab8d8c04c5fcb70387072158c03c0484d11a70b6a3f1798aee50796a484ae8d21a8f07bf5924db2cdb06288383771519dfa72e63b47be09e679 SHA512 39f9a06f11b90468f44810b942e69231d8d87cd78c43432e2638bfc6eef4ecee6fa5c3d9d108e82eb200428143acb10a36a3277199f713e3f6f2c003311bd9ee
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>efremov@linux.com</email>
<name>Denis Efremov</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<use>
<flag name="libressl">Build with LibreSSL support instead of OpenSSL</flag>
</use>
<upstream>
<remote-id type="github">haiwen/seafile</remote-id>
</upstream>
</pkgmetadata>
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=(python{2_7,3_6})
WANT_AUTOMAKE=1.16
inherit autotools python-single-r1 vala
DESCRIPTION="File syncing and sharing software with file encryption and group sharing"
HOMEPAGE="http://www.seafile.com/ https://github.com/haiwen/seafile/"
SRC_URI="https://github.com/haiwen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+-with-openssl-exception"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="libressl"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
net-libs/libsearpc[${PYTHON_SINGLE_USEDEP}]
dev-libs/glib:2
dev-libs/libevent
dev-libs/jansson
sys-libs/zlib
net-misc/curl
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
dev-db/sqlite:3"
DEPEND="${RDEPEND}
$(vala_depend)"
src_prepare() {
default
sed -i -e 's/valac /${VALAC} /' lib/Makefile.am || die
eautoreconf
vala_src_prepare
}
src_install() {
default
# Remove unnecessary .la files, as recommended by ltprune.eclass
find "${ED}" -name '*.la' -delete || die
python_fix_shebang "${ED}"/usr/bin
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment