diff options
Diffstat (limited to 'kde-apps/gwenview')
-rw-r--r-- | kde-apps/gwenview/Manifest | 2 | ||||
-rw-r--r-- | kde-apps/gwenview/gwenview-24.08.2.ebuild | 109 |
2 files changed, 111 insertions, 0 deletions
diff --git a/kde-apps/gwenview/Manifest b/kde-apps/gwenview/Manifest index bad150abcd13..687e8887bfff 100644 --- a/kde-apps/gwenview/Manifest +++ b/kde-apps/gwenview/Manifest @@ -1,6 +1,8 @@ AUX gwenview-24.08.0-odr.patch 2024 BLAKE2B b3de601985470bd6489fac15c84c973e0d17027f0cf0655f69860696103b0ecdf4f75c08d192634ed037da7c123ae21ffc9eac3c67854af825bdb736f8af632d SHA512 286f211c76c1a39023d00037eefa41ea7bee7b80b4cd6010b75f0b9d99ad7a39d792bade9ec408c075f6f2a2cfd13861e06c525c518e072fb6d27307c3ac951f DIST gwenview-24.05.2.tar.xz 6513176 BLAKE2B 526bf8fe8caf319368997e31eac48013ba67e023f2e2a0a3082e69b4bff04828308ee85cc8a7cda9ca79a7429d0d749a08deb960149be337ded351d49f823026 SHA512 3c0cc7faa2c7f65b4146a0c7e4a1689ed7629510c9afd4fa891e422ad379e25fd6367e02326cf3721e7862d56661759d0fc9afa37d4cd0392d917d44ef8110e6 DIST gwenview-24.08.1.tar.xz 6514684 BLAKE2B bfb281f7a6aa74f2d08527c8583ff560e5162d5e4e87d8ae7021a187240364d654a484dcbb81da44c7afb9cc08214d442fa782228c09c794a75ff5836ef02e99 SHA512 17a67a11a611a39c9ab0389c8a931fcd3f48ffd6c01e13c2ba6dd3dedc630fe65c6a0fd42f7a7c1ce16887fe8b6b9fb94390704ea3f53a152a40eb665d600203 +DIST gwenview-24.08.2.tar.xz 6521976 BLAKE2B 3405f82d794fcdb0eb4bcf1703e05316744b5849bdf3dcc65fb003e40b137994c31a4af76a315d227c7105a295e06323df71a8d23e2c3266aae3b7303083d471 SHA512 233a5f06db8776389b47041501724f0026fbca93363189c6be3c059cc5119080cd2dca884153cb2c0f71b6984d4d41fc69653ccc6048af016d6e0b349d153ad3 EBUILD gwenview-24.05.2-r1.ebuild 3019 BLAKE2B 0f23d47d5b8e4beb228cb142d283f1d8c8813694b0356921f921dcc2bee187639359e52136cf2ce0d3e0d0de62482be39ebfcc2f1a8d04421955ab0b6d41613b SHA512 1043f5f9df96ea2de5890303bc3dbb040779f64767ca9d91d39ac47b2ad0660102bb07524b6c232f2e56034929d26ec3a6fed6a4dc8e33851b84433e6136d1ee EBUILD gwenview-24.08.1.ebuild 3088 BLAKE2B d2d0f888279f2a7dc0e98bb34f1931ecabd9a58146feaa635a65b96bde433a4d4517d32daa623852592f24c97f01969281ff2ae5a3db6fae8927bebf19ffc562 SHA512 62341c14c8e3b6513c2e3b48083d4f22cd0e23fd8728afe3cd447778905134bc427c1ab6659d72f1071e212ae9c3e26a971147fa3445643debad3035c0faba1f +EBUILD gwenview-24.08.2.ebuild 3024 BLAKE2B c74d8e86a143b2ed4aba7abda9bc81b6a2082d41443f9b8990a8349cfb8f879beb4907c3b3c11c7a278552e6beabe06c8dff230107e0cd9f298b16f75b44fe48 SHA512 81e0c17bf9cac748b209c49d5687e9fbfd00cb30e3044bb5061ddfb4ba7ab6045db10138d4fd739c8c0c7a75b69d2b2a09aabdb0f5181edb1882711ffb253e4b MISC metadata.xml 697 BLAKE2B 1b9d505c5490486b4a5b6e11447a8c0bf3d52f678f80a1825164458188cc4dee675b3f620818d6a402f7a4dc14498370efa0c08baacc7f78b928beda8f54b697 SHA512 4cf16eb17b7b10862f6268a2082dfaf808c00ae9342a2b864716a64c23dcfca6c837d39a2637d8b9a6c7ec391492b4c3fc7bfd5e21e81c97f21053ff4acd9aed diff --git a/kde-apps/gwenview/gwenview-24.08.2.ebuild b/kde-apps/gwenview/gwenview-24.08.2.ebuild new file mode 100644 index 000000000000..f95e04331a44 --- /dev/null +++ b/kde-apps/gwenview/gwenview-24.08.2.ebuild @@ -0,0 +1,109 @@ +# 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/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=[gui] + 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 +} |