mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-libs/nativefiledialog-extended: add 1.3.0
Closes: https://bugs.gentoo.org/964486 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST nativefiledialog-extended-1.2.1.tar.gz 426161 BLAKE2B 86e759e268f30c7eda034ea97c65de09a90cda34f173091c7836a11f6a576cd5ed6414287c6e455bb875b08bde55c7e469552fe48d6db5261397349a93667b6a SHA512 4ec3e174a90354c524d9be2776422740f80b73021df94e1942e60ab4310995245554f83097b9b2dcca04d016a8548d3fc0760f73daf724c5c3d72c15cf776bed
|
||||
DIST nativefiledialog-extended-1.3.0.tar.gz 429165 BLAKE2B 65ace1bb2e72979de61df117cdc88c825acf6cd3e4967ea845207e0f1eaadee3d46b5b5f119afa4e6ad2eaedaef6907332d76cb98d1850472e98371eae3ec084 SHA512 1f2e17dd9ee5b416dfe1362b6eac6499c83c527a83478361769420f1d29bf21e0a81e4b6d45255703aba9be61c8379f7745fe182d74687a9c4f3309bd4fdf09e
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
# Copyright 2024-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Cross platform native file dialog library with C and C++ bindings"
|
||||
HOMEPAGE="https://github.com/btzy/nativefiledialog-extended/"
|
||||
SRC_URI="
|
||||
https://github.com/btzy/nativefiledialog-extended/archive/refs/tags/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0/$(ver_cut 1)"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="X +desktop-portal wayland"
|
||||
|
||||
DEPEND="
|
||||
desktop-portal? ( sys-apps/dbus )
|
||||
!desktop-portal? (
|
||||
dev-libs/glib:2
|
||||
x11-libs/gtk+:3[X=,wayland=]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
desktop-portal? ( sys-apps/xdg-desktop-portal )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.2.1-libdir.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
# tests are non-automated examples that open interactive dialogs
|
||||
-DNFD_BUILD_TESTS=no
|
||||
-DNFD_PORTAL="$(usex desktop-portal)"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user