From 2ad0a7942c9f1db09d561cc8a401b69567812aba Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sat, 9 Jun 2018 04:07:19 +0200 Subject: [PATCH] net-misc/seafile: initial import --- .../net-misc/seafile/seafile-6.1.8.exheres-0 | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 packages/net-misc/seafile/seafile-6.1.8.exheres-0 diff --git a/packages/net-misc/seafile/seafile-6.1.8.exheres-0 b/packages/net-misc/seafile/seafile-6.1.8.exheres-0 new file mode 100644 index 0000000..fe36224 --- /dev/null +++ b/packages/net-misc/seafile/seafile-6.1.8.exheres-0 @@ -0,0 +1,47 @@ +# Copyright 2018 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +require python [ blacklist=3 has_bin=true multibuild=false ] +require github [ user=haiwen tag="v${PV}" ] +require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ] +require vala [ vala_dep=true ] + +SUMMARY="File syncing and sharing software with file encryption and group sharing, emphasis on reliability and high performance" +HOMEPAGE="https://www.seafile.com ${HOMEPAGE}" + +LICENCES="GPL-2" # has openssl linking exception +SLOT="0" +PLATFORMS="~amd64 ~x86" +MYOPTIONS=" + ( providers: libressl openssl ) [[ number-selected = exactly-one ]] +" + +DEPENDENCIES=" + build: + virtual/pkg-config + build+run: + dev-db/sqlite:3 + dev-libs/glib:2 + dev-libs/jansson + dev-libs/libevent + net-libs/ccnet[~${PV}][python_abis:*(-)?] + net-libs/libsearpc[python_abis:*(-)?] + net-misc/curl + sys-libs/zlib + providers:libressl? ( dev-libs/libressl:= ) + providers:openssl? ( dev-libs/openssl ) +" + +BUGS_TO="hasufell@posteo.de" + +src_prepare() { + default + edo sed -i -e 's/valac /${VALAC} /' lib/Makefile.am + eautoreconf +} + +src_install() { + default + edo sed -i -e "s:env python[[:digit:].]*$:env ${PYTHON##*/}:" \ + "${IMAGE}"/usr/$(exhost --target)/bin/seaf-cli +}