public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: net-misc/cernbox-client/
Date: Fri, 17 Dec 2021 10:44:04 +0000 (UTC)	[thread overview]
Message-ID: <1639737838.919adcf3380de65fd71af28bf9bbb1833309dd4b.andrewammerlaan@gentoo> (raw)

commit:     919adcf3380de65fd71af28bf9bbb1833309dd4b
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Thu Dec 16 18:48:34 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Dec 17 10:43:58 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=919adcf3

net-misc/cernbox-client: Bump to 2.9.2.6206.

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 .../cernbox-client-2.9.2.6206.ebuild               | 83 ++++++++++++++++++++++
 1 file changed, 83 insertions(+)

diff --git a/net-misc/cernbox-client/cernbox-client-2.9.2.6206.ebuild b/net-misc/cernbox-client/cernbox-client-2.9.2.6206.ebuild
new file mode 100644
index 000000000..27080cd72
--- /dev/null
+++ b/net-misc/cernbox-client/cernbox-client-2.9.2.6206.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake rpm xdg
+
+DESCRIPTION="Synchronize files from CERNBox EOS with your computer"
+
+# Origin is classic owncloud-client, branded for CERN during compilation.
+ORIGIN_PN="ownCloud"
+BRANDED_P="cernbox"
+BRANDED_PV="2.7.1"
+BRANDED_REL="2596"
+HOMEPAGE="https://cernbox.cern.ch/"
+SRC_URI="https://download.owncloud.com/desktop/${ORIGIN_PN}/stable/${PV}/source/${ORIGIN_PN}-${PV}.tar.xz
+	https://cernbox.cern.ch/cernbox/doc/Linux/repo/CentOS_7/src/${PN}-${BRANDED_PV}-${BRANDED_REL}.src.rpm
+	https://cern.ch/ofreyerm/gentoo/cernbox/${PN}-${BRANDED_PV}-${BRANDED_REL}.src.rpm"
+
+LICENSE="CC-BY-3.0 GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dolphin gnome-keyring nautilus test"
+
+COMMON_DEPEND=">=dev-db/sqlite-3.4:3
+	dev-libs/qtkeychain[gnome-keyring?,qt5(+)]
+	dev-qt/qtconcurrent:5
+	dev-qt/qtcore:5
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5[ssl]
+	dev-qt/qtsql:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	sys-fs/inotify-tools
+	dolphin? (
+		kde-frameworks/kcoreaddons:5
+		kde-frameworks/kio:5
+	)
+	nautilus? ( dev-python/nautilus-python )"
+
+RDEPEND="${COMMON_DEPEND}"
+DEPEND="${COMMON_DEPEND}
+	dev-qt/linguist-tools:5
+	kde-frameworks/extra-cmake-modules
+	test? (
+		dev-util/cmocka
+		dev-qt/qttest:5
+	)"
+
+RESTRICT="!test? ( test )"
+
+S=${WORKDIR}/${ORIGIN_PN}-${PV}
+
+PATCHES=( "${FILESDIR}"/cernbox-theme-2.9.1.patch )
+
+src_unpack() {
+	rpm_src_unpack ${PN}-${BRANDED_PV}-${BRANDED_REL}.src.rpm || die "failed to extract branding RPM"
+	mv ${PN%-*}-${BRANDED_PV}.${BRANDED_REL}/branding "${S}" || die "failed to extract branding"
+}
+
+src_prepare() {
+	# Keep tests in ${T}
+	sed -i -e "s#\"/tmp#\"${T}#g" test/test*.cpp || die
+
+	if ! use nautilus; then
+		pushd shell_integration > /dev/null || die
+		cmake_comment_add_subdirectory nautilus
+		popd > /dev/null || die
+	fi
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc
+		-DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
+		-DBUILD_SHELL_INTEGRATION_DOLPHIN=$(usex dolphin)
+		-DBUILD_TESTING=$(usex test)
+	)
+
+	cmake_src_configure
+}


             reply	other threads:[~2021-12-17 10:44 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-17 10:44 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-08-28  7:26 [gentoo-commits] proj/sci:master commit in: net-misc/cernbox-client/ Andrew Ammerlaan
2023-08-16 11:29 Andrew Ammerlaan
2023-05-22 13:28 Andrew Ammerlaan
2023-05-22 13:28 Andrew Ammerlaan
2022-11-15 21:08 Andrew Ammerlaan
2022-09-27 10:23 Andrew Ammerlaan
2022-09-27 10:23 Andrew Ammerlaan
2022-06-18 14:23 Andrew Ammerlaan
2022-01-23 10:26 Andrew Ammerlaan
2022-01-23 10:26 Andrew Ammerlaan
2021-10-26 10:44 Andrew Ammerlaan
2021-10-26 10:44 Andrew Ammerlaan
2021-06-05 18:55 Andrew Ammerlaan
2021-06-05 18:55 Andrew Ammerlaan
2021-02-21 16:33 Andrew Ammerlaan
2021-02-21 16:33 Andrew Ammerlaan
2021-02-06  4:50 Andrew Ammerlaan
2021-01-03 19:21 Horea Christian
2018-04-02 12:45 Justin Lecher
2017-04-03 14:55 Marius Brehler
2017-03-16 19:35 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1639737838.919adcf3380de65fd71af28bf9bbb1833309dd4b.andrewammerlaan@gentoo \
    --to=andrewammerlaan@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox