Skip to content

Commit

Permalink
kde-frameworks/breeze-icons: Merge ${PN}-rcc back into it
Browse files Browse the repository at this point in the history
There is no dependency savings or size concern here.

Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Dec 28, 2023
1 parent 310c033 commit 68f4a32
Showing 1 changed file with 8 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ EAPI=8

PVCUT=$(ver_cut 1-2)
PYTHON_COMPAT=( python3_{10..12} )
inherit cmake frameworks.kde.org python-any-r1 xdg-utils
inherit cmake frameworks.kde.org python-any-r1 xdg

DESCRIPTION="Breeze SVG icon theme"

Expand All @@ -15,7 +15,11 @@ IUSE="test"

RESTRICT="!test? ( test )"

RDEPEND="!kde-frameworks/${PN}:5"
RDEPEND="
!kde-frameworks/${PN}:5
!kde-frameworks/${PN}-rcc:5
!kde-frameworks/${PN}-rcc:6
"
BDEPEND="${PYTHON_DEPS}
$(python_gen_any_dep 'dev-python/lxml[${PYTHON_USEDEP}]')
dev-qt/qtbase:6
Expand All @@ -35,7 +39,8 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
-DPython_EXECUTABLE="${PYTHON}"
-DBINARY_ICONS_RESOURCE=OFF
-DBINARY_ICONS_RESOURCE=ON
-DSKIP_INSTALL_ICONS=OFF
)
cmake_src_configure
}
Expand All @@ -46,11 +51,3 @@ src_install() {
find "${ED}"/usr/share/icons/ -type d -empty -delete || die
find "${ED}"/usr/share/icons/ -xtype l -delete || die
}

pkg_postinst() {
xdg_icon_cache_update
}

pkg_postrm() {
xdg_icon_cache_update
}

0 comments on commit 68f4a32

Please sign in to comment.