x11-terms/dmd5620 - 2.1.0 (guru)

Search

Install

Install this version:

emerge -a =x11-terms/dmd5620-2.1.0

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

autounmask =x11-terms/dmd5620-2.1.0

Or alternatively:

emerge --autounmask-write -a =x11-terms/dmd5620-2.1.0

Package Information

Description:
GTK+ 3.0 implementation of an AT&T / Teletype DMD 5620 emulator
Homepage:
https://git.loomcom.com/seth/dmd_gtk
License:
MIT

Ebuild Details

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

EAPI=8

inherit toolchain-funcs xdg-utils

DESCRIPTION="GTK+ 3.0 implementation of an AT&T / Teletype DMD 5620 emulator"
HOMEPAGE="https://git.loomcom.com/seth/dmd_gtk"
SRC_URI="https://git.loomcom.com/seth/dmd_gtk/archive/db99836fc2d5d5c3d3b361f7998aee00e423564b.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/dmd_gtk"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

RESTRICT="test mirror"

RDEPEND="
	>=dev-libs/dmd_core-0.7.1
	x11-libs/gtk+:3
	x11-libs/gdk-pixbuf
	x11-libs/cairo
	dev-libs/glib:2
"
DEPEND="${RDEPEND}"

BDEPEND="
	${RDEPEND}
	virtual/pkgconfig
"

src_prepare() {
	# remove leftover of bundled library which is not properly packaged in github releases anyways
	rmdir "${S}"/dmd_core
	# apply patches
	eapply "${FILESDIR}/${PN}-2.1.0-consolidated.patch"
	eapply_user
	# use system pkgconfig
	sed -i -e "s:pkgconfig:$(tc-getPKG_CONFIG):" "${S}"/Makefile || die "sed failed"
}

src_compile() {
	emake CC="$(tc-getCC)" LD="$(tc-getLD)"
}

src_install() {
	emake PREFIX=/usr DESTDIR="${D}" install
	dodoc "${S}/LICENSE.md"
	dodoc "${S}/README.md"
}

pkg_postinst() {
	xdg_icon_cache_update
}

pkg_postrm() {
	xdg_icon_cache_update
}

Inherited Eclasses

Dependencies

DEPEND

	>=dev-libs/dmd_core-0.7.1
	x11-libs/gtk+:3
	x11-libs/gdk-pixbuf
	x11-libs/cairo
	dev-libs/glib:2

RDEPEND

	>=dev-libs/dmd_core-0.7.1
	x11-libs/gtk+:3
	x11-libs/gdk-pixbuf
	x11-libs/cairo
	dev-libs/glib:2

BDEPEND

	
	>=dev-libs/dmd_core-0.7.1
	x11-libs/gtk+:3
	x11-libs/gdk-pixbuf
	x11-libs/cairo
	dev-libs/glib:2

	virtual/pkgconfig

Manifest for 2.1.0

Type File Size Source URLs
DIST dmd5620-2.1.0.tar.gz 14485 bytes https://git.loomcom.com/seth/dmd_gtk/archive/db99836fc2d5d5c3d3b361f7998aee00e423564b.tar.gz