summaryrefslogtreecommitdiff
path: root/x11-misc/simple-ccsm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-misc/simple-ccsm
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/simple-ccsm')
-rw-r--r--x11-misc/simple-ccsm/Manifest4
-rw-r--r--x11-misc/simple-ccsm/metadata.xml6
-rw-r--r--x11-misc/simple-ccsm/simple-ccsm-0.8.4-r2.ebuild53
3 files changed, 63 insertions, 0 deletions
diff --git a/x11-misc/simple-ccsm/Manifest b/x11-misc/simple-ccsm/Manifest
new file mode 100644
index 000000000000..2190e006ca6d
--- /dev/null
+++ b/x11-misc/simple-ccsm/Manifest
@@ -0,0 +1,4 @@
+DIST simple-ccsm-0.8.4.tar.bz2 62423 SHA256 15b24408be48f1e3c69735362dd65ea6b3ddded80e63b87ec40268e2f0f652a3 SHA512 f60a689e18fcea494eacc4eaa8718d77b846af6790cb5de056ecd432fd8b5190ebd4ce6669744b3da408e492f68012503f420e28e66be83b747b2e532b152158 WHIRLPOOL 32cd613ac9ed2e82eb6aa61291824d782a3b3fd7758b36e13cbe0ec28007f3633a95cdaa0fce00db720795039cd73b7244f1100f80ad933a67e21cd498f6f421
+EBUILD simple-ccsm-0.8.4-r2.ebuild 1162 SHA256 d90bf8b77feafc2764bcf0e6732309ec4c2606eed50e47d7faffb72bd87f1fe0 SHA512 af4243ea4764b5d1ef52a7eecd062badf2518d816f224be184e1331f0bf53b2a684964a153ff2450a8faa7f2e72877c60c0fcffe091d71cb8d9a9d3de322a3d3 WHIRLPOOL a991ceb1b7e014b03c6d60e283af9be36c4da89f9bbc5c8658e4620ae0839c05671d24364041f36f8f7a87023099b2f2f539b5e21c4ad3ca92d43ccd799a3d6c
+MISC ChangeLog 605 SHA256 71789525201436efe6200a12eede5936d91d47f81dcace1c56b8256f93cd7065 SHA512 eac491d9b73ec0117d4f7f78c80215d66ce09fe90dbad1e162a57c0b80c08573bdc08417405baf681f4a4009fb2577663a7104e5dbb4e7e71378ec789d8e7078 WHIRLPOOL e043c220ed9df9973fccc9a28add2ace07a69857f18d90eae1d1b8b79efb94e2efdb040034f2f15a430436251222320edd8b242bc2b6f5f8e9b3bd839335b817
+MISC metadata.xml 255 SHA256 6a2cf8d68f5964b583b83dff0ad8092c996ef28e9fa34a7ec8f2f47731e8a3cb SHA512 aebbe0fa1825be6065600fc5289c5751d3d8a16b07d83201b772bb6561114e5d2b1d1d5e53488a55e3458272723a28374cdd1221a87d585161e09ed5d71a6e9d WHIRLPOOL 0a3a92cd06094e1793490977b0dfb0ca5a8ee00f097baacdec3618c46e94936a039d154e5271f31c877be3cda0ab406bcf42f79e2ac5ea87dd5f27fd7f661dd4
diff --git a/x11-misc/simple-ccsm/metadata.xml b/x11-misc/simple-ccsm/metadata.xml
new file mode 100644
index 000000000000..173985d43602
--- /dev/null
+++ b/x11-misc/simple-ccsm/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription lang="en">Simplified Compizconfig Settings Manager.</longdescription>
+</pkgmetadata>
diff --git a/x11-misc/simple-ccsm/simple-ccsm-0.8.4-r2.ebuild b/x11-misc/simple-ccsm/simple-ccsm-0.8.4-r2.ebuild
new file mode 100644
index 000000000000..a56e4fee0107
--- /dev/null
+++ b/x11-misc/simple-ccsm/simple-ccsm-0.8.4-r2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_IN_SOURCE_BUILD=1
+inherit distutils-r1 gnome2-utils
+
+DESCRIPTION="Simplified Compizconfig Settings Manager"
+HOMEPAGE="http://www.compiz.org/"
+SRC_URI="http://releases.compiz.org/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+DEPEND="
+ dev-util/intltool
+ virtual/pkgconfig"
+RDEPEND="
+ >=dev-python/compizconfig-python-${PV}[${PYTHON_USEDEP}]
+ >=dev-python/pygtk-2.10:2[${PYTHON_USEDEP}]
+ >=x11-misc/ccsm-${PV}[${PYTHON_USEDEP}]
+"
+
+python_prepare_all() {
+ # return error if wrong arguments passed to setup.py
+ sed -i -e 's/raise SystemExit/\0(1)/' setup.py || die 'sed on setup.py failed'
+ # fix desktop file
+ sed -i \
+ -e '/Categories/s/Compiz/X-\0/' \
+ -e '/Encoding/d' \
+ "${PN}".desktop.in || die "sed on ${PN}.desktop.in failed"
+
+ distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+ mydistutilsargs=( build --prefix=/usr )
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}