media-gfx/gphoto2: add 2.5.32

Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
Pacho Ramos 2025-12-21 14:24:36 +01:00
parent 73006d93cb
commit 5faa5e0a06
No known key found for this signature in database
GPG Key ID: 7CB10C207FC07DBC
2 changed files with 51 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST gphoto2-2.5.28.tar.xz 575816 BLAKE2B 4f919349d435cdb8e2cc4602ef57cee5e9ba5c7117e9d9e0dc0cec48f8820e8fb56204e7b4eb96105015c603fe83eaccd1ce8a240780a258fe7e56eef06f0665 SHA512 f5e23fd559b3a272441556323b9eadbce11e73bdcfe94ee027d58e51d5396ee6e2c12f0b7675d5017c140db329354de775ad619fcd6f19e3252659e0cbc4baa8
DIST gphoto2-2.5.32.tar.xz 607452 BLAKE2B 656d6796adbe939268a099d293da8b78bc15c7ead1a30c168cba913f9c93f776c92c5d20a115b7964a4c51f3983aff70dc6fc3b805a38a29b6df772528bae30a SHA512 17fd4985ff340ad44e770baff49c55aceb043c457536c60e989e91b71ea15cc0636c31ca9624233e21f3a789f022f84e7119c2fca9ddce40d07a7e448db8a689

View File

@ -0,0 +1,50 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Free, redistributable digital camera software application"
HOMEPAGE="http://www.gphoto.org/"
SRC_URI="https://downloads.sourceforge.net/gphoto/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE="aalib ncurses nls readline"
# aalib -> needs libjpeg
RDEPEND="
>=dev-libs/popt-1.6.1
>=media-libs/libexif-0.6.9
>=media-libs/libgphoto2-2.5.17:=[exif]
aalib? (
media-libs/aalib
media-libs/libjpeg-turbo
)
ncurses? ( >=dev-libs/cdk-5.0.20240331:= )
readline? ( sys-libs/readline:= )
"
DEPEND="${RDEPEND}"
BDEPEND="
virtual/pkgconfig
nls? ( >=sys-devel/gettext-0.19.1 )
"
src_prepare() {
default
# Leave GCC debug builds under user control
sed -r '/(C|LD)FLAGS/ s/ -g( |")/\1/' \
-i configure{.ac,} || die
eautoreconf
}
src_configure() {
econf \
$(use_with aalib) \
$(use_with aalib jpeg) \
$(use_with ncurses cdk) \
$(use_enable nls) \
$(use_with readline)
}