summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDustin Polke <dustin.polke@uni-siegen.de>2011-10-06 17:00:43 +0200
committerDustin Polke <dustin.polke@uni-siegen.de>2011-10-06 17:33:53 +0200
commit814cb010fcd72ca3c8019def6af71788960a9493 (patch)
tree8430128d3045e1cfb9147c4a731b080271f7bef3 /x11-plugins
parentPkg move x11-misc/cairo-dock-plugins-stable -> x11-plugins/cd-plugins-stable. (diff)
downloadDuPol-814cb010fcd72ca3c8019def6af71788960a9493.tar.gz
DuPol-814cb010fcd72ca3c8019def6af71788960a9493.tar.bz2
DuPol-814cb010fcd72ca3c8019def6af71788960a9493.zip
Pkg move x11-misc/cairo-dock-plugins-thirdparty -> x11-plugins/cd-plugins-thirdparty.
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/cd-plugins-thirdparty/ChangeLog21
-rw-r--r--x11-plugins/cd-plugins-thirdparty/Manifest6
-rw-r--r--x11-plugins/cd-plugins-thirdparty/cd-plugins-thirdparty-2.3.ebuild74
-rw-r--r--x11-plugins/cd-plugins-thirdparty/metadata.xml15
4 files changed, 116 insertions, 0 deletions
diff --git a/x11-plugins/cd-plugins-thirdparty/ChangeLog b/x11-plugins/cd-plugins-thirdparty/ChangeLog
new file mode 100644
index 0000000..1ba8570
--- /dev/null
+++ b/x11-plugins/cd-plugins-thirdparty/ChangeLog
@@ -0,0 +1,21 @@
+# ChangeLog for x11-plugins/cd-plugins-thirdparty
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*cd-plugins-thirdparty-2.3 (06 Oct 2011)
+
+ 06 Oct 2011; Dustin Polke <dustin.polke@uni-siegen.de>
+ +cd-plugins-thirdparty-2.3.ebuild, +metadata.xml:
+ Pkg move x11-misc/cairo-dock-plugins-thirdparty ->
+ x11-plugins/cd-plugins-thirdparty.
+
+ 26 Sep 2011; Dustin Polke <dustin.polke@uni-siegen.de> metadata.xml:
+ Drop <herd>no-herd</herd> from metadata.xml and add me as maintainer if
+ missing.
+
+*cairo-dock-plugins-thirdparty-2.3 (16 Sep 2011)
+
+ 16 Sep 2011; Dustin Polke <dustin.polke@uni-siegen.de>
+ +cairo-dock-plugins-thirdparty-2.3.ebuild, +metadata.xml:
+ Initial import; ebuild by me.
+
diff --git a/x11-plugins/cd-plugins-thirdparty/Manifest b/x11-plugins/cd-plugins-thirdparty/Manifest
new file mode 100644
index 0000000..94f31c8
--- /dev/null
+++ b/x11-plugins/cd-plugins-thirdparty/Manifest
@@ -0,0 +1,6 @@
+DIST Pidgin-Purple-theme.tar.bz2 173287 RMD160 6d04554b286fb21a53e5eefdabec9d13c3ac9bc7 SHA1 f65ee11e33ff75f4f47d3374862ae052edae9984 SHA256 e0d2893a3d28a978105d9d8a1b2b6abf0159174523c7315c4a852d88510cd270
+DIST Pidgin.tar.gz 483381 RMD160 0be9884d56787d71032f5ba54a7782d32ee4da1c SHA1 302aa86d0d8252d41f6001a390fd183482c8bfeb SHA256 f91d9a7a37f546868c811976602db362122a3d771d7d84df59376c40a9cbb386
+DIST Xchat.tar.gz 9057 RMD160 6547c6c16e1d684a9088e5fb1772d17a793ad252 SHA1 c8b12f0b7d93f99a8fddf78d9efc245cb236b971 SHA256 9ba9ec85c7c364b39c09345978c0c2f880ae396f742c268f3f9be0c205616178
+EBUILD cd-plugins-thirdparty-2.3.ebuild 1894 RMD160 3713f979bf05c562632e8099fd85c45a254e11ea SHA1 4ebce27fb70a416d2b87ba325fa2abf435b4ed0d SHA256 14fd293d1c5955843fa665532de31d3f5b4161a912072cb499ae75ff1389f3be
+MISC ChangeLog 733 RMD160 cf2c2db9a7c0838b2718504fb18be7d2917e38e6 SHA1 3ec7ae8918ed98ec9a90d2776b8e34f1b5b0f51c SHA256 c80618670829b581abf022e58bfbbf0f7b80e43f22bd6e31e751240c7c04c403
+MISC metadata.xml 555 RMD160 5dd4a8621966c4838620dccb59a6d3de277866c1 SHA1 4760f5bdf6741b573e71c806b188f77f671091a7 SHA256 bb425c5cad46608291b1b29cff6922e9c0335b60d7cf7aaedb34cf7f8e293499
diff --git a/x11-plugins/cd-plugins-thirdparty/cd-plugins-thirdparty-2.3.ebuild b/x11-plugins/cd-plugins-thirdparty/cd-plugins-thirdparty-2.3.ebuild
new file mode 100644
index 0000000..ac01d3a
--- /dev/null
+++ b/x11-plugins/cd-plugins-thirdparty/cd-plugins-thirdparty-2.3.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+#SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit multilib python
+
+DESCRIPTION="Third-party plugins for cairo-dock"
+HOMEPAGE="http://www.glx-dock.org/mc_album.php?a=6"
+SRC_URI_BASE="http://download.tuxfamily.org/glxdock/mediacolor/album6"
+SRC_URI="pidgin? ( ${SRC_URI_BASE}/1297178000_be5288d94a/Pidgin.tar.gz
+ http://home.arcor.de/dpolke/distfiles/Pidgin-Purple-theme.tar.bz2 )
+ xchat? ( ${SRC_URI_BASE}/1297178001_cdbccd3f19/Xchat.tar.gz )"
+
+LICENSE="|| ( GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="pidgin xchat"
+#REQUIRED_USE="|| ( ${IUSE} )"
+
+RDEPEND="=x11-plugins/cd-plugins-core-${PV}*[python]"
+DEPEND=""
+
+S="${WORKDIR}"
+
+pkg_setup() {
+ # !!! right now REQUIRED_USE cannot be used because !!!
+ # !!! python eclass does not support EAPI="4" yet !!!
+ # BEGIN
+ local plugin count=0
+ for plugin in ${IUSE}; do
+ use ${plugin} && $(( count++ )) 2>/dev/null
+ done
+ [ ${count} -eq 0 ] && \
+ die "No plugin selected for installation! Abort"
+ # END
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ python_convert_shebangs -r 2 .
+ # fix preview link
+ if use pidgin; then
+ mv Pidgin/themes/Eve-Wall-E/preview{@,} || die
+ fi
+}
+
+my_installplugin() {
+ if use $1; then
+ local CD_THIRDPARTY_DIR="/usr/$(get_libdir)/cairo-dock/third-party"
+ dodir "${CD_THIRDPARTY_DIR}"
+
+ sed -e "/^from /s/\(CDApplet\)/cairodock.\1/" \
+ -e "/CDApplet$/s/$/ as CDApplet/" \
+ -i $2/$2 || die
+ cp -R $2 "${ED}/${CD_THIRDPARTY_DIR}/" || die
+ fi
+}
+
+src_install() {
+ my_installplugin pidgin Pidgin
+ my_installplugin xchat Xchat
+}
+
+pkg_postinst() {
+ elog "These plugins can be made available by creating a symlink from"
+ elog "'${ROOT}usr/$(get_libdir)/cairo-dock/third-party' to"
+ elog "'\${HOME}/.config/cairo-dock/third-party'"
+}
diff --git a/x11-plugins/cd-plugins-thirdparty/metadata.xml b/x11-plugins/cd-plugins-thirdparty/metadata.xml
new file mode 100644
index 0000000..806fa94
--- /dev/null
+++ b/x11-plugins/cd-plugins-thirdparty/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <use>
+ <flag name="pidgin">Installs Pidgin plugin for <pkg>x11-misc/cairo-dock</pkg>.</flag>
+ <flag name="xchat">Installs XChat plugin for <pkg>x11-misc/cairo-dock</pkg>.</flag>
+ </use>
+ <longdescription>
+ cd-plugins-thirdparty offers third-party plugins for <pkg>x11-misc/cairo-dock</pkg>.
+ </longdescription>
+ <maintainer>
+ <email>dustin.polke@uni-siegen.de</email>
+ <name>Dustin Polke</name>
+ </maintainer>
+</pkgmetadata>