summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-10-20 17:59:40 +0200
committerMichał Górny <mgorny@gentoo.org>2020-10-20 17:59:40 +0200
commit6ad554b297eef7657f056f907e492fead489b3a2 (patch)
tree3ff3df681ab76ba72c7113040f5d9fbbd89a9635 /eclass
parentprofiles: Remove leechcraft leftovers (diff)
downloadgentoo-6ad554b297eef7657f056f907e492fead489b3a2.tar.gz
gentoo-6ad554b297eef7657f056f907e492fead489b3a2.tar.bz2
gentoo-6ad554b297eef7657f056f907e492fead489b3a2.zip
leechcraft.eclass: Remove
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/leechcraft.eclass60
1 files changed, 0 insertions, 60 deletions
diff --git a/eclass/leechcraft.eclass b/eclass/leechcraft.eclass
deleted file mode 100644
index c53f6712d863..000000000000
--- a/eclass/leechcraft.eclass
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-#
-# @ECLASS: leechcraft.eclass
-# @MAINTAINER:
-# 0xd34df00d@gmail.com
-# @AUTHOR:
-# 0xd34df00d@gmail.com
-# NightNord@niifaq.ru
-# @SUPPORTED_EAPIS: 6 7
-# @BLURB: Common functions and setup utilities for the LeechCraft app
-# @DESCRIPTION:
-# The leechcraft eclass contains a common set of functions and steps
-# needed to build LeechCraft core or its plugins.
-#
-# Though this eclass seems to be small at the moment, it seems like a
-# good idea to make all plugins inherit from it, since all plugins
-# have mostly the same configuring/build process.
-#
-# Thanks for original eclass to Andrian Nord <NightNord@niifaq.ru>.
-#
-# Only EAPI >=6 is supported
-
-case ${EAPI:-0} in
- 6) inherit cmake-utils ;;
- 7) inherit cmake ;;
- *) die "EAPI not supported, bug ebuild mantainer" ;;
-esac
-
-if [[ ${PV} == 9999 ]]; then
- EGIT_REPO_URI="https://github.com/0xd34df00d/leechcraft.git"
-
- inherit git-r3
-else
- SRC_URI="https://dist.leechcraft.org/LeechCraft/${PV}/leechcraft-${PV}.tar.xz"
- S="${WORKDIR}/leechcraft-${PV}"
-fi
-
-HOMEPAGE="https://leechcraft.org/"
-LICENSE="Boost-1.0"
-
-DEPEND="
- dev-qt/qtcore:5
- dev-qt/qtgui:5
-"
-RDEPEND="${DEPEND}"
-
-# @ECLASS-VARIABLE: LEECHCRAFT_PLUGIN_CATEGORY
-# @DEFAULT_UNSET
-# @DESCRIPTION:
-# Set this to the category of the plugin, if any.
-: ${LEECHCRAFT_PLUGIN_CATEGORY:=}
-
-if [[ "${LEECHCRAFT_PLUGIN_CATEGORY}" ]]; then
- CMAKE_USE_DIR="${S}"/src/plugins/${LEECHCRAFT_PLUGIN_CATEGORY}/${PN#lc-}
-elif [[ ${PN} != lc-core ]]; then
- CMAKE_USE_DIR="${S}"/src/plugins/${PN#lc-}
-else
- CMAKE_USE_DIR="${S}"/src
-fi