From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1271969-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id D1EF01382C5
	for <garchives@archives.gentoo.org>; Sat, 17 Apr 2021 11:21:27 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id F011DE082B;
	Sat, 17 Apr 2021 11:21:26 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id D5EC3E082B
	for <gentoo-commits@lists.gentoo.org>; Sat, 17 Apr 2021 11:21:26 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 7157E33BE0D
	for <gentoo-commits@lists.gentoo.org>; Sat, 17 Apr 2021 11:21:25 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id CE2C74A5
	for <gentoo-commits@lists.gentoo.org>; Sat, 17 Apr 2021 11:21:23 +0000 (UTC)
From: "Aisha Tammy" <gentoo@aisha.cc>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Aisha Tammy" <gentoo@aisha.cc>
Message-ID: <1618658426.a6aae66475f6a56ad3a3512bb28c63e94bfdd127.epsilon-0@gentoo>
Subject: [gentoo-commits] repo/proj/guru:dev commit in: www-apps/jackett-bin/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: www-apps/jackett-bin/jackett-bin-9999.ebuild
X-VCS-Directories: www-apps/jackett-bin/
X-VCS-Committer: epsilon-0
X-VCS-Committer-Name: Aisha Tammy
X-VCS-Revision: a6aae66475f6a56ad3a3512bb28c63e94bfdd127
X-VCS-Branch: dev
Date: Sat, 17 Apr 2021 11:21:23 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 8b0255d6-b73a-433a-b017-f71bf526e0d3
X-Archives-Hash: 06c7097d752e4cd654cfdd09a7d548b3

commit:     a6aae66475f6a56ad3a3512bb28c63e94bfdd127
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Sat Apr 17 11:20:26 2021 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Sat Apr 17 11:20:26 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a6aae664

www-apps/jackett-bin: add a new live ebuild

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 www-apps/jackett-bin/jackett-bin-9999.ebuild | 45 ++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/www-apps/jackett-bin/jackett-bin-9999.ebuild b/www-apps/jackett-bin/jackett-bin-9999.ebuild
new file mode 100644
index 000000000..b3aa14a71
--- /dev/null
+++ b/www-apps/jackett-bin/jackett-bin-9999.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# cvs inherit hack for making it live
+inherit cvs systemd unpacker
+
+DESCRIPTION="API Support for your favorite torrent trackers"
+HOMEPAGE="https://github.com/Jackett/Jackett"
+
+LICENSE="GPL-2"
+SLOT="0"
+RESTRICT="strip"
+
+RDEPEND="
+	acct-user/jackett
+	app-crypt/mit-krb5
+	dev-libs/icu
+	dev-util/lttng-ust
+"
+
+QA_PREBUILT="*"
+S="${WORKDIR}"/Jackett
+
+src_unpack() {
+	local PKG_BASE_URL="https://github.com/Jackett/Jackett/releases/latest/download/"
+	local PKG_NAME="Jackett.Binaries.LinuxSUBSTVAR.tar.gz"
+	local PKG_URL
+	use amd64 && PKG_NAME="${PKG_NAME/SUBSTVAR/AMDx64}"
+	use arm   && PKG_NAME="${PKG_NAME/SUBSTVAR/ARM32}"
+	use arm64 && PKG_NAME="${PKG_NAME/SUBSTVAR/ARM64}"
+	PKG_URL="${PKG_BASE_URL}${PKG_NAME}"
+	einfo "Fetching ${PKG_URL}"
+	wget "${PKG_URL}" || die
+	unpacker "${PKG_NAME}"
+}
+
+src_install() {
+	dodir /opt/jackett
+	cp -a "${S}"/. "${ED}"/opt/jackett || die
+	newinitd "${FILESDIR}"/jackett.initd jackett
+	systemd_dounit "${FILESDIR}"/jackett.service
+	doenvd "${FILESDIR}"/99jackett
+}