Updated xmedcon

This commit is contained in:
2025-10-01 16:04:02 +02:00
parent ef8349d83f
commit dc44ba96e0
3 changed files with 50 additions and 35 deletions
@@ -0,0 +1,46 @@
EAPI=8
inherit autotools
DESCRIPTION="Medical Image Conversion Utility"
HOMEPAGE="http://xmedcon.sourceforge.net"
SRC_URI="https://prdownloads.sourceforge.net/${PN}/${P}.tar.gz"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="+png +gui"
RDEPEND="
png? (
>=media-libs/libpng-1.2.1
)
gui? (
>=x11-libs/gdk-pixbuf-2.36.0
>=x11-libs/gtk+-3.22.0
)
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
DOCS=( AUTHORS COPYING COPYING.LIB INSTALL NEWS README REMARKS )
src_prepare() {
default
eautoreconf
}
src_configure() {
econf $(use_enable png) $(use_enable gui) --prefix=/usr --sysconfdir=/etc
}
src_compile() {
emake
}
src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS COPYING* INSTALL NEWS README REMARKS
}