app-emulation/winegui - 3.1.0 (parona-overlay)

Search

Install

Install this version:

emerge -a =app-emulation/winegui-3.1.0

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

autounmask =app-emulation/winegui-3.1.0

Or alternatively:

emerge --autounmask-write -a =app-emulation/winegui-3.1.0

Package Information

Description:
A user-friendly WINE manager
Homepage:
https://github.com/winegui/WineGUI https://gitlab.melroy.org/melroy/winegui
License:
AGPL-3

Ebuild Details

Version EAPI Keywords Slot
3.1.0 8 ~amd64 0
View Raw Ebuild
# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake gnome2-utils xdg

DESCRIPTION="A user-friendly WINE manager"
HOMEPAGE="
	https://github.com/winegui/WineGUI
	https://gitlab.melroy.org/melroy/winegui
"
if [[ ${PV} == 9999 ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/winegui/WineGUI.git"
else
	SRC_URI="
		https://github.com/winegui/WineGUI/releases/download/v${PV}/WineGUI-Source-v${PV}.tar.gz
	"
fi

LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"

IUSE="doc test"

RESTRICT="!test? ( test )"

DEPEND="
	dev-cpp/gtkmm:4.0
"
RDEPEND="${DEPEND}"
BDEPEND="
	virtual/pkgconfig
	doc? (
		app-text/doxygen[dot]
	)
"

PATCHES=(
	"${FILESDIR}"/winegui-3.1.0-tests.patch
)

src_unpack() {
	mkdir "${S}" || die
	cd "${S}" || die
	unpack WineGUI-Source-v${PV}.tar.gz
}

src_prepare() {
	cmake_src_prepare

	# no automagic ccache
	sed -e '/find_program(CCACHE_PROGRAM ccache)/d' -i CMakeLists.txt || die

	# -Werror is excessive
	sed -e '/set(CMAKE_CXX_FLAGS/ s/-Werror//' -i CMakeLists.txt || die
}

src_configure() {
	local mycmakeargs=(
		-DDOXYGEN=$(usex doc)
		-DCHECK_FOR_UPDATE=OFF
		-DUNITTEST=$(usex test)

		-DGSETTINGS_LOCALCOMPILE=OFF

		-DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS
	)
	cmake_src_configure
}

pkg_preinst() {
	xdg_pkg_preinst
	gnome2_schemas_savelist
}

pkg_postinst() {
	xdg_pkg_postinst
	gnome2_schemas_update
}

pkg_postrm() {
	xdg_pkg_postrm
	gnome2_schemas_update
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-emulation/winegui | euse -E <flag> -p app-emulation/winegui | euse -D <flag> -p app-emulation/winegui

Global/Standard Flags

doc

Inherited Eclasses

xdg

Dependencies

DEPEND

	dev-cpp/gtkmm:4.0

RDEPEND

	dev-cpp/gtkmm:4.0

BDEPEND

	virtual/pkgconfig
	doc? (
		app-text/doxygen[dot]
	)

Manifest for 3.1.0

Type File Size Source URLs
DIST WineGUI-Source-v3.1.0.tar.gz 1942800 bytes https://github.com/winegui/WineGUI/releases/download/v3.1.0/WineGUI-Source-v.tar.gz