wxedid-0.0.32.ebuild 807 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Copyright 1999-2025 Gentoo Authors
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=8
  4. WX_GTK_VER=3.2-gtk3
  5. inherit toolchain-funcs wxwidgets desktop
  6. DESCRIPTION="wxWidgets-based EDID (Extended Display Identification Data) editor"
  7. HOMEPAGE="https://wxedid.sourceforge.io"
  8. SRC_URI="https://downloads.sourceforge.net/${PN}/${PN}-${PV}.tar.gz"
  9. LICENSE="GPL-3"
  10. SLOT="0"
  11. KEYWORDS="~amd64 ~riscv ~x86"
  12. IUSE=""
  13. RESTRICT="mirror"
  14. BDEPEND="x11-libs/wxGTK:${WX_GTK_VER}"
  15. QA_PRESTRIPPED="usr/bin/wxedid"
  16. S="${WORKDIR}/${PN}-${PV}"
  17. PATCHES=(
  18. "${FILESDIR}"/${PN}_xdg_cfg.patch
  19. )
  20. pkg_setup() {
  21. setup-wxwidgets
  22. }
  23. src_install() {
  24. default
  25. insinto /usr/share/applications
  26. domenu "${FILESDIR}/net.sourceforge.wxEDID.desktop"
  27. doicon -s scalable "${FILESDIR}/net.sourceforge.wxEDID.svg"
  28. }