summaryrefslogtreecommitdiff
path: root/x11-themes/elementary-icon-theme
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-03-05 11:00:53 +0000
committerV3n3RiX <venerix@rogentos.ro>2016-03-05 11:00:53 +0000
commite8963683db76581942b4d37d4e54b396ee44c5cf (patch)
tree8b2ce724c91248b76b849fa696841cb6645b2a42 /x11-themes/elementary-icon-theme
parent79fc2630bd20ce9e578a33248e01b167187839e6 (diff)
drop some unused themes, change faenza-cupertino EAPI, fix distfiles
Diffstat (limited to 'x11-themes/elementary-icon-theme')
-rw-r--r--x11-themes/elementary-icon-theme/Manifest2
-rw-r--r--x11-themes/elementary-icon-theme/elementary-icon-theme-2.7.1-r1.ebuild107
2 files changed, 0 insertions, 109 deletions
diff --git a/x11-themes/elementary-icon-theme/Manifest b/x11-themes/elementary-icon-theme/Manifest
deleted file mode 100644
index a624e2de..00000000
--- a/x11-themes/elementary-icon-theme/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST elementary-icon-theme-2.7.1.tar.gz 4100761 SHA256 4cfe73d9da3f6262a724bd787126dcbf0957b107e3f36d22a0baf60fef7706e6 SHA512 55af14b171756f2e8ba6b5a9956eb28bbe9bae3ac15acbd0088e177077b84f10efc30d4c5cb5508829f67dc924654f52a5a758f9b4fd455c9baa01bd997ce84c WHIRLPOOL 60ab35db6022050342aa2102315e30e54ab455f3efcf8cf925ab8b400f5100228ee7f95fbc4f70f6c12b7414eb0ea0f4fa88f4ccb9a3b4282601f2b42aa585e3
-DIST fdo-icons-rogentos1.tar.gz 507041 SHA256 5ff12b6861abd002e95777a43fb71afb56024ba4684e0a212a990ad8aa1a428d SHA512 3b95d5116984ef802d4ad12cba856096f5f481216a42fe09334929d338179a7d55a15754aa8e20dca08c6fdb19ad096e96d24b9e7dd5198b0d93eb379f3e3d3d WHIRLPOOL a66b53dcb3888c5896da05a5abaf8f0295fd8b28a4ce23d0a972ea5705dad89d2c14d48eddafe5b7ea291934ba217f8fee1b0f1d4ed7f6b77579cb96dfddc98b
diff --git a/x11-themes/elementary-icon-theme/elementary-icon-theme-2.7.1-r1.ebuild b/x11-themes/elementary-icon-theme/elementary-icon-theme-2.7.1-r1.ebuild
deleted file mode 100644
index 9bcfecea..00000000
--- a/x11-themes/elementary-icon-theme/elementary-icon-theme-2.7.1-r1.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=3
-
-SLREV=1
-inherit gnome2-utils
-
-DESCRIPTION="Elementary gnome icon theme"
-HOMEPAGE="https://launchpad.net/elementaryicons"
-SRC_URI="http://launchpad.net/elementaryicons/2.0/${PV}/+download/${P}.tar.gz
- http://pkg.rogentos.ro/~rogentos/distro/${CATEGORY}/fdo-icons-rogentos1.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="monochrome branding"
-
-DEPEND=""
-RDEPEND=""
-RESTRICT="binchecks strip"
-
-src_install() {
- cd "${WORKDIR}/${PN}"
- dodoc elementary/{AUTHORS,CONTRIBUTORS} || die
- use monochrome && { newdoc elementary-mono-dark/AUTHORS AUTHORS.mono-dark || die; }
- rm elementary/{AUTHORS,CONTRIBUTORS,COPYING}
- rm elementary-mono-dark/{AUTHORS,COPYING}
-
- insinto /usr/share/icons
- doins -r elementary || die
- use monochrome && { doins -r elementary-mono-dark || die; }
-
- # this icon theme uses different layout
- # so let's do some blah here
- local base_dir icon_dir dest_icon_dir myfile
-
- cd "${WORKDIR}"
- # Rogentos nice stuff
- for base_dir in fdo-icons-rogentos/*; do
- [[ -d ${base_dir} ]] || \
- die "error, ${base_dir} doesn't exist or is not a directory"
- icon_dir=$(basename "${base_dir}") # example: 128x128
- dest_icon_dir=${icon_dir}
- [[ ${icon_dir} != scalable ]] && \
- dest_icon_dir=${icon_dir/x*} # leave number like "128"
-
- # under ${base_dir} we have emblems/ and places/
- [[ -d ${base_dir}/emblems ]] || \
- die "error, ${base_dir}/emblems doesn't exist or is not a directory"
- [[ -d ${base_dir}/places ]] || \
- die "error, ${base_dir}/places doesn't exist or is not a directory"
-
- # emblems
- for myfile in "${base_dir}"/emblems/*; do
- insinto /usr/share/icons/elementary/emblems/"${dest_icon_dir}"
- doins "${myfile}" || die "can't copy ${myfile}!"
- if use monochrome; then
- insinto /usr/share/icons/elementary-mono-dark/emblems/"${dest_icon_dir}"
- doins "${myfile}" || die "can't copy ${myfile}! (2)"
- fi
- done
-
- # places
- for myfile in "${base_dir}"/places/*; do
- insinto /usr/share/icons/elementary/places/"${dest_icon_dir}"
- doins "${myfile}" || die "can't copy ${myfile}!"
- dist_logo_symlink \
- "${myfile}" \
- "${ED}"usr/share/icons/elementary/places/"${dest_icon_dir}"
- if use monochrome; then
- insinto /usr/share/icons/elementary-mono-dark/places/"${dest_icon_dir}"
- doins "${myfile}" || die "can't copy ${myfile}! (2)"
- dist_logo_symlink \
- "${myfile}" \
- "${ED}"usr/share/icons/elementary-mono-dark/places/"${dest_icon_dir}"
- fi
- done
- done
-}
-
-# create symbolic link distributor-logo.{png,…} -> start-here.{png,…}
-dist_logo_symlink() {
- local path=$1 # example: /path/start-here.png
- local dest_dir=$2
- local filename=${path##*/}
- [[ $filename = start-here.* ]] || return
- local ext=${filename##*.}
- [[ -z $ext ]] && return
- # remove files like elementary/places/48/distributor-logo.svg
- rm -f "${dest_dir}"/distributor-logo.*
- ln -s "start-here.${ext}" "${dest_dir}/distributor-logo.${ext}" \
- || die "the command ln -s \"start-here.${ext}\" \"${dest_dir}/distributor-logo.${ext}\" failed!"
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}