media-libs/lensfun: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-12-20 14:02:00 +01:00
parent 4c21651878
commit 62361877e0
No known key found for this signature in database
GPG Key ID: 8E32347AF4055AE8
3 changed files with 0 additions and 131 deletions

View File

@ -1,2 +1 @@
DIST lensfun-0.3.4.tar.gz 1058791 BLAKE2B e68cb72eb730a23c3e2dd691a49606ea92a8b89c4665d62dff126404010c8c7e1162d5906a69fce52eb8fb121da8930bb2e42d74bbd8bb6d2631ed4e97405fa3 SHA512 4db9a08d51ba50c7c2ff528d380bb28e34698b2bb5c40e5f3deeaa5544c888ac7e0f638bbc3f33a4f75dbb67e0425ca36ce6d8cd1d8c043a4173a2df47de08c6
DIST lensfun-0.3.4_rc1.tar.gz 1045616 BLAKE2B fee14b97dcda98be4e8a32443ff71347ba75e46192f8437be580cb6697f6ef2eca92ef57cfcb2de5bd87fe7ba96542a6b5551b12f50fec09a035c69d6f4b427f SHA512 0d034c6996e5650b022d33a7e00ef7e0e00dfa99155aa62c6c3ab48b9ac936e46f812ceea46e2070514e2c77150a1d7c827831686b1cf73e2acf88b6b3dfb6c5

View File

@ -1,68 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_11 )
inherit python-single-r1 cmake
DESCRIPTION="Library for rectifying and simulating photographic lens distortions"
HOMEPAGE="https://lensfun.github.io"
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV/_rc/-RC}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${P/_rc/-RC}"
LICENSE="LGPL-3 CC-BY-SA-3.0" # See README for reasoning.
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE="doc cpu_flags_x86_sse cpu_flags_x86_sse2 test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="!test? ( test )"
RDEPEND="
${PYTHON_DEPS}
>=dev-libs/glib-2.40
media-libs/libpng:=
virtual/zlib:=
"
DEPEND="${RDEPEND}"
BDEPEND="
doc? (
app-text/doxygen
dev-python/docutils
)
"
DOCS=( README.md docs/mounts.txt ChangeLog )
PATCHES=(
"${FILESDIR}"/lensfun-0.3.4-python.patch
"${FILESDIR}"/lensfun-0.3.4-python-egg.patch
)
src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_DOCDIR="${EPREFIX}"/usr/share/doc/${PF}/html
-DPython3_EXECUTABLE="${PYTHON}"
-DSETUP_PY_INSTALL_PREFIX=/usr
-DBUILD_LENSTOOL=ON
-DBUILD_STATIC=OFF
-DBUILD_DOC=$(usex doc)
-DBUILD_FOR_SSE=$(usex cpu_flags_x86_sse)
-DBUILD_FOR_SSE2=$(usex cpu_flags_x86_sse2)
-DBUILD_TESTS=$(usex test)
)
cmake_src_configure
}
src_test() {
mkdir -p "${T}/db/lensfun" || die
cp data/db/* "${T}/db/lensfun/" || die
XDG_DATA_HOME="${T}/db" cmake_src_test
}
src_install() {
cmake_src_install
python_fix_shebang "${ED}"/usr/bin
python_optimize
}

View File

@ -1,62 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_11 )
inherit python-single-r1 cmake
DESCRIPTION="Library for rectifying and simulating photographic lens distortions"
HOMEPAGE="https://lensfun.github.io"
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV/_rc/-RC}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${P/_rc/-RC}"
LICENSE="LGPL-3 CC-BY-SA-3.0" # See README for reasoning.
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
IUSE="doc cpu_flags_x86_sse cpu_flags_x86_sse2 test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="!test? ( test )"
RDEPEND="${PYTHON_DEPS}
>=dev-libs/glib-2.40
media-libs/libpng:0=
virtual/zlib:=
"
DEPEND="${RDEPEND}"
BDEPEND="
doc? (
app-text/doxygen
dev-python/docutils
)
"
DOCS=( README.md docs/mounts.txt ChangeLog )
src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_DOCDIR="${EPREFIX}"/usr/share/doc/${PF}/html
-DSETUP_PY_INSTALL_PREFIX=/usr
-DBUILD_LENSTOOL=ON
-DBUILD_STATIC=OFF
-DBUILD_DOC=$(usex doc)
-DBUILD_FOR_SSE=$(usex cpu_flags_x86_sse)
-DBUILD_FOR_SSE2=$(usex cpu_flags_x86_sse2)
-DBUILD_TESTS=$(usex test)
)
cmake_src_configure
}
src_test() {
mkdir -p "${T}/db/lensfun" || die
cp data/db/* "${T}/db/lensfun/" || die
XDG_DATA_HOME="${T}/db" cmake_src_test
}
src_install() {
cmake_src_install
python_optimize
}