diff options
author | Lukas Elsner <open@mindrunner.de> | 2014-12-05 01:05:26 +1000 |
---|---|---|
committer | Lukas Elsner <open@mindrunner.de> | 2014-12-05 01:05:26 +1000 |
commit | 5834f705a2c03ce4f3786404f8640f7fc81abc3f (patch) | |
tree | 6e1fae53ca663008e0784b191711a5ce7cd66491 | |
parent | idea version bump (diff) | |
download | luman-5834f705a2c03ce4f3786404f8640f7fc81abc3f.tar.gz luman-5834f705a2c03ce4f3786404f8640f7fc81abc3f.tar.bz2 luman-5834f705a2c03ce4f3786404f8640f7fc81abc3f.zip |
added nemo-extensions
-rw-r--r-- | gnome-extra/nemo-extensions/Manifest | 2 | ||||
-rw-r--r-- | gnome-extra/nemo-extensions/nemo-extensions-2.2.4.ebuild | 87 |
2 files changed, 89 insertions, 0 deletions
diff --git a/gnome-extra/nemo-extensions/Manifest b/gnome-extra/nemo-extensions/Manifest new file mode 100644 index 0000000..806373f --- /dev/null +++ b/gnome-extra/nemo-extensions/Manifest @@ -0,0 +1,2 @@ +DIST 2.2.x.tar.gz 2621624 SHA256 2456c9f6e7bae31ced18ef8c16505b3ff8cd47d8f8869769caa4f7b0a4aa4882 SHA512 bf0b90f455b624a3df73b6cd6c0f1f2055c6a91193df06bf54eefe3fb9bc7a56b2ebf3c4492c5687f5c0e9471e18705c3622b4c568828b8dd409fbdbcde56c84 WHIRLPOOL 485cf53678572cb7f4e6f7a2c4e0b0fc70eec657c9d5246f58f5df6a851ec4692185b85a31a1cd02b48c06023262d5a0d3fbe629c85c66ec1d17e54d55b91176 +EBUILD nemo-extensions-2.2.4.ebuild 1672 SHA256 e8167c6b5a9b33ceb21f4af63a3146410c3f82238a0003af67620be1642a6fc4 SHA512 2bfa525529b8f3b55bb8e6939dccb68f5c1075a86a290cc7929658a0b34f16093dfaed2f189961df33b08432692325f641fd0abecd46e11ef032029327d3aa5f WHIRLPOOL c2edfa91cadc5968e3e74f416eedd1542f2395b6e36b9784123d1a3939538d4c2bd1a1eb151e462d980f989f2b32453d2de45967d8bfef95054ee628183fe746 diff --git a/gnome-extra/nemo-extensions/nemo-extensions-2.2.4.ebuild b/gnome-extra/nemo-extensions/nemo-extensions-2.2.4.ebuild new file mode 100644 index 0000000..b45cf69 --- /dev/null +++ b/gnome-extra/nemo-extensions/nemo-extensions-2.2.4.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit autotools + +DESCRIPTION="extensions for cinnamon's file-manager nemo" +HOMEPAGE="" +SRC_URI="https://github.com/muzena/nemo-extensions/archive/2.2.x.tar.gz" +LICENSE="" +SLOT="0" +KEYWORDS="~amd64" + +# Possible extensions that have to be tested +# -compare -dropbox -foldercolor -gtkhash -imageconverter -mediacolumns -pastebin -preview -python -rabbitvcs -repairer -seahorse -share -terminal + +# Tested extensions +IUSE="fileroller compare dropbox foldercolor gtkhash imageconverter mediacolumns pastebin preview python rabbitvcs repairer seahorse share terminal" +MODULES=${IUSE//-/} + +DEPEND="( =gnome-extra/nemo-2* ) + fileroller? ( app-arch/file-roller )" + +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + mv ${PN}-2.2.x ${P} +} + +src_prepare () { + for module in ${MODULES} + do + if use ${module} + then + elog "Preparing ${module}" + pushd nemo-${module} + eautoreconf + popd + fi + done +} + +src_configure () { + for module in ${MODULES} + do + if use ${module} + then + elog "Configuring ${module}" + pushd nemo-${module} + econf + popd + fi + done +} + +src_compile () { + for module in ${MODULES} + do + if use ${module} + then + elog "Compiling ${module}" + pushd nemo-${module} + emake + popd + fi + done +} + +src_install () { + for module in ${MODULES} + do + if use ${module} + then + elog "Installing ${module}" + pushd nemo-${module} + emake DESTDIR="${D}" install + elog "Removing .a and .la files" + find ${D} -name "*.a" -exec rm {} + -o -name "*.la" -exec rm {} + || die + dodoc README + popd + fi + done +} |