sci-physics/profex - 5.7.2 (stuff)

Search

Install

Install this version:

emerge -a =sci-physics/profex-5.7.2

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

autounmask =sci-physics/profex-5.7.2

Or alternatively:

emerge --autounmask-write -a =sci-physics/profex-5.7.2

Package Information

Description:
Open source XRD and Rietveld refinement (Qt6)
Homepage:
https://www.profex-xrd.org
License:
GPL-2

Ebuild Details

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

EAPI=8

inherit desktop qmake-utils xdg

DESCRIPTION="Open source XRD and Rietveld refinement (Qt6)"
HOMEPAGE="https://www.profex-xrd.org"
# WordPress upload dates are not derivable from PV. verified 2026-09-09
SRC_URI="https://www.profex-xrd.org/wp-content/uploads/2026/08/${P}.tar.gz"
S="${WORKDIR}/${PN}-${PV}"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="bgmn"

# Upstream's Qt 6 build expects bundled zlib, QuaZIP, and ALGLIB projects.
RDEPEND="
	bgmn? ( sci-physics/bgmn )
	dev-qt/qtbase:6=[concurrent,gui,network,sql,widgets,xml]
	dev-qt/qtdeclarative:6
	dev-qt/qtimageformats:6
	dev-qt/qtsvg:6
"
DEPEND="${RDEPEND}"
BDEPEND="dev-qt/qtbase:6"

src_configure() {
	eqmake6 -r profex.pro
}

src_install() {
	# The qmake tree has no install rules; install all generated tools.
	dobin bin/*

	# Version is the desktop-file format, not the application version.
	sed -i -e 's/^Version=.*/Version=1.5/' profex5.desktop || die
	domenu profex5.desktop

	insinto /usr/share/metainfo
	doins org.profex_xrd.Profex.appdata.xml

	dodoc changelog.txt
}

pkg_postinst() {
	xdg_pkg_postinst

	if ! use bgmn; then
		elog "Install ${PN} with USE=bgmn to use the BGMN refinement backend."
		elog "Without it, the data viewer, conversion tools, peak fitting, and"
		elog "support for an externally installed FullProf backend remain available."
	fi
}

USE Flags

Manage flags for this package: euse -i <flag> -p sci-physics/profex | euse -E <flag> -p sci-physics/profex | euse -D <flag> -p sci-physics/profex

Global/Standard Flags

Inherited Eclasses

xdg

Dependencies

DEPEND

	bgmn? ( sci-physics/bgmn )
	dev-qt/qtbase:6=[concurrent,gui,network,sql,widgets,xml]
	dev-qt/qtdeclarative:6
	dev-qt/qtimageformats:6
	dev-qt/qtsvg:6

RDEPEND

	bgmn? ( sci-physics/bgmn )
	dev-qt/qtbase:6=[concurrent,gui,network,sql,widgets,xml]
	dev-qt/qtdeclarative:6
	dev-qt/qtimageformats:6
	dev-qt/qtsvg:6

BDEPEND

dev-qt/qtbase:6

Manifest for 5.7.2

Type File Size Source URLs
DIST profex-5.7.2.tar.gz 11794833 bytes https://www.profex-xrd.org/wp-content/uploads/2026/08/profex-5.7.2.tar.gz