summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Schlarb <moschlar@metalabs.de>2017-11-03 10:10:30 +0100
committerPatrice Clement <monsieurp@gentoo.org>2017-11-15 23:13:28 +0100
commit022d251f5dd9bbb21c6aa28b0069cac7eeeb4c6b (patch)
tree2b5e38ca6bac04d9822bfcaad78c19e4bbbd3543 /net-misc/seafile
parentnet-libs/ccnet: version bump to 6.1.3. (diff)
downloadgentoo-022d251f5dd9bbb21c6aa28b0069cac7eeeb4c6b.tar.gz
gentoo-022d251f5dd9bbb21c6aa28b0069cac7eeeb4c6b.tar.bz2
gentoo-022d251f5dd9bbb21c6aa28b0069cac7eeeb4c6b.zip
net-misc/seafile: version bump to 6.1.3.
- Remove unnecessary .la files - Fix shebang in seaf-cli
Diffstat (limited to 'net-misc/seafile')
-rw-r--r--net-misc/seafile/Manifest1
-rw-r--r--net-misc/seafile/seafile-6.1.3.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/net-misc/seafile/Manifest b/net-misc/seafile/Manifest
index c13e994f90fb..9a61596a7abb 100644
--- a/net-misc/seafile/Manifest
+++ b/net-misc/seafile/Manifest
@@ -1,2 +1,3 @@
DIST seafile-6.0.7.tar.gz 823384 SHA256 e563eade01330bf679f3e6b9f0202b198170cdd8ec80642d9fb670b3a5cda793 SHA512 ec33fbb6b925d4be9b89140d75287115e09f570654946aff994eb50d2ca46e233005b8e0e917682822806d0b5fd70cb9b8a728bb0fd09d124adaadaf3efc849a WHIRLPOOL 8abb588994f06f4d167e1ca55a0e67c742ae7e089a96eb6a438a26fcc59e21b917444e0a8dcb4d099318af79f618a2af2d0a81d3459918ecb2f768b788a11b1f
DIST seafile-6.1.0.tar.gz 823289 SHA256 06871c6b2ecf27c5c87329b5be03b5aba37cf7c6a4cc81867d3d8451c4ecfb0f SHA512 ccf2c66288093da7a00c24d019a1d765c6072485584d045b0d7acec4faee3448f52448113976eaf63950b1feda2c08d8ebda274f3178ca8ca6c643a822dde3fa WHIRLPOOL 4175bf1df72b83b6eb06e085c9191fe743a2a4310aea929da993c95b69eccab040f072fe4eed968e55783c5151601bbddfc8830815c95b855cfefa5185c3016b
+DIST seafile-6.1.3.tar.gz 823078 SHA256 bcd6e363dc3e1727b1cbf1c889724ffff6e4002c507745445d6fd623faf7d47e SHA512 c8c046952d5c8910f0ba444cdcaa2659260d328ba6449099777850e7d04f494186c56a2fd00e43fd20372c817d977e1a2fe36be040521ca92742c48d83d0b777 WHIRLPOOL 38a5678fce8e2149a546c7219da1b323b1eccf11662b6aabb25f0e714c28fe68d572c6f7934eb7e0f1a402be8d7cf0c9032a4b9f8f4051b57eba81eeef1968a3
diff --git a/net-misc/seafile/seafile-6.1.3.ebuild b/net-misc/seafile/seafile-6.1.3.ebuild
new file mode 100644
index 000000000000..8c268d75d841
--- /dev/null
+++ b/net-misc/seafile/seafile-6.1.3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+inherit autotools python-single-r1 vala
+
+DESCRIPTION="File syncing and sharing software with file encryption and group sharing"
+HOMEPAGE="https://github.com/haiwen/seafile/ http://www.seafile.com/"
+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=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ net-libs/libsearpc[${PYTHON_USEDEP}]
+ =net-libs/ccnet-${PV}[${PYTHON_USEDEP}]
+ >=dev-libs/glib-2.16.0:2
+ >=dev-libs/libevent-2.0
+ >=dev-libs/jansson-2.2.1
+ >=sys-libs/zlib-1.2.0
+ >=net-misc/curl-7.17
+ dev-libs/openssl: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
+}