summaryrefslogtreecommitdiff
path: root/gui-libs/pyr-ui/pyr-ui-0.1.7.ebuild
blob: 2335dd1a1b90d1a08569cb47d20c865910939081 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 0.1.7: first release cut from Git, tag v0.1.7 of https://git.hedronfire.com/pyr-ui (crucible distfiles); no patches.
# SrcUX Sprint 1 (panache work package, 2026-10-28): semantic success/warning/error colours in the shell CSS; clock typography in any panel region
# Local SrcUX release recipe. Sources retain their upstream MIT provenance.
EAPI=8
inherit meson
DESCRIPTION="Pyr shared GTK appearance and UI helpers"
HOMEPAGE="https://hedronfire.com/"
SRC_URI="https://www.hedronfire.com/distfiles/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="mirror test"
DEPEND="	>=gui-libs/pyr-core-0.1.9
	dev-libs/glib:2
	=dev-libs/yyjson-0.13.0*
	>=gui-libs/gtk-4.14:4
"
RDEPEND="!gui-libs/wayfire-ui
	${DEPEND}

"
BDEPEND="virtual/pkgconfig"
src_configure() {
    local emesonargs=( -Dtests=false )
    meson_src_configure
}
src_install() {
    meson_src_install
    # The build installs its docs unversioned; keep them in the versioned dir.
    if [[ -d ${ED}/usr/share/doc/${PN} ]]; then
        mkdir -p "${ED}/usr/share/doc/${PF}" || die
        mv "${ED}/usr/share/doc/${PN}"/* "${ED}/usr/share/doc/${PF}/" || die
        rmdir "${ED}/usr/share/doc/${PN}" || die
    fi
}