dev-libs/libunity - 7.1.4 (gentoo-unity7)

Search

Install

Install this version:

emerge -a =dev-libs/libunity-7.1.4

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

autounmask =dev-libs/libunity-7.1.4

Or alternatively:

emerge --autounmask-write -a =dev-libs/libunity-7.1.4

Package Information

Description:
Library for instrumenting and integrating with all aspects of the Unity shell
Homepage:
https://launchpad.net/libunity
License:
GPL-3 LGPL-3

Ebuild Details

Version EAPI Keywords Slot
7.1.4 8 ~amd64 0/$(usub)
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
PYTHON_COMPAT=( python3_{10..14} )
UBUNTU_EAUTORECONF="yes"

UVER=+19.04.20190319
UREV=8

inherit python-single-r1 vala ubuntu-versionator

DESCRIPTION="Library for instrumenting and integrating with all aspects of the Unity shell"
HOMEPAGE="https://launchpad.net/libunity"
SRC_URI="${SRC_URI} ${UURL}-${UREV}.debian.tar.xz"

LICENSE="GPL-3 LGPL-3"
SLOT="0/$(usub)"
KEYWORDS="~amd64"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="!test? ( test )"

COMMON_DEPEND="
	>=dev-libs/dee-1.2.7:0=[${PYTHON_SINGLE_USEDEP}]
	>=dev-libs/glib-2.43.92:2
	>=dev-libs/libdbusmenu-0.4.90[introspection]
"
RDEPEND="${COMMON_DEPEND}
	gnome-base/dconf
	>=sys-libs/glibc-2.4
"
DEPEND="${COMMON_DEPEND}
	gnome-base/gnome-common
	sys-apps/dbus[X]
	x11-apps/xauth

	test? ( x11-misc/xvfb-run )

	${PYTHON_DEPS}
	$(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]')

	$(vala_depend)
"
BDEPEND="
	dev-util/intltool
	virtual/pkgconfig
"

S="${WORKDIR}"

src_configure() {
	# Fix gcc 14 build of unity-lens/unity-scope-home #
	sed -i "/public bool filtering/{s/internal //}" src/unity-filters.vala || die

	local myeconfargs=(
		$(use_enable test headless-tests)
	)
	econf "${myeconfargs[@]}"
}

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

USE Flags

Manage flags for this package: euse -i <flag> -p dev-libs/libunity | euse -E <flag> -p dev-libs/libunity | euse -D <flag> -p dev-libs/libunity

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

${COMMON_DEPEND}
	gnome-base/gnome-common
	sys-apps/dbus[X]
	x11-apps/xauth

	test? ( x11-misc/xvfb-run )

	${PYTHON_DEPS}
	$(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]')

	$(vala_depend)

RDEPEND

	>=dev-libs/dee-1.2.7:0=[]
	>=dev-libs/glib-2.43.92:2
	>=dev-libs/libdbusmenu-0.4.90[introspection]

	gnome-base/dconf
	>=sys-libs/glibc-2.4

BDEPEND

	dev-util/intltool
	virtual/pkgconfig