x11-misc/xftwidth - 9999 (sk-overlay)

Search

Package Information

Description:
Calculates the width in pixels of a string using a given Xft font
Homepage:
https://github.com/vixus0/xftwidth
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
9999 7 0
View Raw Ebuild
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Calculates the width in pixels of a string using a given Xft font"
HOMEPAGE="https://github.com/vixus0/xftwidth"
SRC_URI="https://github.com/vixus0/xftwidth/archive/master.zip"

LICENSE="MIT"
SLOT="0"
KEYWORDS=""

DEPEND="
	x11-libs/libXft
	x11-libs/libX11
	x11-libs/libXrender
	media-libs/fontconfig
"
RDEPEND="${DEPEND}"
BDEPEND=""

src_unpack() {
	unpack "${A}"
	mv -- "${WORKDIR}/${PN}-master" "${S}"
}

src_install() {
	dobin "${S}/xftwidth"
}

Dependencies

DEPEND

	x11-libs/libXft
	x11-libs/libX11
	x11-libs/libXrender
	media-libs/fontconfig

RDEPEND

	x11-libs/libXft
	x11-libs/libX11
	x11-libs/libXrender
	media-libs/fontconfig

Manifest for 9999

Type File Size Source URLs
DIST master.zip 2413 bytes https://github.com/vixus0/xftwidth/archive/master.zip