summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Cristian B. <steven.darklight@gmail.com>2015-07-03 00:39:01 +0300
committerStefan Cristian B. <steven.darklight@gmail.com>2015-07-03 00:39:01 +0300
commit8c272fb3c393f127db918b8a6820900e6e5e86bd (patch)
tree37e899cefad92bd1deebdf078f96f1a95bccf09d
parentcd2b66138df7abfa3690b205f6b1ede2658893a3 (diff)
parent54c5223b2bb13691f2aee29ad354d04d01eb5f2a (diff)
Merge pull request #55 from Rogentos/revert-54-master
Revert "add eclass deadbeef"
-rw-r--r--eclass/deadbeef-plugins.eclass44
1 files changed, 0 insertions, 44 deletions
diff --git a/eclass/deadbeef-plugins.eclass b/eclass/deadbeef-plugins.eclass
deleted file mode 100644
index 68c77ccf..00000000
--- a/eclass/deadbeef-plugins.eclass
+++ /dev/null
@@ -1,44 +0,0 @@
-# Distributed under the terms of the GNU General Public License v2
-
-# @ECLASS: deadbeef-plugins.eclass
-# @MAINTAINER:
-# Roman Kuzmitsky <damex.pp@gmail.com>
-# @BLURB: Eclass for automating deadbeef player plugins installation.
-# @DESCRIPTION:
-# This eclass makes trivial deadbeef plugin ebuilds possible.
-# Many things that would normally be done manually is automated.
-
-if [[ "${EAPI}" -lt 5 ]] ; then
- die "EAPI="${EAPI}" is not supported"
-fi
-
-inherit eutils
-
-: ${SLOT:=0}
-
-RDEPEND+=" media-sound/deadbeef:0"
-DEPEND+=" media-sound/deadbeef:0"
-
-RESTRICT+=" mirror"
-
-if [[ "${DEADBEEF_GUI}" == "yes" ]] ; then
- IUSE+=" +gtk2 gtk3"
- REQUIRED_USE="|| ( gtk2 gtk3 )"
- GUI_DEPEND="gtk2? ( media-sound/deadbeef:0[gtk2] )
- gtk3? ( media-sound/deadbeef:0[gtk3] )"
- RDEPEND+=" ${GUI_DEPEND}"
- DEPEND+=" ${GUI_DEPEND}"
-fi
-
-EXPORT_FUNCTIONS "src_install"
-
-# @FUNCTION: deadbeef-plugins_src_install
-# @DESCRIPTION:
-# Looking for a *.so deadbeef plugins and installs found plugins to corresponding deadbeef directory.
-deadbeef-plugins_src_install() {
- local plugins=`find "${WORKDIR}" -name "*.so" -type f`
- for plugin in ${plugins} ; do
- insinto "/usr/$(get_libdir)/deadbeef"
- doins "${plugin}"
- done
-}