diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-13 02:01:50 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-13 02:01:50 +0000 |
commit | 2a3e0d61b3d88306b6fae46756f9ba7d230222ae (patch) | |
tree | a0d3259dd259861a49a2d3e6e9220beaa8ec39c2 /kde-apps/gwenview | |
parent | 39c32f4d5dca9f6293fccb69e9d50baf494c8de4 (diff) |
gentoo auto-resync : 13:12:2024 - 02:01:50
Diffstat (limited to 'kde-apps/gwenview')
-rw-r--r-- | kde-apps/gwenview/Manifest | 2 | ||||
-rw-r--r-- | kde-apps/gwenview/gwenview-24.12.0.ebuild | 110 |
2 files changed, 112 insertions, 0 deletions
diff --git a/kde-apps/gwenview/Manifest b/kde-apps/gwenview/Manifest index c9d3b04b9d73..182febf368ea 100644 --- a/kde-apps/gwenview/Manifest +++ b/kde-apps/gwenview/Manifest @@ -1,4 +1,6 @@ AUX gwenview-24.08.0-odr.patch 2024 BLAKE2B b3de601985470bd6489fac15c84c973e0d17027f0cf0655f69860696103b0ecdf4f75c08d192634ed037da7c123ae21ffc9eac3c67854af825bdb736f8af632d SHA512 286f211c76c1a39023d00037eefa41ea7bee7b80b4cd6010b75f0b9d99ad7a39d792bade9ec408c075f6f2a2cfd13861e06c525c518e072fb6d27307c3ac951f DIST gwenview-24.08.3.tar.xz 6522052 BLAKE2B e2108151b81dd2666d169e745785400acf4a0c4b307f3b124f4d27ae504dc124cfe737d92cead833309ec935442cd4fe34bda88aa2aa692a76d74acc2eb8f6d3 SHA512 0777f9c79c817e3df97df2d5694594e6a6ad0d9f553737076f9f5a2f83810131899f1a3069b603ab2427a6faf0230f84918146da6bf68583edc8de432cf67a0a +DIST gwenview-24.12.0.tar.xz 6525836 BLAKE2B 6b26a1a9db06b28d901bea87f758d73d4fc585081030e400fd00434d94f962bed51fb7c164bc4c8fd38ee8f73b4be409dde5803127b51f29ee681df4f7142ef3 SHA512 3e5b88c18a2d6d49653be411a71d2d163d9b0cd92867e73f936807aa4e0425ef7dfae4329e68ad87ec675902b5b19e4aee656f38e1bbf935ea6aacf31951019a EBUILD gwenview-24.08.3.ebuild 3093 BLAKE2B 4d55c462976ad2a40e62aa604570970e0acf62e21b2fb58deb6ba00e7edf9545a5eb3060a9ed5ef5a2737315934afaca8f17ce5a1595960b2cf57ec2279706f8 SHA512 4832c0fd9c4915e93ded28b202dacc8d5045ff1dc1f4d61c581e135d7da5d6e157dccdd9485e4f4361bb52d6fcc8c8f69b728702c000d38f199bd86c19c62703 +EBUILD gwenview-24.12.0.ebuild 3058 BLAKE2B 36bf2a1dc23112a3ff2dc2d560cec58137deb94ee3673afce5d3d2bb6a961f8e5e5e1753d7ee22090141419ea0875b551b2308f6a76a55df1d47811c42c91060 SHA512 c60d058b5c46d4cf676907d95ff0540969c9eaf1922e637eef149cba265f1180e51382cc7c5818cebdbea1e8cf25525cc6db8ecb19f9bd1b4e0b4033a8d308ba MISC metadata.xml 697 BLAKE2B 1b9d505c5490486b4a5b6e11447a8c0bf3d52f678f80a1825164458188cc4dee675b3f620818d6a402f7a4dc14498370efa0c08baacc7f78b928beda8f54b697 SHA512 4cf16eb17b7b10862f6268a2082dfaf808c00ae9342a2b864716a64c23dcfca6c837d39a2637d8b9a6c7ec391492b4c3fc7bfd5e21e81c97f21053ff4acd9aed diff --git a/kde-apps/gwenview/gwenview-24.12.0.ebuild b/kde-apps/gwenview/gwenview-24.12.0.ebuild new file mode 100644 index 000000000000..173e0aebddcc --- /dev/null +++ b/kde-apps/gwenview/gwenview-24.12.0.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="optional" +ECM_TEST="true" +PVCUT=$(ver_cut 1-3) +KFMIN=6.5.0 +QTMIN=6.7.2 +inherit ecm gear.kde.org optfeature + +DESCRIPTION="Image viewer by KDE" +HOMEPAGE="https://apps.kde.org/gwenview/ https://userbase.kde.org/Gwenview" + +LICENSE="GPL-2+ handbook? ( FDL-1.2 )" +SLOT="6" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="activities fits +mpris raw semantic-desktop share X" + +# requires running environment +RESTRICT="test" + +# slot op: includes qpa/qplatformnativeinterface.h, qtx11extras_p.h +COMMON_DEPEND=" + dev-libs/wayland + >=dev-qt/qtbase-${QTMIN}:6=[gui,opengl,widgets] + >=dev-qt/qtsvg-${QTMIN}:6 + >=dev-qt/qtwayland-${QTMIN}:6 + >=kde-frameworks/kcompletion-${KFMIN}:6 + >=kde-frameworks/kconfig-${KFMIN}:6 + >=kde-frameworks/kconfigwidgets-${KFMIN}:6 + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/kcrash-${KFMIN}:6 + >=kde-frameworks/kguiaddons-${KFMIN}:6 + >=kde-frameworks/ki18n-${KFMIN}:6 + >=kde-frameworks/kiconthemes-${KFMIN}:6 + >=kde-frameworks/kio-${KFMIN}:6 + >=kde-frameworks/kitemmodels-${KFMIN}:6 + >=kde-frameworks/kitemviews-${KFMIN}:6 + >=kde-frameworks/kjobwidgets-${KFMIN}:6 + >=kde-frameworks/knotifications-${KFMIN}:6 + >=kde-frameworks/kparts-${KFMIN}:6 + >=kde-frameworks/kservice-${KFMIN}:6 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:6 + >=kde-frameworks/kxmlgui-${KFMIN}:6 + >=kde-frameworks/solid-${KFMIN}:6 + media-gfx/exiv2:= + >=media-libs/kcolorpicker-0.3.1 + >=media-libs/kimageannotator-0.7.1 + media-libs/lcms:2 + media-libs/libjpeg-turbo:= + media-libs/libpng:0= + >=media-libs/phonon-4.12.0[qt6(+)] + media-libs/tiff:= + activities? ( kde-plasma/plasma-activities:6 ) + fits? ( sci-libs/cfitsio ) + mpris? ( >=dev-qt/qtbase-${QTMIN}:6[dbus] ) + raw? ( >=kde-apps/libkdcraw-${PVCUT}:6 ) + semantic-desktop? ( + >=kde-frameworks/baloo-${KFMIN}:6 + >=kde-frameworks/kfilemetadata-${KFMIN}:6 + ) + share? ( >=kde-frameworks/purpose-${KFMIN}:6 ) + X? ( + >=dev-qt/qtbase-${QTMIN}:6=[X] + x11-libs/libX11 + ) +" +DEPEND="${COMMON_DEPEND} + dev-libs/wayland-protocols + >=dev-qt/qtbase-${QTMIN}:6[concurrent] + >=kde-frameworks/kwindowsystem-${KFMIN}:6 +" +RDEPEND="${COMMON_DEPEND} + >=dev-qt/qtimageformats-${QTMIN}:6 + >=kde-apps/thumbnailers-${PVCUT}:6 + >=kde-frameworks/kimageformats-${KFMIN}:6 +" +BDEPEND=" + >=dev-qt/qtwayland-${QTMIN}:6 + dev-util/wayland-scanner +" + +src_prepare() { + ecm_src_prepare + if ! use mpris; then + # FIXME: upstream a better solution + sed -e "/set(HAVE_QTDBUS/s/\${Qt6DBus_FOUND}/0/" -i CMakeLists.txt || die + fi +} + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package activities PlasmaActivities) + $(cmake_use_find_package fits CFitsio) + $(cmake_use_find_package raw KDcrawQt6) + -DGWENVIEW_SEMANTICINFO_BACKEND=$(usex semantic-desktop Baloo None) + $(cmake_use_find_package share KF6Purpose) + -DWITHOUT_X11=$(usex !X) + ) + ecm_src_configure +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + optfeature "SVG support" "kde-apps/svgpart:${SLOT}" + fi + ecm_pkg_postinst +} |