gui-apps/openrefine - 3.10.1 (guru)

Search

Install

Install this version:

emerge -a =gui-apps/openrefine-3.10.1

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

autounmask =gui-apps/openrefine-3.10.1

Or alternatively:

emerge --autounmask-write -a =gui-apps/openrefine-3.10.1

Package Information

Description:
Wikidata batch editor, Wikimedia Commons mass upload tool
Homepage:
https://openrefine.org
License:
BSD

Ebuild Details

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

EAPI=8

inherit wrapper

DESCRIPTION="Wikidata batch editor, Wikimedia Commons mass upload tool"
HOMEPAGE="https://openrefine.org"
SRC_URI="https://github.com/OpenRefine/OpenRefine/releases/download/${PV}/${PN}-linux-${PV}.tar.gz
	commons? ( https://github.com/OpenRefine/CommonsExtension/releases/download/v0.1.1/openrefine-commons-0.1.1.zip )"

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

IUSE="+commons"

DEPEND="
	virtual/jre
	dev-java/maven-bin
	net-libs/nodejs
"
BDEPEND="commons? ( app-arch/unzip )"

src_install() {
	local apphome="/opt/${PN}"

	mkdir -p  "${ED}/${apphome}" tools build || die
	chmod 775 tools build || die
	keepdir ${apphome}/{tools,build}

	if use commons ; then
		cp -r "${WORKDIR}/${NANE}/commons-extension" webapp/extensions || die
	fi

	cp -r . "${ED}/${apphome}" || die

	make_wrapper refine "
		env REFINE_LIB_DIR=${apphome}/server/target/lib \
			REFINE_TOOLS_DIR=${apphome}/tools \
			REFINE_CLASSES_DIR=${apphome}/server/classes \
			REFINE_WEBAPP=${apphome}/main/webapp /opt/openrefine/refine"
}

pkg_postinst() {
	elog "In order to use ${PN} run refine in a terminal, from Dmenu also works"
	elog "First run better in terminal - for long installing"
}

USE Flags

Manage flags for this package: euse -i <flag> -p gui-apps/openrefine | euse -E <flag> -p gui-apps/openrefine | euse -D <flag> -p gui-apps/openrefine

Global/Standard Flags

commons
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

	virtual/jre
	dev-java/maven-bin
	net-libs/nodejs

BDEPEND

commons? ( app-arch/unzip )

Manifest for 3.10.1

Type File Size Source URLs
DIST openrefine-commons-0.1.1.zip 2602139 bytes https://github.com/OpenRefine/CommonsExtension/releases/download/v0.1.1/openrefine-commons-0.1.1.zip
DIST openrefine-linux-3.10.1.tar.gz 148777227 bytes https://github.com/OpenRefine/OpenRefine/releases/download/3.10.1/openrefine-linux-3.10.1.tar.gz