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

Search

Package Information

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

Ebuild Details

Version EAPI Keywords Slot
3.0.1 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"

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

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
		-DGSETTINGS_LOCALCOMPILE=OFF
	)
	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

doc

Dependencies

DEPEND

	dev-cpp/gtkmm:4.0

RDEPEND

	dev-cpp/gtkmm:4.0

BDEPEND

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

Manifest for 3.0.1

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