diff options
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/Manifest.gz | bin | 53963 -> 53963 bytes | |||
-rw-r--r-- | net-misc/iperf/Manifest | 2 | ||||
-rw-r--r-- | net-misc/iperf/iperf-3.13.ebuild | 2 | ||||
-rw-r--r-- | net-misc/rclone/Manifest | 2 | ||||
-rw-r--r-- | net-misc/rclone/rclone-1.62.2-r1.ebuild (renamed from net-misc/rclone/rclone-1.62.2.ebuild) | 2 | ||||
-rw-r--r-- | net-misc/seafile-client/Manifest | 3 | ||||
-rw-r--r-- | net-misc/seafile-client/files/seafile-client-select-qt5.patch | 18 | ||||
-rw-r--r-- | net-misc/seafile-client/seafile-client-9.0.1.ebuild | 55 | ||||
-rw-r--r-- | net-misc/seafile/Manifest | 2 | ||||
-rw-r--r-- | net-misc/seafile/seafile-9.0.1.ebuild | 65 |
10 files changed, 129 insertions, 22 deletions
diff --git a/net-misc/Manifest.gz b/net-misc/Manifest.gz Binary files differindex d7552793e465..047466bb9d5f 100644 --- a/net-misc/Manifest.gz +++ b/net-misc/Manifest.gz diff --git a/net-misc/iperf/Manifest b/net-misc/iperf/Manifest index 2e28ef6aff5b..333941d65516 100644 --- a/net-misc/iperf/Manifest +++ b/net-misc/iperf/Manifest @@ -12,5 +12,5 @@ DIST iperf-3.13.tar.gz 648754 BLAKE2B 8b08ae0e67ed066c7dabd115b757fefff03196aa2d EBUILD iperf-2.0.14a.ebuild 863 BLAKE2B 48a3db3ec6b41bad2abef2854e694949a1e14cb71c01b52de2ca28149c9430a9b052f70959b1eb0630ca6ee6460dd54e0e0420a65892e6a86eb3e67875b673b0 SHA512 cd0241a86c550a18572042151c402913ec5e362611580b7a70de5b38c6664c3398f06258be706d311704046f4add0b868a81f913c7afd1d06622307fdc215913 EBUILD iperf-2.9999.ebuild 670 BLAKE2B bb3d273743f45439dbcf4b88ea83010ceac93f7659a33a4c1197b1c946366dc4c00a7f7b017ff2050642b6a1b333934b272345aa3713b1a508f9c232f31dbbae SHA512 4b2ef29cca81a9d849356163c1d2e5c2f8eb19f45ee8c468c30950a2397e4a8a6f8c5ade0db47e9769f8a8e7d2fb77026bfa75b1325475ed9fcf80e07fa731c7 EBUILD iperf-3.12.ebuild 1188 BLAKE2B 04a57a7157fa5ce8efdb4b82949d3a65e016c36cd26d5996898c6543122354adeb51dce07ff55d04d0bc65ba0daa3da274f454f1e19e7af5e31f9399b5b55fb5 SHA512 45e444713b69a2d90e74a79206b2204f78f3a2f53e88da08058849a08bf44f9a3116247ea81a7ba3bf5058eedd3180fa7d9451f1cecf722cbe241831abf23015 -EBUILD iperf-3.13.ebuild 1152 BLAKE2B cf648f59717253b947eeafcec40ec473ee54be236d99eb7337afa7f1110c11761eeb867ec41e192c3f64bee1d4cb3e328a19655cf626f3f41dc0f8ff58f6e452 SHA512 f03c06efe7f090c7c6b17660353eddc8d3fb4b0e91467a7f7b9577e3372866d4a429d0c8e7b26933b30ea0140978a54fdc868a1356d30680b7f69dc460112684 +EBUILD iperf-3.13.ebuild 1147 BLAKE2B 7fbb1f81ce2f608b9ec841d87ca9c577060a2330d921bf13320b55ccc9cef236b89bda3982c42a487cdb3549de07c55a18f32ca863b7dd5089c7b78904976da9 SHA512 63e0d2f9bc074c5770a864b8eb2a7f76ca3186179a2b30aaacead06ac559bec2794a6bb97bf057b254a637f8de343bbff0e62c2207c3db3327e48b5f98baf7eb MISC metadata.xml 570 BLAKE2B e17cc2b8458663f6ed2e9de7cca4e6a0d2e21e7f0c22a92c7b2d8589a944a466436f0dec4e18843641cc9364f407b061ff44dbbe342162ab28556ec953b029b4 SHA512 e3acd2262d442675557b837bbed0feaf7a1f148f7306b64139d8ba39d052794a9e7b60f125eee8745b0d13cdeafbb93012c62d1c524caa1e0f4730d1200426cc diff --git a/net-misc/iperf/iperf-3.13.ebuild b/net-misc/iperf/iperf-3.13.ebuild index 77c46dd09c71..c4b42a8a64fa 100644 --- a/net-misc/iperf/iperf-3.13.ebuild +++ b/net-misc/iperf/iperf-3.13.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}"/${P/_/} LICENSE="BSD" SLOT="3" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="sctp" DEPEND=" diff --git a/net-misc/rclone/Manifest b/net-misc/rclone/Manifest index 90a56087d8f5..d92cc4c188d6 100644 --- a/net-misc/rclone/Manifest +++ b/net-misc/rclone/Manifest @@ -3,5 +3,5 @@ DIST rclone-1.61.1.tar.gz 16112718 BLAKE2B cb68fedf03812451d9c8ded88bfc073c81779 DIST rclone-1.62.2-deps.tar.xz 294265336 BLAKE2B 7f44b9972ab902ea53beb2cb6475dc4bbc1ca3b7254d1177a8d49107d6ce90724b0bb37567aecbd9421151ca0f7e7eaa01e6b4ed0d995264ddfc944cae98220e SHA512 2e1a6b864094b364745402b857036ebdea4dd83dddee6f18e3e40fbb0e740bae4d460b6f592d9ee50632fa73d6447f8dee0748a73a738a6dce263a20a1eae975 DIST rclone-1.62.2.tar.gz 16172767 BLAKE2B 29dd755a25adb3b332b45a662dd6ae1280c38a940e76cc6e3c5ccd38620b43b0b9f0a4598d752583ddff7e2c860416e4e36b6cdfc00cf81f03437ac13e88aba3 SHA512 c29b666ab5573e80f9e61955e987cf3834306bfebce209775f5838a0844e26b5c5ec41d64b8a8444745a99fd8e9c104b18631aeffb438e89839f996221b1c8ca EBUILD rclone-1.61.1.ebuild 1079 BLAKE2B f256e5ec08ea22935f97159a9a617a03e35b96d1e459ba185cd74cee1d903bc240d13f07f1dabdee5af7f1198634dac97cd37def5ebeee8067c5e9d085cbe9a5 SHA512 07f84113fc42f6843b2e684acc7247f9e4ef8a11ed0c0b79de20c4e27d18ce72a042f7a67b7bf444374585b2d46ea5b0867e985011d5f2c3254964a5754001a4 -EBUILD rclone-1.62.2.ebuild 1081 BLAKE2B e4aada07e04c85d8d6e110009c00c91e550ca07280f2307c915e7065d8ccd969a63b05a375d13f618d9ea0f02eab542b83c9d5604c3343eb5cf9318813cbb844 SHA512 1c4d70158dc7e92be48764465d0ff1954d1da2ce116915f5fa8f2d974e9dd3a06252fdcf3e7e08593f6a166f1afb38d305ee9df43af0576a9b0d1bc1f3fb9e91 +EBUILD rclone-1.62.2-r1.ebuild 1106 BLAKE2B ea488103b1add2e7cb85778a011f25521747cbbca262d924b19e4589a2e5214084c185bc15b0428918c9591b63fff299baa4a3687b886c3855fb63f519b55c4e SHA512 4ad37681aea9afd7523913a4fe56a9b3ddc3314085a8964eb1097c0d4a71809219ee344a8fe3879d54989e0eeea3a051a3f11c24ac51985e637713e76df26921 MISC metadata.xml 439 BLAKE2B b5861dff54f0d84231305efb12b3bae89c7f813b5da790804a3b5d7328ef85d7b059471ed1c652f9f53a10a3923c2c06913009b937e60adb1f45240ac8d988c1 SHA512 336fcb38344e49383a1daafb2f787485113ebe5dd473e833e3e60ad77361024ff97461e554c8216c24263d1ce22b1ed1bc42e3fec6225cf485a2ee5dea5c2c3a diff --git a/net-misc/rclone/rclone-1.62.2.ebuild b/net-misc/rclone/rclone-1.62.2-r1.ebuild index 649ec2384a36..715bda67b36e 100644 --- a/net-misc/rclone/rclone-1.62.2.ebuild +++ b/net-misc/rclone/rclone-1.62.2-r1.ebuild @@ -17,6 +17,8 @@ LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0" SLOT="0" IUSE="" +RDEPEND="sys-fs/fuse:3" + src_compile() { go build -mod=readonly . || die "compile failed" } diff --git a/net-misc/seafile-client/Manifest b/net-misc/seafile-client/Manifest index 4b2835b5e4c6..91a95bf327b3 100644 --- a/net-misc/seafile-client/Manifest +++ b/net-misc/seafile-client/Manifest @@ -1,10 +1,11 @@ AUX seafile-client-7.0.9-qt-5.15.patch 1036 BLAKE2B dc81224ff712d12c19dc90edb0371853dac4a7c6604f40ae2cc82fbbe59c36d91b776a0e05e31b874b6b5abad84687009d82461e708faa98a3c399b8e0acac11 SHA512 f4a06d788682ccb13ed10485a20322ec074b40dbe4f6f7b9b88f199d6fe64f2dfbaf7f9f7575bbfdd5f309eb58aa9a03453c679b56c52582cdd99ce22b9df57f AUX seafile-client-8.0.6-select-qt5.patch 1092 BLAKE2B 887ea09f0fd4c21c8b1ec65444e19bbcb50675b47bcff3553e21ea39c2ba67bd574a781e84232aef6b7e23143a8b9dd8828b024234060c5ed881074353f8f752 SHA512 4bfd313bc09cd5ceefc583800f87736620e0f33fdf6a4fc4b420325c3c8e074cfc14d21586190cef208660a14c05a1e056f9fd90a9ceddd2c2c1e780461d7a0a -AUX seafile-client-select-qt5.patch 807 BLAKE2B bc28c24a114899fa4d864a3ea10d1d2ab08410d0360e8499d40aee2a26358b5bc401edd8e57121306a5e840b674c50930840c3b8723eae1930421eaf3dbfe919 SHA512 565cd7a3b4f187ef52b9a95b0d657a35cc9722c78e92dfc413b64f781c3cae129aba23ab302f80c7526ccab234b0354709e95d1e79d356a502cce47370524f41 DIST seafile-client-8.0.10.tar.gz 11718520 BLAKE2B b8163085c9973df6965b194c964d2b326d4faea3191bf9b62a147bd0a49670f1eb3d0758fbe6f822f99f54c95c32717d9c3533cbc15e71cd8251c1c6ef67f662 SHA512 c4efb1698ed6dfbf3199e4e03293035c8052bd66632a1d04d9020bd226cce748fbcfc8d90c10284c9b1ee6bad20546263a9e09819fc420365625a2fbd4f4a697 DIST seafile-client-8.0.9.tar.gz 11716754 BLAKE2B 2087d2b31ce4696fdaaaa723da7a353c54ebebef86c84b62146d806692066165d0499f5fd6d3be108130d28c297020eafc3497be03131c8a8751f34f33eece90 SHA512 d0b55883f8d00138c092309994047652c6a5aa8b66182f83b6c852f1721794d9d8125da5fba282e9efdb92a0a97a55ecd6e225ab6a7916718a05ea2b7f4bd944 DIST seafile-client-9.0.0.tar.gz 11714587 BLAKE2B 3432c5b1a971b794379953392689a8451335b1e31a23d09a762b181d66d99a8ee1a2694bcd0cdeb31e2d3c5d98e11d582c9464c11e558c9febb894361dfebfce SHA512 42975fcae3691ffa69671e39c75af1dd863f43cbab65f2022f3c4ee72462c6725107bda77856d16caa4db1e9b5e81c45fe629ffe362a88bbfae8fef558118cae +DIST seafile-client-9.0.1.tar.gz 11713910 BLAKE2B 9a9cd710327a853295c6320a2c161b96d8a359cc9eea0272b65a9c0749c4c25f2f7287b8312d1dd11a7740145a036a596f48ccc1fae850447133ea67fa454a10 SHA512 27533dfdd3657470e3eb3f80814bec7a9ae9176978941651104a526630d70c4747d4e859c16f7af9a046d3a7ae4152e0ba17f11106aa34bb1f0cfd05cba44f88 EBUILD seafile-client-8.0.10.ebuild 1365 BLAKE2B 23cd4c9270de0bb5d5a9de02c2caded895b9123533f1a147a50547c072bcb751bdfcb6077a9a0f751be6a1b3a6344c0d65cad9d6f68e658eaa8bf6e80c265903 SHA512 c984dd297bc13911d0f835600b0f8a16b3f8a697f0b190c54df6ba2063bb6c8c940084b11336faf960a08094f440d06b95346904afda6ac2321dd712b18ed5f0 EBUILD seafile-client-8.0.9.ebuild 1364 BLAKE2B dd01f6e027e8ad4bc1c939cf6fb6f50e759791da2fdfec8f15fc675a9968d27c3c42f5fc75a7ab420710bca87401abeca45297618a682669a47499d0a124a889 SHA512 df6a985b3f2e17a50d96386f3b928f25ff7cd986e33f47c0a491300aed7f2884d6348fe86a1c05908153f01e65980b56e7658988efd7841badb47c2f9aa3df11 EBUILD seafile-client-9.0.0.ebuild 1365 BLAKE2B b3b2008a3675c62e80b9a2ec7be4e053ea2b3b347da372c1e81b4471db76713d33665473633196803b2ec75409675fc9fb787818fa53880fa83b885d1ead1bad SHA512 7a0775fac881735e98c1af3e74bc67a7e91dd427a627b3866d7762180b2fc7510b2866b867101dfdb54877e227798591acd6574724ac8dc7342988cf7f8c91cf +EBUILD seafile-client-9.0.1.ebuild 1365 BLAKE2B fc08b2bd33bc4b861e3ced041b9a63e8e947d619cb6a66d5f74b4c868ddd037df896898dd664aeb6cb823e3caec04f3f25ae8dfcaccc1781eec5219e3c9f9ec3 SHA512 1706186099020a2fa1c09ece805d3975cdbca86987b7df62b056c5e6ae2297404df701a88134dc2d962772589768c8fd7e355b7578266e4d9cdf08fcfc285b4d MISC metadata.xml 577 BLAKE2B 2370893b5c79210e63c40cd24532db7f376f57bce60728359b8645dc77717e4453fd9e2abf95d7c67882104a88c402585c0493c0a52ca0f84eceafb2928d338a SHA512 810d37c18e32318a1e9797186d2d1f3c74adfb6366fa8d9ffc966adc46779e352550d5e01ac73a9fd259d14fe0d931e37835f2ccf5f42648e3a6a40c3029ad10 diff --git a/net-misc/seafile-client/files/seafile-client-select-qt5.patch b/net-misc/seafile-client/files/seafile-client-select-qt5.patch deleted file mode 100644 index ed48dcf47573..000000000000 --- a/net-misc/seafile-client/files/seafile-client-select-qt5.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 4261fba..24fbbda 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -158,11 +158,8 @@ SET(QT_VERSION_MAJOR 5) - # have to keep using QtWebKit on windows because QtWebEngine can't be - # compiled in msys2/mingw (QtWebEnigne is based on chrome, which has to be - # compiled with MSVC.) --FIND_PROGRAM(qmake_executable NAMES qmake qmake.exe) --EXECUTE_PROCESS(COMMAND -- bash -c "${qmake_executable} --version | grep -iE '^using qt version [0-9.]+' | awk '{print $4}'" -- OUTPUT_VARIABLE DETECTED_QT_VERSION -- OUTPUT_STRIP_TRAILING_WHITESPACE) -+FIND_PACKAGE(Qt5Core) -+SET(DETECTED_QT_VERSION ${Qt5Core_VERSION}) - MESSAGE("qt5 version: ${DETECTED_QT_VERSION}") - IF(WIN32 OR DETECTED_QT_VERSION VERSION_LESS 5.6.0) - ADD_DEFINITIONS(-DSEAFILE_USE_WEBKIT) diff --git a/net-misc/seafile-client/seafile-client-9.0.1.ebuild b/net-misc/seafile-client/seafile-client-9.0.1.ebuild new file mode 100644 index 000000000000..dd99f3b10724 --- /dev/null +++ b/net-misc/seafile-client/seafile-client-9.0.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Upstream is moving tags repeatedly, then we use commit hash. +RELEASE_COMMIT="c72a52f34fea1ed58c977121edafdaee5c2588dd" + +inherit xdg cmake + +DESCRIPTION="Seafile desktop client" +HOMEPAGE="https://www.seafile.com/ https://github.com/haiwen/seafile-client/" +SRC_URI="https://github.com/haiwen/${PN}/archive/${RELEASE_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="shibboleth test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-db/sqlite:3 + dev-libs/glib:2 + dev-libs/jansson:= + dev-libs/openssl:= + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + >=net-libs/libsearpc-3.2.0_p1 + ~net-misc/seafile-${PV} + sys-libs/zlib + virtual/opengl + elibc_musl? ( sys-libs/fts-standalone ) + shibboleth? ( dev-qt/qtwebengine:5[widgets] )" +DEPEND="${RDEPEND} + test? ( dev-qt/qttest:5 )" +BDEPEND="dev-qt/linguist-tools:5" + +PATCHES=( + "${FILESDIR}/${PN}-8.0.6-select-qt5.patch" + "${FILESDIR}/${PN}-7.0.9-qt-5.15.patch" +) + +S="${WORKDIR}/${PN}-${RELEASE_COMMIT}" + +src_configure() { + local mycmakeargs=( + -DBUILD_SHIBBOLETH_SUPPORT="$(usex shibboleth)" + -DBUILD_TESTING="$(usex test)" + ) + # 863554 + use elibc_musl && mycmakeargs+=( -DCMAKE_CXX_STANDARD_LIBRARIES="-lfts" ) + cmake_src_configure +} diff --git a/net-misc/seafile/Manifest b/net-misc/seafile/Manifest index 992193006c31..fff025d8f7f3 100644 --- a/net-misc/seafile/Manifest +++ b/net-misc/seafile/Manifest @@ -1,7 +1,9 @@ DIST seafile-8.0.10.gh.tar.gz 749686 BLAKE2B 76c5f6e71dcf12c6950bfde17e529ea8d24efed78069d9bbc93c78f04167be371884aa069b6665afc21be5114352b7a73e5cf09d6f7f9cea6bad323c956ef254 SHA512 9ef1f01d180fe08452c39bd35683610844ff849fa261d98ac7366fde6af27886e823976f6fa2e82407fb844dcb4de8160658abd807eb1d4932e999a4ad75dd50 DIST seafile-8.0.9.gh.tar.gz 740920 BLAKE2B c62c7ccea536934a92166db5d2acea45b65f5508c1e5d4f70749c922c12d29da11bc2265203c91e87fe0096cc3f4b6ec4f6125b538a4de88725583871b05e67e SHA512 c4621ea4c08fcd9c5d4cf683152f7504c37212272b5a9535da869de846b71a7f5e9a72c5544f9b7487ad8025a6cdf2866c15788828cc27937209d8242fc13cb8 DIST seafile-9.0.0.tar.gz 749947 BLAKE2B df9e68d1ee46c03d5d7cab35f141b6e7a890e78a5864bf55b4ac2913a214e24660f57157123845b62aa72c6ad1e689d6cf53bbe6b43f44c0178a867cb0e6c78e SHA512 3ab5a62faf7210e27df58a33f790b4aaeeb5b897532ec45af283bbaf70bdf40532c8be6481ef43752fc1e646e2d8d1c890f3e039df1d058d7067e2bae99e40fb +DIST seafile-9.0.1.tar.gz 750253 BLAKE2B a076e1ee7df817a47cb2c586025be5126771baf520d66189c640138c9400d9ead04e4d8bcb98ef4071c6115b23f1e835b1cfd3772a305b730e219ffd45bc23de SHA512 69371da95cc66657a83c9fb232c6560424be31d0ddc277870b474379ce3d2dc116c43dc0ab09e4aa79badcb87bb4bfad423f5cf1b466c8dfcc31272afe81b516 EBUILD seafile-8.0.10-r3.ebuild 1610 BLAKE2B ad413b62c726a625b1e7cc7fe6475eb0d17d3ce26a2718e71c68f31be43c653e6a571f37275de2d2f0320cdd70b3ea69e7741312390d24062b6b14e5ced7eb8e SHA512 addebc6ff841f0d7575a33b324122442d7104a1485ea43ddd35d211b6afba9148f0458f4fb0fca030b247a689ec7d32f76cd60b271ee60cd069a91638b565afb EBUILD seafile-8.0.9-r1.ebuild 1575 BLAKE2B d90e189478226b3b29fd821e1ac16b181bc4ea9af48dd08ff40030751b1baf85cc87fb0a32b5582727f884d0f43475b5e556b8a5101d47c62fba183f1fb41472 SHA512 40d26ad3957f234c22ed0ef06893857b9c8ca90e12442860220a6a409ae21af78f4e3572101e790895c911c86a4b6c2b80c97581c2e6cc792014fdf796f6d43f EBUILD seafile-9.0.0.ebuild 1464 BLAKE2B 3be9f90ce39acc68a9245cf7810cb616abaf6bda06864a9493a6d473980177b742d915ba452768326bb06608ba9decde6f00b27c651a16e5f1a08d8c1ba1a83f SHA512 203eac4e732fcdebf8ace570e54bcdc68292ffa85d5188fca34afb230cfc8e71e02a2aaf38c09b52f3550fce695ca2e55bb3bcc397d74336212fef99ff1db9f3 +EBUILD seafile-9.0.1.ebuild 1464 BLAKE2B c4edb8c83fab27d52c972155a27a93ed0a93133f11461c8dae2b6763cea112be3987a24fd795cbc22a1dc7efbd13036253b351f1fe435467981513c388ebe112 SHA512 e669c7b7f4e8b10dbc1d0a30a3cbc6f17d89ce8da854c77e25d2f1b4305510b2f82e58c40442bbe836765ef11c42bf24e89eb8b78198fbba0c3ad556ea8cbc65 MISC metadata.xml 478 BLAKE2B 2c1506537c1d19f3aa9f731cecf2f53181bdfb92c33d3100e8338e778e222b396ebfd5c7f5745e133583615ca61be625787792d39d3772cede50f8b923ab1a4f SHA512 20620dd548eec869bb219011b157d821cc3fd939602d2662c26e1148582c2a593375b36085fae939880e01d76a251e91f35b9ad657cbad0a1e27bdfdc46b932c diff --git a/net-misc/seafile/seafile-9.0.1.ebuild b/net-misc/seafile/seafile-9.0.1.ebuild new file mode 100644 index 000000000000..344085961b58 --- /dev/null +++ b/net-misc/seafile/seafile-9.0.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +# Upstream is moving tags repeatedly, then we use commit hash. +RELEASE_COMMIT="7405ce29a9f84493254c8aeef02d34f970961eb9" + +inherit autotools python-single-r1 vala + +DESCRIPTION="File syncing and sharing software with file encryption and group sharing" +HOMEPAGE="https://www.seafile.com/ https://github.com/haiwen/seafile/" +SRC_URI="https://github.com/haiwen/${PN}/archive/${RELEASE_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+-with-openssl-exception" +SLOT="0" +KEYWORDS="~amd64 ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/future[${PYTHON_USEDEP}] + ') + dev-libs/openssl:= + dev-db/sqlite:3 + dev-libs/glib:2 + dev-libs/jansson:= + dev-libs/libevent:= + net-libs/libsearpc[${PYTHON_SINGLE_USEDEP}] + net-libs/libwebsockets[client] + net-misc/curl + sys-apps/util-linux + sys-libs/zlib + elibc_musl? ( sys-libs/fts-standalone )" +DEPEND="${RDEPEND}" +BDEPEND="${PYTHON_DEPS} + $(vala_depend)" + +S="${WORKDIR}/${PN}-${RELEASE_COMMIT}" + +pkg_setup() { + python-single-r1_pkg_setup + vala_setup +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-static + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + # Remove unnecessary .la files + find "${ED}" -name '*.la' -delete || die + python_fix_shebang "${ED}"/usr/bin/seaf-cli +} |