dev-libs/oocairo - 9999 (stuff)

Search

Install

Install this version:

emerge -a =dev-libs/oocairo-9999

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

autounmask =dev-libs/oocairo-9999

Or alternatively:

emerge --autounmask-write -a =dev-libs/oocairo-9999

Package Information

Description:
oocairo are Lua bindings to the cairo library
Homepage:
https://github.com/awesomeWM/oocairo
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
9999 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 autotools
[[ ${PV} == 9999 ]] && inherit git-r3

DESCRIPTION="oocairo are Lua bindings to the cairo library"
HOMEPAGE="https://github.com/awesomeWM/oocairo"

if [[ ${PV} == 9999 ]]; then
	EGIT_REPO_URI="https://github.com/awesomeWM/${PN}.git"
else
	SRC_URI="https://github.com/awesomeWM/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64 ~x86"
fi

LICENSE="MIT"
SLOT="0"

RDEPEND="dev-lang/lua
	x11-libs/cairo"
DEPEND="${RDEPEND}"
# No configure script is shipped, so the autotools have to run here. perl
# supplies pod2man, which configure.ac hard-errors without (AC_ERROR "Could
# not find pod2man") because man_MANS is unconditional; pkgconfig supplies
# both pkg.m4 for autoreconf and the PKG_CHECK_MODULES lookup of lua and
# cairo. autoconf, automake and libtool come from autotools.eclass.
# verified 2026-07-27
BDEPEND="
	dev-lang/perl
	virtual/pkgconfig
"

src_prepare() {
	default
	eautoreconf
}

src_install() {
	default
	find "${ED}" -type f -name "*.la" -delete || die
}

Inherited Eclasses

Dependencies

DEPEND

dev-lang/lua
	x11-libs/cairo

RDEPEND

dev-lang/lua
	x11-libs/cairo

BDEPEND

	dev-lang/perl
	virtual/pkgconfig