aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-client/lagrange/Manifest4
-rw-r--r--net-client/lagrange/lagrange-1.18.3.ebuild (renamed from net-client/lagrange/lagrange-1.17.6.ebuild)36
2 files changed, 24 insertions, 16 deletions
diff --git a/net-client/lagrange/Manifest b/net-client/lagrange/Manifest
index 3cd50f3dc..092aad9a1 100644
--- a/net-client/lagrange/Manifest
+++ b/net-client/lagrange/Manifest
@@ -1,4 +1,4 @@
-DIST lagrange-1.17.6.tar.gz 10212490 BLAKE2B 1e1569fbdbfbec23af0e15ce44311851686e629a7e2a10365abdcdea91dc81edb2a8c6a28dd32c1049c169d2e6604216da6c8ddfa57b0e534265f2b1a5b1404b SHA512 d5f03d995557c676b9b540315c1cfb636f72382928d98a3e6f8d516295658a656a253fdc05327fe78b5a7d30121677a257e4fbfa0bcaa6b4bc2cf9ef617d8f32
-DIST lagrange-1.17.6.tar.gz.sig 488 BLAKE2B 497e27ed3b22dbc8a39859d81a515bca05352fb9b9a47e24752264053963c23e635623124dc2b7b4b21dcdfdbf1324e0eb8295fb8cda99efa4df9ef5f758eea1 SHA512 6d51665ce18c6bf488ad62822d8df648b1a0d6e1a512a304599642bfabb116f020beb71529c02b573a32e8fb276238c31f345016865882541adf374ccac36005
DIST lagrange-1.18.0.tar.gz 10259982 BLAKE2B 41dbf36b9e2f6ba775ac5034230aac57ff7adbcf13eec34d226fe05a09133108465948c4df37e9b647dc1e30b57dd7d874a2a06f797d273381ccaef9f4e85485 SHA512 29f7e100f817c22a739ac6149ba59bc9271a834ae1f61586e4f2163137c562407d6af72c9ef2e07e37c0462662a6466a3f208d0213b4b2e2b3c8df76e61dd177
DIST lagrange-1.18.0.tar.gz.sig 488 BLAKE2B 5fe97e8f97fff8fc4f683af43c5551ed68fbc8f6b653a738fbe88941a82ef4dc3998ffae4272fa3b5904ddc0cdd3f2cad6a6dc880a427093616b03af9d82c903 SHA512 69f49fe42f22f7c20f8f939a46e638513542ed45392099eb2d06e96c03e28d8788c0889f400240178871ae4e090d3d4df8dc824aa09461fee7c6f309cdd7bc8c
+DIST lagrange-1.18.3.tar.gz 10278835 BLAKE2B b030d0c1dcd23949ac9d4b9735ad3f6ecdc7eafaa55fec2600070fe56afcb94bd93d00a7d3070b8684395cad4ea3264ae3897e1db3e8bb7a52af66f983e5c11f SHA512 07e58ecc1ec381ab3338a3a860484a61c95a110bc7ff28b9b2b522514adc35f1ccbe0d59709d34b3bcefbb528da10712ed6eb1cd36a5762ac9df98294df7abd1
+DIST lagrange-1.18.3.tar.gz.sig 488 BLAKE2B c4895330b84e6c825005aef49e06a5bc10fc7679c1e95d7351c89cf9b53c52164860ec204c4300eee46c4ec0442eecbae47f05096d14f6fd3d659f3a71d5df79 SHA512 be20bbc19b3a3c65d490b7887b2ebaf824ab4095a91f4802ecb4da84a77258c6dff09b9d53410191f0d0cb0ea62314de16dcf4a0e8270d35474953edfb53ec92
diff --git a/net-client/lagrange/lagrange-1.17.6.ebuild b/net-client/lagrange/lagrange-1.18.3.ebuild
index f3f65fcff..601ed1afa 100644
--- a/net-client/lagrange/lagrange-1.17.6.ebuild
+++ b/net-client/lagrange/lagrange-1.18.3.ebuild
@@ -13,45 +13,53 @@ SRC_URI="https://git.skyjake.fi/gemini/${PN}/releases/download/v${PV}/${P}.tar.g
LICENSE="|| ( MIT Unlicense ) Apache-2.0 BSD-2 CC-BY-SA-4.0 OFL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="X +bidi debug gui +harfbuzz mp3 webp"
+IUSE="X +bidi debug +gui +harfbuzz mp3 ncurses opus webp"
+REQUIRED_USE="|| ( gui ncurses )"
RDEPEND="
- >=dev-libs/tfdn-1.7.0:=[ssl]
- X? ( x11-libs/libX11 )
- bidi? ( dev-libs/fribidi )
+ >=dev-libs/tfdn-1.9.0:=[ssl]
+ media-libs/libsdl2[X?,sound(+),video(+)]
gui? (
+ X? ( x11-libs/libX11 )
+ bidi? ( dev-libs/fribidi )
harfbuzz? ( media-libs/harfbuzz:=[truetype(+)] )
- media-libs/libsdl2[X?,sound(+),video(+)]
+ mp3? ( media-sound/mpg123-base )
+ opus? ( media-libs/opusfile )
+ webp? ( media-libs/libwebp:= )
)
- !gui? ( >=dev-libs/sealcurses-2.0.18_pre20230206:= )
- mp3? ( media-sound/mpg123-base )
- webp? ( media-libs/libwebp:= )
+ ncurses? ( >=dev-libs/sealcurses-2.0.18_pre20230206:= )
"
DEPEND="${RDEPEND}
- X? ( x11-base/xorg-proto )
+ gui? (
+ X? ( x11-base/xorg-proto )
+ )
"
BDEPEND="
app-arch/zip
+ virtual/pkgconfig
verify-sig? ( sec-keys/openpgp-keys-skyjake )
"
VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/skyjake.asc"
src_prepare() {
- # checked by Depends.cmake
- rm -r lib/the_Foundation/CMakeLists.txt || die
+ # remove libs that can be accidentally built by Depends.cmake
+ mv lib never-build-bundled-libs || die
cmake_src_prepare
}
src_configure() {
- # note: do not add use flags that don't pull dependencies
- # and only choose which files to compile (e.g. "ipc")
local -a mycmakeargs=(
+ -DENABLE_GUI=$(usex gui)
+ -DENABLE_TUI=$(usex ncurses)
+
+ # note: do not add use flags that don't pull dependencies
+ # and only choose which files to compile (e.g. "ipc")
-DENABLE_FRIBIDI=$(usex bidi)
-DENABLE_HARFBUZZ=$(usex harfbuzz)
- -DENABLE_TUI=$(usex !gui)
-DENABLE_MPG123=$(usex mp3)
+ -DENABLE_OPUS=$(usex opus)
-DENABLE_WEBP=$(usex webp)
-DENABLE_X11_XLIB=$(usex X)