dev-libs/QmlMaterial - 0.4.2 (nest)

Search

Install

Install this version:

emerge -a =dev-libs/QmlMaterial-0.4.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-libs/QmlMaterial-0.4.2

Or alternatively:

emerge --autounmask-write -a =dev-libs/QmlMaterial-0.4.2

Package Information

Description:
Material Design for QML
Homepage:
https://github.com/hypengw/QmlMaterial
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.4.2 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake edo optfeature virtualx

DESCRIPTION="Material Design for QML"
HOMEPAGE="https://github.com/hypengw/QmlMaterial"
SRC_URI="https://github.com/hypengw/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/hypengw/${PN}/raw/refs/heads/main/assets/MaterialSymbolsRounded.wght_400.opsz_24.fill_0.woff2
	https://github.com/hypengw/${PN}/raw/refs/heads/main/assets/MaterialSymbolsRounded.wght_400.opsz_24.fill_1.woff2"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND="media-libs/freetype[brotli]
	dev-qt/qtbase:6[dbus,gui]
	dev-qt/qtdeclarative:6
	dev-qt/qtshadertools:6"
DEPEND="${RDEPEND}
	test? ( dev-qt/qtbase:6[X] )"
BDEPEND="virtual/pkgconfig"

src_unpack() {
	default

	edo cp -t "${S}/assets" \
		"${DISTDIR}/MaterialSymbolsRounded.wght_400.opsz_24.fill_0.woff2" \
		"${DISTDIR}/MaterialSymbolsRounded.wght_400.opsz_24.fill_1.woff2"
}

src_configure() {
	local mycmakeargs=(
		-DQM_BUILD_TESTS="$(usex test)"
	)

	cmake_src_configure
}

src_test() {
	local -x QT_QPA_PLATFORM=xcb

	virtx cmake_src_test -j 1
}

pkg_postinst() {
	optfeature "desktop portal integration" sys-apps/xdg-desktop-portal
}

Inherited Eclasses

edo

Dependencies

DEPEND

media-libs/freetype[brotli]
	dev-qt/qtbase:6[dbus,gui]
	dev-qt/qtdeclarative:6
	dev-qt/qtshadertools:6
	test? ( dev-qt/qtbase:6[X] )

RDEPEND

media-libs/freetype[brotli]
	dev-qt/qtbase:6[dbus,gui]
	dev-qt/qtdeclarative:6
	dev-qt/qtshadertools:6

BDEPEND

virtual/pkgconfig

Manifest for 0.4.2

Type File Size Source URLs
DIST MaterialSymbolsRounded.wght_400.opsz_24.fill_0.woff2 380520 bytes https://github.com/hypengw/QmlMaterial/raw/refs/heads/main/assets/MaterialSymbolsRounded.wght_400.opsz_24.fill_0.woff2
DIST MaterialSymbolsRounded.wght_400.opsz_24.fill_1.woff2 385156 bytes https://github.com/hypengw/QmlMaterial/raw/refs/heads/main/assets/MaterialSymbolsRounded.wght_400.opsz_24.fill_1.woff2
DIST QmlMaterial-0.4.2.tar.gz 580721 bytes https://github.com/hypengw/QmlMaterial/archive/v0.4.2.tar.gz