| 
									
										
										
										
											2018-06-09 02:07:19 +00:00
										 |  |  | # Copyright 2018 Julian Ospald <hasufell@posteo.de> | 
					
						
							|  |  |  | # 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 | 
					
						
							| 
									
										
										
										
											2019-03-30 09:46:10 +00:00
										 |  |  |         dev-libs/libevent:= | 
					
						
							| 
									
										
										
										
											2018-06-09 02:07:19 +00:00
										 |  |  |         net-libs/libsearpc[python_abis:*(-)?] | 
					
						
							|  |  |  |         net-misc/curl | 
					
						
							|  |  |  |         sys-libs/zlib | 
					
						
							|  |  |  |         providers:libressl? ( dev-libs/libressl:= ) | 
					
						
							|  |  |  |         providers:openssl?  ( dev-libs/openssl ) | 
					
						
							| 
									
										
										
										
											2020-01-28 18:01:32 +00:00
										 |  |  |     run: | 
					
						
							|  |  |  |         dev-python/future[python_abis:*(-)?] | 
					
						
							| 
									
										
										
										
											2018-06-09 02:07:19 +00:00
										 |  |  | "
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 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 | 
					
						
							|  |  |  | } |