mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-22 15:09:04 +02:00
It checks for FreeBSD's sysmouse, badly. Explicitly disable check Closes: https://bugs.gentoo.org/939138 Bug: https://bugs.gentoo.org/930028 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/40140 Signed-off-by: Sam James <sam@gentoo.org>
58 lines
1.1 KiB
Bash
58 lines
1.1 KiB
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit autotools desktop
|
|
|
|
DESCRIPTION="Aumix volume/mixer control program"
|
|
HOMEPAGE="http://jpj.net/~trevor/aumix.html"
|
|
SRC_URI="http://jpj.net/~trevor/aumix/releases/${P}.tar.bz2"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha amd64 arm ~hppa ~mips ppc ppc64 sparc x86"
|
|
IUSE="gpm gtk nls"
|
|
|
|
RDEPEND="sys-libs/ncurses:0=
|
|
gpm? ( sys-libs/gpm )
|
|
gtk? ( x11-libs/gtk+:2 )
|
|
nls? ( virtual/libintl )"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="
|
|
virtual/pkgconfig
|
|
nls? ( sys-devel/gettext )
|
|
"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${P}-tinfo.patch #578722
|
|
"${FILESDIR}"/${P}-fno-common.patch
|
|
"${FILESDIR}"/${P}-gcc14-build-fix.patch
|
|
)
|
|
|
|
src_prepare() {
|
|
default
|
|
eautoreconf #578722
|
|
}
|
|
|
|
src_configure() {
|
|
local myeconfargs=(
|
|
$(use_enable nls)
|
|
$(usex gtk '' --without-gtk)
|
|
$(usex gpm '' --without-gpm)
|
|
--without-sysmouse #921162
|
|
)
|
|
|
|
econf "${myeconfargs[@]}"
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
|
|
newinitd "${FILESDIR}"/aumix.rc6 aumix
|
|
|
|
if use gtk; then
|
|
doicon data/aumix.xpm
|
|
make_desktop_entry aumix Aumix
|
|
fi
|
|
}
|