mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
Merge updates from master
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
DIST weston-14.0.2.tar.xz 2043392 BLAKE2B 5ba3a563925d966adf1fdb5f7e00f90ad0b27b0fdb3781f055f17f01e75ff234f9103529bd8a24d440047ec654db91f8f264da6228410dd2b668138ad458f6ae SHA512 e8214ec893e6c3ae94eb3c92feba104b0201843e9143f726a3e9a4d396d02523c94da706c1348cf934bc339fb1a4bc1fecdb865f0ea914115fd346d9eda091f5
|
||||
DIST weston-15.0.1.tar.xz 3324344 BLAKE2B db73348e230f7848e7f587f6bbb251202faf5b0b161c86b694174894a2ee80cc5d0f996fd4d2b6438b51738fc7353eabfb9d1603102f0946c080c2d15746582f SHA512 555731ddfaf7e3ef9bf43be682e20338ee207b434a72011b730c9b0ebde4daeaeb9cc9d09a707c32798f0184a55144f64e818551efe7e71413876e45e3cb3523
|
||||
DIST weston-15.0.93.tar.xz 3418696 BLAKE2B 4cf199b14560d82361a3d1a15f88ba36d565ba1784297c877c87cf9b67c3b6af41268fe65fb9ed75b78d290f9faebd0f995dca2dd64aacd919a2e41bbec4e733 SHA512 37da8ecac575e3d78622fd8d00fe73b9a5a3f04d0c02c5554ec4e6602a9575099ddd5d9f7a54fb63541ec1b7cdb81492181ea7cd4a94dc1e8fc7ac53ce1e2e19
|
||||
DIST weston-16.0.0.tar.xz 3418720 BLAKE2B fbc38f822903094edf182c4aaffe8a21c9a615e1f3962f4a79f71876dfaa905901dfe2c8c1f845404b14ca57b7f2c6892c766d6cbb37223c854c9e98e5d5240b SHA512 23b7a1138833f8aacc57758231d14c2f1bc9ec20ad2fef125ffffb8d63853968e8a8ed2d8bbf6ad1600d7f40358a705ca24838a683e01b1c84279cf8ae1cfe48
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
DIST pythontex-0.18_p20251112.tar.gz 1808282 BLAKE2B 25265a10716b3a409f8998b73e9011897932730d983796d98cb0c354fc432134a2f987f6c803ff389d43073de1022e7b812087e666d5ade51651c9f3aa474232 SHA512 e29082f885c2183b1243bf3d4525ab0bede4d14d80fc90df1f10fbbf29f0cfcdb4b03e8124209491a3bcfd5cf022abc81f6a573d818db0a4e187bb0b130c379b
|
||||
DIST pythontex-0.19.tar.gz 1818996 BLAKE2B a17d63b15e036f7abf5eefa368ceecd0c32e4468ba05f9c3b5be0e2c4e18364e68613679d327b77d458f1c813e2e7b686991dab9e97d340afc2a8c8f16369807 SHA512 e7e90de43fe3d405c78b01277429c465bf8496c563635f8d1d5f289d3d4a5b3a5a34ca4090a3d3b4a30b21f73fee5330f6380f6a228b4b7292deed4aa78bfe34
|
||||
|
||||
52
dev-tex/pythontex/pythontex-0.19.ebuild
Normal file
52
dev-tex/pythontex/pythontex-0.19.ebuild
Normal file
@@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit latex-package python-r1
|
||||
|
||||
DESCRIPTION="Fast Access to Python from within LaTeX"
|
||||
HOMEPAGE="https://github.com/gpoore/pythontex"
|
||||
SRC_URI="https://github.com/gpoore/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LPPL-1.3 BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~riscv ~x86"
|
||||
IUSE="doc highlighting"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
>=dev-texlive/texlive-latexextra-2023
|
||||
dev-tex/pgf
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
TEXMF=/usr/share/texmf-site
|
||||
|
||||
src_compile() {
|
||||
cd ${PN} || die
|
||||
rm ${PN}.sty || die
|
||||
VARTEXFONTS="${T}/fonts" latex ${PN}.ins extra || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc *rst
|
||||
use doc && dodoc ${PN}_quickstart/*pdf ${PN}/*pdf
|
||||
|
||||
cd ${PN} || die
|
||||
|
||||
installation() {
|
||||
python_domodule {de,}${PN}3.py
|
||||
python_domodule ${PN}_{engines,utils}.py
|
||||
python_doscript {de,}${PN}.py syncpdb.py
|
||||
python_optimize
|
||||
}
|
||||
python_foreach_impl installation
|
||||
|
||||
latex-package_src_doinstall sty
|
||||
}
|
||||
@@ -1,2 +1 @@
|
||||
DIST odamex-src-12.2.0.tar.xz 29556076 BLAKE2B c40408622a9a251e316941bd213854adb3a1488ed9d2aaaafa861a89077b0322d45185f75760f431ce33d0b3920a0cc0d9fcf5e8df456703b135d40ce5b49fcd SHA512 123e9d64fd3c71f900a05b0f9d8e6fb6bdb95a38dea4c6bc9b2a7d190888e71a272579d25281d7cb34ff7bb13524523beca3836d35ee82860f667474b2855c05
|
||||
DIST odamex-src-12.2.1.tar.xz 29756928 BLAKE2B 1e245e4d52355fa4a4068b94f571e315cb84af4906ec097639a6b4f30f4d18aee99f275ef05e4f733141b4adcff77dda499acb219f20306458550825a40cd5a2 SHA512 1e2452648a170960082408f55b6b119cc2cf7e9a82550af49ffb8cad6c87ea7166a49918198f0ac119f9d77da35136c75561a5be4aef10ee794b15390df98595
|
||||
|
||||
@@ -1,154 +0,0 @@
|
||||
From b4d182c34c1099ae3977be59aee4bbc72514df6e Mon Sep 17 00:00:00 2001
|
||||
From: James Le Cuirot <chewi@gentoo.org>
|
||||
Date: Sat, 18 Apr 2026 10:23:31 +0100
|
||||
Subject: [PATCH 1/3] Fix bad cmake_dependent_option syntax
|
||||
|
||||
This wasn't behaving as intended.
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -53,12 +53,12 @@ option(USE_LTO "Build Release builds with Link Time Optimization" 1)
|
||||
option(ODAMEX_INSTALL_BINDIR "Smart default for bin dir location" "/usr/local/bin")
|
||||
option(ODAMEX_INSTALL_DATADIR "Smart default for data dir location" "/usr/local/share")
|
||||
option(USE_EXTERNAL_LIBDWARF "Use external libdwarf for cpptrace" 0)
|
||||
-cmake_dependent_option( USE_INTERNAL_ZLIB "Use internal zlib" ${USE_INTERNAL_LIBS} BUILD_CLIENT OR BUILD_SERVER 0 )
|
||||
-cmake_dependent_option( USE_INTERNAL_ZSTD "Use internal zstd" ${USE_INTERNAL_LIBS} BUILD_CLIENT OR BUILD_SERVER 0 )
|
||||
+cmake_dependent_option( USE_INTERNAL_ZLIB "Use internal zlib" ${USE_INTERNAL_LIBS} "BUILD_CLIENT OR BUILD_SERVER" 0 )
|
||||
+cmake_dependent_option( USE_INTERNAL_ZSTD "Use internal zstd" ${USE_INTERNAL_LIBS} "BUILD_CLIENT OR BUILD_SERVER" 0 )
|
||||
cmake_dependent_option( USE_INTERNAL_PNG "Use internal libpng" ${USE_INTERNAL_LIBS} BUILD_CLIENT 0 )
|
||||
cmake_dependent_option( USE_INTERNAL_CURL "Use internal libcurl" ${USE_INTERNAL_LIBS} BUILD_CLIENT 0 )
|
||||
-cmake_dependent_option( USE_INTERNAL_JSONCPP "Use internal JsonCpp" 1 BUILD_CLIENT OR BUILD_SERVER 0 )
|
||||
-cmake_dependent_option( USE_INTERNAL_CPPTRACE "Use internal cpptrace" 1 BUILD_CLIENT OR BUILD_SERVER 0 )
|
||||
+cmake_dependent_option( USE_INTERNAL_JSONCPP "Use internal JsonCpp" 1 "BUILD_CLIENT OR BUILD_SERVER" 0 )
|
||||
+cmake_dependent_option( USE_INTERNAL_CPPTRACE "Use internal cpptrace" 1 "BUILD_CLIENT OR BUILD_SERVER" 0 )
|
||||
cmake_dependent_option( USE_INTERNAL_FLTK "Use internal FLTK" 1 BUILD_CLIENT 0 )
|
||||
cmake_dependent_option( USE_INTERNAL_WXWIDGETS "Use internal wxWidgets" ${USE_INTERNAL_LIBS} BUILD_LAUNCHER 0 )
|
||||
cmake_dependent_option( ENABLE_PORTMIDI "Enable portmidi support" 1 BUILD_CLIENT 0 )
|
||||
--
|
||||
2.53.0
|
||||
|
||||
|
||||
From 91e3c98eb591680f2f13719104d12ee260fc6bf0 Mon Sep 17 00:00:00 2001
|
||||
From: James Le Cuirot <chewi@gentoo.org>
|
||||
Date: Sat, 18 Apr 2026 10:24:19 +0100
|
||||
Subject: [PATCH 2/3] Fix test dependencies in CMake
|
||||
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -53,12 +53,12 @@ option(USE_LTO "Build Release builds with Link Time Optimization" 1)
|
||||
option(ODAMEX_INSTALL_BINDIR "Smart default for bin dir location" "/usr/local/bin")
|
||||
option(ODAMEX_INSTALL_DATADIR "Smart default for data dir location" "/usr/local/share")
|
||||
option(USE_EXTERNAL_LIBDWARF "Use external libdwarf for cpptrace" 0)
|
||||
-cmake_dependent_option( USE_INTERNAL_ZLIB "Use internal zlib" ${USE_INTERNAL_LIBS} "BUILD_CLIENT OR BUILD_SERVER" 0 )
|
||||
-cmake_dependent_option( USE_INTERNAL_ZSTD "Use internal zstd" ${USE_INTERNAL_LIBS} "BUILD_CLIENT OR BUILD_SERVER" 0 )
|
||||
+cmake_dependent_option( USE_INTERNAL_ZLIB "Use internal zlib" ${USE_INTERNAL_LIBS} "BUILD_CLIENT OR BUILD_SERVER OR BUILD_TESTS" 0 )
|
||||
+cmake_dependent_option( USE_INTERNAL_ZSTD "Use internal zstd" ${USE_INTERNAL_LIBS} "BUILD_CLIENT OR BUILD_SERVER OR BUILD_TESTS" 0 )
|
||||
cmake_dependent_option( USE_INTERNAL_PNG "Use internal libpng" ${USE_INTERNAL_LIBS} BUILD_CLIENT 0 )
|
||||
-cmake_dependent_option( USE_INTERNAL_CURL "Use internal libcurl" ${USE_INTERNAL_LIBS} BUILD_CLIENT 0 )
|
||||
-cmake_dependent_option( USE_INTERNAL_JSONCPP "Use internal JsonCpp" 1 "BUILD_CLIENT OR BUILD_SERVER" 0 )
|
||||
-cmake_dependent_option( USE_INTERNAL_CPPTRACE "Use internal cpptrace" 1 "BUILD_CLIENT OR BUILD_SERVER" 0 )
|
||||
+cmake_dependent_option( USE_INTERNAL_CURL "Use internal libcurl" ${USE_INTERNAL_LIBS} "BUILD_CLIENT OR BUILD_TESTS" 0 )
|
||||
+cmake_dependent_option( USE_INTERNAL_JSONCPP "Use internal JsonCpp" 1 "BUILD_CLIENT OR BUILD_SERVER OR BUILD_TESTS" 0 )
|
||||
+cmake_dependent_option( USE_INTERNAL_CPPTRACE "Use internal cpptrace" 1 "BUILD_CLIENT OR BUILD_SERVER OR BUILD_TESTS" 0 )
|
||||
cmake_dependent_option( USE_INTERNAL_FLTK "Use internal FLTK" 1 BUILD_CLIENT 0 )
|
||||
cmake_dependent_option( USE_INTERNAL_WXWIDGETS "Use internal wxWidgets" ${USE_INTERNAL_LIBS} BUILD_LAUNCHER 0 )
|
||||
cmake_dependent_option( ENABLE_PORTMIDI "Enable portmidi support" 1 BUILD_CLIENT 0 )
|
||||
--- a/libraries/CMakeLists.txt
|
||||
+++ b/libraries/CMakeLists.txt
|
||||
@@ -139,7 +139,7 @@ target_include_directories(tinylibs INTERFACE . "tinylibs/include")
|
||||
|
||||
### minilzo ###
|
||||
|
||||
-if(BUILD_CLIENT OR BUILD_SERVER)
|
||||
+if(BUILD_CLIENT OR BUILD_SERVER OR BUILD_TESTS)
|
||||
message(STATUS "Compiling minilzo...")
|
||||
add_library(minilzo STATIC
|
||||
"minilzo/lzoconf.h" "minilzo/lzodefs.h" "minilzo/minilzo.c" "minilzo/minilzo.h")
|
||||
--- a/libraries/cpptrace-lib.cmake
|
||||
+++ b/libraries/cpptrace-lib.cmake
|
||||
@@ -1,6 +1,6 @@
|
||||
### cpptrace ###
|
||||
|
||||
-if(BUILD_CLIENT OR BUILD_SERVER)
|
||||
+if(BUILD_CLIENT OR BUILD_SERVER OR BUILD_TESTS)
|
||||
if(USE_INTERNAL_CPPTRACE)
|
||||
if(USE_INTERNAL_ZSTD)
|
||||
set(CPPTRACE_USE_EXTERNAL_ZSTD OFF)
|
||||
--- a/libraries/curl-lib.cmake
|
||||
+++ b/libraries/curl-lib.cmake
|
||||
@@ -1,6 +1,6 @@
|
||||
### libcurl ###
|
||||
|
||||
-if(BUILD_CLIENT)
|
||||
+if(BUILD_CLIENT OR BUILD_TESTS)
|
||||
if(USE_INTERNAL_CURL)
|
||||
# [AM] Don't put an early return in this block, otherwise you run the risk
|
||||
# of changes in the build cache not percolating down to the library.
|
||||
--- a/libraries/fmt-lib.cmake
|
||||
+++ b/libraries/fmt-lib.cmake
|
||||
@@ -1,6 +1,6 @@
|
||||
### fmtlib ###
|
||||
|
||||
-if(BUILD_CLIENT OR BUILD_SERVER)
|
||||
+if(BUILD_CLIENT OR BUILD_SERVER OR BUILD_TESTS)
|
||||
message(STATUS "Compiling {fmt}...")
|
||||
|
||||
lib_buildgen(
|
||||
--- a/libraries/protobuf-lib.cmake
|
||||
+++ b/libraries/protobuf-lib.cmake
|
||||
@@ -1,6 +1,6 @@
|
||||
### Protocol Buffers ###
|
||||
|
||||
-if(BUILD_CLIENT OR BUILD_SERVER)
|
||||
+if(BUILD_CLIENT OR BUILD_SERVER OR BUILD_TESTS)
|
||||
set(_PROTOBUF_BUILDGEN_PARAMS
|
||||
"-Dprotobuf_BUILD_SHARED_LIBS=OFF"
|
||||
"-Dprotobuf_BUILD_TESTS=OFF"
|
||||
--- a/libraries/zlib-lib.cmake
|
||||
+++ b/libraries/zlib-lib.cmake
|
||||
@@ -1,6 +1,6 @@
|
||||
### zlib ###
|
||||
|
||||
-if(BUILD_CLIENT OR BUILD_SERVER)
|
||||
+if(BUILD_CLIENT OR BUILD_SERVER OR BUILD_TESTS)
|
||||
if(USE_INTERNAL_ZLIB)
|
||||
message(STATUS "Compiling internal ZLIB...")
|
||||
|
||||
--
|
||||
2.53.0
|
||||
|
||||
|
||||
From 2d5f1929dde1be6782c25f4fa0c4de24f42bdfc4 Mon Sep 17 00:00:00 2001
|
||||
From: James Le Cuirot <chewi@gentoo.org>
|
||||
Date: Sat, 18 Apr 2026 10:26:22 +0100
|
||||
Subject: [PATCH 3/3] Add USE_INTERNAL_GTEST CMake options
|
||||
|
||||
Distributions will want to run these tests but will not want to build
|
||||
GoogleTest yet again. It is widely available and highly compatible.
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -61,6 +61,7 @@ cmake_dependent_option( USE_INTERNAL_JSONCPP "Use internal JsonCpp" 1 "BUILD_CLI
|
||||
cmake_dependent_option( USE_INTERNAL_CPPTRACE "Use internal cpptrace" 1 "BUILD_CLIENT OR BUILD_SERVER OR BUILD_TESTS" 0 )
|
||||
cmake_dependent_option( USE_INTERNAL_FLTK "Use internal FLTK" 1 BUILD_CLIENT 0 )
|
||||
cmake_dependent_option( USE_INTERNAL_WXWIDGETS "Use internal wxWidgets" ${USE_INTERNAL_LIBS} BUILD_LAUNCHER 0 )
|
||||
+cmake_dependent_option( USE_INTERNAL_GTEST "Use internal GoogleTest" 1 BUILD_TESTS 0 )
|
||||
cmake_dependent_option( ENABLE_PORTMIDI "Enable portmidi support" 1 BUILD_CLIENT 0 )
|
||||
cmake_dependent_option( USE_MINIUPNP "Build with UPnP support" 1 BUILD_SERVER 0 )
|
||||
cmake_dependent_option( USE_INTERNAL_MINIUPNP "Use internal MiniUPnP" 1 USE_MINIUPNP 0 )
|
||||
@@ -190,8 +191,12 @@ if(BUILD_SERVER)
|
||||
add_subdirectory(server)
|
||||
endif()
|
||||
if(BUILD_TESTS)
|
||||
- set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
|
||||
- add_subdirectory(libraries/googletest)
|
||||
+ if(USE_INTERNAL_GTEST)
|
||||
+ set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
|
||||
+ add_subdirectory(libraries/googletest)
|
||||
+ else()
|
||||
+ find_package(GTest REQUIRED)
|
||||
+ endif()
|
||||
add_subdirectory(tests/unit-tests)
|
||||
endif()
|
||||
if(BUILD_MASTER)
|
||||
--
|
||||
2.53.0
|
||||
|
||||
@@ -1,115 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
WX_GTK_VER="3.2-gtk3"
|
||||
|
||||
inherit cmake desktop prefix python-any-r1 wxwidgets xdg
|
||||
|
||||
DESCRIPTION="Online multiplayer free software engine for DOOM"
|
||||
HOMEPAGE="https://odamex.net/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${PN}-src-${PV}.tar.xz"
|
||||
S="${WORKDIR}/${PN}-src-${PV}"
|
||||
LICENSE="GPL-2+ MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
IUSE="+client master +odalaunch portmidi server test upnp"
|
||||
REQUIRED_USE="|| ( client master server )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# protobuf is still bundled. Unfortunately an old version is required for C++98
|
||||
# compatibility. We could use C++11, but upstream is concerned about using a
|
||||
# completely different protobuf version on a multiplayer-focused engine.
|
||||
|
||||
RDEPEND="
|
||||
client? (
|
||||
dev-cpp/cpptrace
|
||||
dev-libs/jsoncpp:=
|
||||
media-libs/libpng:0=
|
||||
media-libs/libsdl2[joystick,sound,video]
|
||||
media-libs/sdl2-mixer
|
||||
net-misc/curl
|
||||
>=x11-libs/fltk-1.4.3-r1:1=
|
||||
x11-libs/libX11
|
||||
portmidi? ( media-libs/portmidi )
|
||||
)
|
||||
odalaunch? (
|
||||
x11-libs/wxGTK:${WX_GTK_VER}=
|
||||
)
|
||||
server? (
|
||||
dev-libs/jsoncpp:=
|
||||
virtual/zlib:=
|
||||
upnp? ( net-libs/miniupnpc:= )
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-cpp/cpptrace
|
||||
dev-libs/jsoncpp
|
||||
net-misc/curl
|
||||
virtual/zlib
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-cmake-tests.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# All this is unneeded and includes old CMake declarations.
|
||||
rm -r libraries/{cpptrace,curl,fltk,googletest,jsoncpp,libadlmidi/android,libpng,miniupnp,portmidi,protobuf/{examples,third_party},zlib}/ || die
|
||||
|
||||
cmake_src_prepare
|
||||
hprefixify common/d_main.cpp
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use odalaunch && setup-wxwidgets
|
||||
|
||||
local mycmakeargs=(
|
||||
-DUSE_INTERNAL_CPPTRACE=0
|
||||
-DUSE_INTERNAL_FLTK=0
|
||||
-DUSE_INTERNAL_GTEST=0
|
||||
-DUSE_INTERNAL_JSONCPP=0
|
||||
-DUSE_INTERNAL_LIBS=0
|
||||
-DUSE_INTERNAL_MINIUPNP=0
|
||||
-DBUILD_CLIENT=$(usex client)
|
||||
-DBUILD_LAUNCHER=$(usex odalaunch)
|
||||
-DBUILD_MASTER=$(usex master)
|
||||
-DBUILD_SERVER=$(usex server)
|
||||
-DBUILD_TESTS=$(usex test)
|
||||
-DBUILD_OR_FAIL=1
|
||||
-DENABLE_PORTMIDI=$(usex portmidi)
|
||||
-DUSE_MINIUPNP=$(usex upnp)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use client ; then
|
||||
for size in 96 128 256 512; do
|
||||
newicon -s ${size} "${S}/media/icon_${PN}_${size}.png" "${PN}.png"
|
||||
done
|
||||
make_desktop_entry "${PN}" "Odamex"
|
||||
|
||||
if use odalaunch ; then
|
||||
for size in 96 128 256 512; do
|
||||
newicon -s ${size} "${S}/media/icon_odalaunch_${size}.png" "odalaunch.png"
|
||||
done
|
||||
make_desktop_entry odalaunch "Odamex Launcher" odalaunch
|
||||
fi
|
||||
fi
|
||||
|
||||
cmake_src_install
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${BUILD_DIR}"/tests/unit-tests/odagtest || die
|
||||
}
|
||||
@@ -36,7 +36,7 @@ RDEPEND="
|
||||
portmidi? ( media-libs/portmidi )
|
||||
)
|
||||
odalaunch? (
|
||||
x11-libs/wxGTK:${WX_GTK_VER}=
|
||||
x11-libs/wxGTK:${WX_GTK_VER}=[curl]
|
||||
)
|
||||
server? (
|
||||
dev-libs/jsoncpp:=
|
||||
|
||||
@@ -1,3 +1 @@
|
||||
DIST deskflow-1.24.0.tar.gz 1848123 BLAKE2B fe8a8f9917cf583deb9f49f8e669735612a3968c666924b500846f48f2f7eb97adee542f8a9ed0030123217e71f6ecdf008c672fab70b483a80e5d7bc87f790e SHA512 fce477239d5aa11d20c95ba43a97e36b58c5548db40035557c73f295650a0f08c862a867cccfdd39f7a0594c1207d2ab17b982212c7f0cd5182e7db4ab0b7e48
|
||||
DIST deskflow-1.25.0.tar.gz 1291356 BLAKE2B 1e262ce2a11b8ff15d4733f6d5004810af478f12216c16be2ebb7bf58a8fd2397c0560b7e27e6ed68a3e3d3bf99c88104fda0019934528bdde1daf192343a33f SHA512 a9fa7deea2d1ec38932cf36a32ee788f86713bc0a7ac0e2d4078f600eb004dad0557666dac079f4c3d3228fc8c4f195c6f387c1aec5504538b039385c9490887
|
||||
DIST deskflow-1.26.0.tar.gz 1306972 BLAKE2B 09eee3ccfab32ade944f912b3b1025641067b799181e1a9f95e73cec13beacd9c7c11906ad3398b86bfa2a749f20ee97ae9f95c08379c3b69bf59c3ec1162c26 SHA512 419eccd26ae9199d6f98167e3e97c1de44e316b1b3b49d7318cf323e9955934e5ee6c4c5175ec05fc6410e5aeacae619406a98d6084a11643b24220179eb7cec
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake virtualx xdg
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/deskflow/deskflow.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/deskflow/deskflow/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Share a mouse and keyboard between computers (FOSS version of Synergy)"
|
||||
HOMEPAGE="https://github.com/deskflow/deskflow"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="gui test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-cpp/tomlplusplus
|
||||
dev-libs/glib:2
|
||||
>=dev-libs/libei-0.99.1
|
||||
dev-libs/libportal:=
|
||||
dev-libs/openssl:0=
|
||||
dev-qt/qtbase:6[dbus,network,xml]
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libxkbfile
|
||||
gui? (
|
||||
dev-qt/qtbase:6[gui,widgets]
|
||||
)
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXi
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXtst
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-cpp/cli11
|
||||
x11-base/xorg-proto
|
||||
test? ( dev-cpp/gtest )
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
gui? ( dev-qt/qttools:6[linguist] )
|
||||
"
|
||||
|
||||
DOCS=(
|
||||
README.md
|
||||
doc/user/configuration.md
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_GUI=$(usex gui)
|
||||
-DBUILD_TESTS=$(usex test)
|
||||
$(usex test -DSKIP_BUILD_TESTS=ON "")
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${BUILD_DIR}"/bin/legacytests || die
|
||||
BUILD_DIR+=/src/unittests virtx cmake_src_test
|
||||
}
|
||||
@@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake virtualx xdg
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/deskflow/deskflow.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/deskflow/deskflow/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Share a mouse and keyboard between computers (FOSS version of Synergy)"
|
||||
HOMEPAGE="https://github.com/deskflow/deskflow"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="test X"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
>=dev-libs/libei-0.99.1
|
||||
dev-libs/libportal:=
|
||||
dev-libs/openssl:0=
|
||||
dev-qt/qtbase:6[dbus,gui,network,widgets,xml]
|
||||
x11-libs/libxkbcommon
|
||||
X? (
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXi
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXtst
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? ( dev-cpp/gtest )
|
||||
X? ( x11-base/xorg-proto )
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
dev-qt/qttools:6[linguist]
|
||||
"
|
||||
|
||||
DOCS=(
|
||||
README.md
|
||||
doc/user/configuration.md
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TESTS=$(usex test)
|
||||
-DBUILD_X11_SUPPORT=$(usex X)
|
||||
$(usex test -DSKIP_BUILD_TESTS=ON "")
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${BUILD_DIR}"/bin/legacytests || die
|
||||
BUILD_DIR+=/src/unittests virtx cmake_src_test
|
||||
}
|
||||
@@ -1,2 +1,3 @@
|
||||
DIST volk-3.1.2.tar.xz 381388 BLAKE2B c67049921cf0817ff263ae3b0b14b2939e69e461fa731b47f0f923ebe730e67a8715f20738b1991fc9956abd12eccfa50a421460feef12e7678d26a25d73acce SHA512 6fd99b037e2c2481f4886a70021403a8641567a0c0280496194da7ef1b8cf7dbecf91d5bfc1b1c3449788de360206bae5036d796a01bbec211ccf9ccbbc357ee
|
||||
DIST volk-3.2.0.tar.xz 399816 BLAKE2B c0cd75f4eb6904c853c9e018777da6a6c17aaa9f73c5656ca5fd330cd5dbcedbf83fc229db9ec0245c5dd0d3b0db6bd652207e3f5bcb7325436cbd2cf8765dd8 SHA512 3142871fe5b06dccd7c3ad399875ad5bbb771e11168f0a146e5a808974c3dcc5de0d6f23c0b72a26389a5f509f47d47146ce18229225737a0c3cd142a6cce61b
|
||||
DIST volk-3.3.0.tar.xz 438216 BLAKE2B 38a1bfe03ce3c4f602ac6645f6f9af42fde272f905ddfb9b38b3da005b9dcd7af0ff3c78eb2ce9b93d5b4c236518ae7f86d04dfc9ed7e6f712b9231f1fd01d13 SHA512 cc8d45138dc23668dd3fd50c5b7c9aaf7aa2ecdba1325c896169770b61e6d9cebf6b97382c1d7e71d75af1b13a1f73689d17dad25080046393cfd8becdce5320
|
||||
|
||||
@@ -5,6 +5,10 @@
|
||||
<email>zerochaos@gentoo.org</email>
|
||||
<name>Rick Farina</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>radio@gentoo.org</email>
|
||||
<name>Radio</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">gnuradio/volk</remote-id>
|
||||
</upstream>
|
||||
|
||||
59
sci-libs/volk/volk-3.3.0.ebuild
Normal file
59
sci-libs/volk/volk-3.3.0.ebuild
Normal file
@@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..14} )
|
||||
|
||||
#https://github.com/gnuradio/volk/issues/383
|
||||
CMAKE_BUILD_TYPE="None"
|
||||
inherit cmake python-single-r1
|
||||
|
||||
DESCRIPTION="vector optimized library of kernels"
|
||||
HOMEPAGE="http://libvolk.org"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/gnuradio/volk.git"
|
||||
else
|
||||
SRC_URI="https://github.com/gnuradio/volk/releases/download/v${PV}/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm ~riscv ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
IUSE="orc test"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/libfmt
|
||||
orc? ( dev-lang/orc )"
|
||||
DEPEND="${RDEPEND}
|
||||
$(python_gen_cond_dep 'dev-python/mako[${PYTHON_USEDEP}]')"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_ORC=$(usex orc)
|
||||
-DPYTHON_EXECUTABLE="${PYTHON}"
|
||||
-DENABLE_TESTING="$(usex test)"
|
||||
-DENABLE_PROFILING=OFF
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
# Remove stray python files generated by the build system
|
||||
find "${ED}" -name '*.pyc' -exec rm -f {} \; || die
|
||||
find "${ED}" -name '*.pyo' -exec rm -f {} \; || die
|
||||
python_optimize
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local myctestargs=(
|
||||
-E "(check_lgpl)"
|
||||
)
|
||||
cmake_src_test
|
||||
}
|
||||
Reference in New Issue
Block a user