summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gmail.com>2018-10-18 09:10:26 +0300
committerMichał Górny <mgorny@gentoo.org>2018-10-19 10:13:02 +0200
commit9a380a6dc984e401960c2613b0e7858fb5a20eb7 (patch)
tree3cfbc8f2f68af98ea4d1ef8f57c2fbcc384debb0 /eclass
parentsys-apps/smc-sum: bump to version 2.1.0.20180903 (diff)
downloadgentoo-9a380a6dc984e401960c2613b0e7858fb5a20eb7.tar.gz
gentoo-9a380a6dc984e401960c2613b0e7858fb5a20eb7.tar.bz2
gentoo-9a380a6dc984e401960c2613b0e7858fb5a20eb7.zip
enlightenment.eclass: remove last-rited eclass
Closes: https://bugs.gentoo.org/666460 Signed-off-by: Joonas Niilola <juippis@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/10164 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/enlightenment.eclass185
1 files changed, 0 insertions, 185 deletions
diff --git a/eclass/enlightenment.eclass b/eclass/enlightenment.eclass
deleted file mode 100644
index 1de976c32d9c..000000000000
--- a/eclass/enlightenment.eclass
+++ /dev/null
@@ -1,185 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# @DEAD
-# Joonas Niilola <juippis@gmail.com> (18 Aug 2018)
-# Outdated, unmaintained, not being used by any package in the tree,
-# has unattended bugs open.
-# Bug: #666460. Removal in ~30 days.
-
-# @ECLASS: enlightenment.eclass
-# @MAINTAINER:
-# maintainer-needed@gentoo.org
-# @BLURB: simplify enlightenment package management
-
-if [[ -z ${_ENLIGHTENMENT_ECLASS} ]]; then
-_ENLIGHTENMENT_ECLASS=1
-
-inherit epatch epunt-cxx libtool
-
-# @ECLASS-VARIABLE: E_PYTHON
-# @DEFAULT_UNSET
-# @DESCRIPTION:
-# if defined, the package is based on Python/distutils
-
-# @ECLASS-VARIABLE: E_CYTHON
-# @DEFAULT_UNSET
-# @DESCRIPTION:
-# if defined, the package is Cython bindings (implies E_PYTHON)
-
-# @ECLASS-VARIABLE: E_ECONF
-# @DESCRIPTION:
-# Array of flags to pass to econf (obsoletes MY_ECONF)
-E_ECONF=()
-
-# E_STATE's:
-# release [default]
-# SRC_URI $P.tar.gz
-# S $WORKDIR/$P
-#
-# snap $PV has .200##### datestamp or .### counter
-# SRC_URI $P.tar.bz2
-# S $WORKDIR/$P
-#
-# live $PV has a 9999 marker
-# KEYWORDS ""
-# SRC_URI git/etc... up
-# S $WORKDIR/$E_S_APPEND
-#
-# Overrides:
-# KEYWORDS EKEY_STATE
-# SRC_URI EURI_STATE
-# S EURI_STATE
-
-E_LIVE_SERVER_DEFAULT_GIT="https://git.enlightenment.org"
-
-E_STATE="release"
-if [[ ${PV} == *9999* ]] ; then
- if [[ ${EGIT_URI_APPEND} ]] ; then
- E_LIVE_SERVER=${E_LIVE_SERVER:-${E_LIVE_SERVER_DEFAULT_GIT}}
- EGIT_URI_APPEND=${EGIT_URI_APPEND:-${PN}}
- EGIT_PROJECT="enlightenment/${EGIT_SUB_PROJECT}/${EGIT_URI_APPEND}"
- EGIT_REPO_URI=${EGIT_SERVER:-${E_LIVE_SERVER_DEFAULT_GIT}}/${EGIT_SUB_PROJECT}/${EGIT_URI_APPEND}.git
- E_S_APPEND=${EGIT_URI_APPEND}
- E_LIVE_SOURCE="git"
- inherit git-2
- fi
- E_STATE="live"
- WANT_AUTOTOOLS="yes"
-
-elif [[ -n ${E_SNAP_DATE} ]] ; then
- E_STATE="snap"
-else
- E_STATE="release"
-fi
-
-# Parse requested python state
-: ${E_PYTHON:=${E_CYTHON}}
-if [[ -n ${E_PYTHON} ]] ; then
- PYTHON_DEPEND="2"
-
- inherit python
-fi
-
-if [[ ${WANT_AUTOTOOLS} == "yes" ]] ; then
- WANT_AUTOCONF=${E_WANT_AUTOCONF:-latest}
- WANT_AUTOMAKE=${E_WANT_AUTOMAKE:-latest}
- inherit autotools
-fi
-
-ENLIGHTENMENT_EXPF="src_unpack src_compile src_install"
-case "${EAPI:-0}" in
-2|3|4|5) ENLIGHTENMENT_EXPF+=" src_prepare src_configure" ;;
-*) ;;
-esac
-EXPORT_FUNCTIONS ${ENLIGHTENMENT_EXPF}
-
-DESCRIPTION="An Enlightenment Foundation production"
-HOMEPAGE="https://www.enlightenment.org"
-if [[ -z ${SRC_URI} ]] ; then
- case ${EURI_STATE:-${E_STATE}} in
- release) SRC_URI="mirror://sourceforge/enlightenment/${P}.tar.gz";;
- snap) SRC_URI="http://download.enlightenment.org/snapshots/${E_SNAP_DATE}/${P}.tar.bz2";;
- live) SRC_URI="";;
- esac
-fi
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="nls doc"
-
-DEPEND="doc? ( app-doc/doxygen )
- ${E_PYTHON:+>=dev-python/setuptools-0.6_rc9}
- ${E_CYTHON:+>=dev-python/cython-0.12.1}"
-RDEPEND="nls? ( sys-devel/gettext )"
-
-case ${EURI_STATE:-${E_STATE}} in
- release) S=${WORKDIR}/${P};;
- snap) S=${WORKDIR}/${P};;
- live) S=${WORKDIR}/${E_S_APPEND};;
-esac
-
-enlightenment_src_unpack() {
- if [[ ${E_STATE} == "live" ]] ; then
- case ${E_LIVE_SOURCE} in
- git) git-2_src_unpack;;
- *) die "eek!";;
- esac
- else
- unpack ${A}
- fi
- if ! has src_prepare ${ENLIGHTENMENT_EXPF} ; then
- cd "${S}" || die
- enlightenment_src_prepare
- fi
-}
-
-enlightenment_src_prepare() {
- epatch_user
- [[ -s gendoc ]] && chmod a+rx gendoc
- if [[ ${WANT_AUTOTOOLS} == "yes" ]] ; then
- [[ -d po ]] && eautopoint -f
- # autotools require README, when README.in is around, but README
- # is created later in configure step
- [[ -f README.in ]] && touch README
- eautoreconf
- fi
- epunt_cxx
- elibtoolize
-}
-
-enlightenment_src_configure() {
- # gstreamer sucks, work around it doing stupid stuff
- export GST_REGISTRY="${S}/registry.xml"
- has static-libs ${IUSE} && E_ECONF+=( $(use_enable static-libs static) )
-
- econf ${MY_ECONF} "${E_ECONF[@]}"
-}
-
-enlightenment_src_compile() {
- has src_configure ${ENLIGHTENMENT_EXPF} || enlightenment_src_configure
-
- V=1 emake || die
-
- if use doc ; then
- if [[ -x ./gendoc ]] ; then
- ./gendoc || die
- elif emake -j1 -n doc >&/dev/null ; then
- V=1 emake doc || die
- fi
- fi
-}
-
-enlightenment_src_install() {
- V=1 emake install DESTDIR="${D}" || die
- find "${D}" '(' -name CVS -o -name -o -name .git ')' -type d -exec rm -rf '{}' \; 2>/dev/null
- for d in AUTHORS ChangeLog NEWS README TODO ${EDOCS}; do
- [[ -f ${d} ]] && dodoc ${d}
- done
- use doc && [[ -d doc ]] && dohtml -r doc/*
- if has static-libs ${IUSE} ; then
- use static-libs || find "${D}" -name '*.la' -exec rm -f {} +
- fi
-}
-
-fi