sci-libs/alglib: drop 3.17.0

Bug: https://bugs.gentoo.org/957966
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2025-09-29 19:06:01 +02:00
parent 11e9156df5
commit b4906afffd
4 changed files with 6 additions and 72 deletions

View File

@@ -52,6 +52,12 @@ sys-apps/thunderbolt-software-user-space
# version bump pending in bug #962079. Removal on 2025-10-29.
x11-terms/roxterm
# Andreas Sturmlechner <asturm@gentoo.org> (2025-09-29)
# No stable revdeps, destabilising package together with cleanup of
# really outdated version 3.17.0. sci-libs/alglib-3.20.0 is available
# for ~amd64 and ~x86.
<sci-libs/alglib-3.20.0
# Andreas Sturmlechner <asturm@gentoo.org> (2025-09-28)
# Unmaintained for ages, thus not deserving of stable keywords.
# media-video/ccextractor-0.89 is available for ~amd64 and ~x86.

View File

@@ -1,2 +1 @@
DIST alglib-3.17.0.cpp.gpl.tgz 3065026 BLAKE2B bc939568a6bfb5e2717995e31b9d7cb485885217ff8d15c2bea3185b1ef62536766f80e02d43999c016e24b10181bddd4ad4ff27611ab19ebcc778a5cb15d55e SHA512 0e4b943b03707950813aea707ae3569ce75a22216c9a4b256b646db16609995b3b63a958b0b8fbe3d7d623d5ac03efbe7c4b1589961f2ca9cdefbd7e1cc0c721
DIST alglib-3.20.0.cpp.gpl.tgz 3325551 BLAKE2B bfc62cada202ed6becfd01a62cd6e9b46f500e0e4670e30422581880b825cdf3fcdc1b4b3197c0ce3a5a28c580eab83889b0c70769a38a78d9ed7e116e7cd013 SHA512 badd8789ab561d3345d7b3d75aa95732f5d0e1e44125ee4d8c2b3f89ef2ec44137206b9e869a89daeafd1e1f8efbd8240ad1cbde7ba8002748de9d8f525b970e

View File

@@ -1,35 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake flag-o-matic
DESCRIPTION="Numerical analysis and data processing library"
HOMEPAGE="https://www.alglib.net/"
SRC_URI="https://www.alglib.net/translator/re/${P}.cpp.gpl.tgz"
S="${WORKDIR}"/cpp
LICENSE="GPL-2+"
SLOT="0/3.8"
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
src_prepare() {
cp "${FILESDIR}"/CMakeLists.txt-3.8.2 CMakeLists.txt || die
cmake_src_prepare
}
src_configure() {
# bug #862666
append-flags -fno-strict-aliasing
filter-lto
use x86 && append-cflags -ffloat-store
local mycmakeargs=(
-DBUILD_TEST=$(usex test)
)
cmake_src_configure
}

View File

@@ -1,36 +0,0 @@
project(alglib CXX)
cmake_minimum_required(VERSION 2.8)
INCLUDE(GNUInstallDirs)
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src)
SET(VERSION 3.8.2)
SET(SOVERSION 3.8)
option(BUILD_TEST "Build tests" OFF)
FILE(GLOB ALGLIB_SRC_LIB "src/*.cpp")
FILE(GLOB ALGLIB_HDR_LIB "src/*.h")
ADD_LIBRARY(alglib SHARED ${ALGLIB_SRC_LIB})
SET_TARGET_PROPERTIES(alglib PROPERTIES
VERSION ${VERSION}
SOVERSION ${SOVERSION})
INSTALL(TARGETS alglib DESTINATION ${CMAKE_INSTALL_LIBDIR}/)
INSTALL(FILES ${ALGLIB_HDR_LIB} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
if (BUILD_TEST)
#===========================================================
ADD_EXECUTABLE(test_c tests/test_c.cpp)
TARGET_LINK_LIBRARIES(test_c alglib)
#INSTALL(TARGETS test_c DESTINATION ${CMAKE_INSTALL_BINDIR}/)
#===========================================================
ADD_EXECUTABLE(test_i tests/test_i.cpp)
TARGET_LINK_LIBRARIES(test_i alglib)
#INSTALL(TARGETS test_i DESTINATION ${CMAKE_INSTALL_BINDIR}/)
#===========================================================
enable_testing()
endif (BUILD_TEST)
add_test( test_c ${CMAKE_BUILD_DIR}/test_c)
add_test( test_i ${CMAKE_BUILD_DIR}/test_i)