diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:24:26 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:24:26 +0200 |
commit | 7224c1253228e5c29c78cb3f0f26ce34770f2356 (patch) | |
tree | 1684924656132935256e034f35f92abee6623265 /xfce-extra/thunar-dropbox |
Added ebuilds for kogaion desktop
Diffstat (limited to 'xfce-extra/thunar-dropbox')
-rw-r--r-- | xfce-extra/thunar-dropbox/Manifest | 3 | ||||
-rw-r--r-- | xfce-extra/thunar-dropbox/files/thunar-dropbox-0.2.0-wscript.patch | 36 | ||||
-rw-r--r-- | xfce-extra/thunar-dropbox/thunar-dropbox-0.2.0.ebuild | 43 |
3 files changed, 82 insertions, 0 deletions
diff --git a/xfce-extra/thunar-dropbox/Manifest b/xfce-extra/thunar-dropbox/Manifest new file mode 100644 index 00000000..b3edfe53 --- /dev/null +++ b/xfce-extra/thunar-dropbox/Manifest @@ -0,0 +1,3 @@ +AUX thunar-dropbox-0.2.0-wscript.patch 1427 SHA256 0f3c0f45685c39f3e90a04a5534139043b67011d9e9a6d256865ced4f6502959 SHA512 59d2f27ace7f0dbfd781e186031ee3a35fe55a9c7d274f04b959eb3847253b3018dd3309ea28c5aa4573037a4e780d711c3fd3ccc61ddffaa4fec00065346f95 WHIRLPOOL a96a6a808f99b15286cae56a97adc7732add7ec76db7f299744556ed7523b5866d5a8b1964518d688f3b05e2c4fbef2b1c2e918c2eedb77d6d8a4489565eee34 +DIST thunar-dropbox-0.2.0.tar.bz2 109292 SHA256 1f3419bb50906874d6db1dfcfd002bc9d1edb91e7641de6826ac9f2ed9196700 SHA512 774f78f2afdd983f5cb81ee8cc425579b186d2ede81f26b94a6974e6f66d0c9831c6a9f8aeed3cc7b1e2587a4cb490786c1426bc90dfeeacfead693778d47a6e WHIRLPOOL 277f89c356ef8d0b52a12a47676d2cc36a3f3ecc61eee54ac505a06194d379142ab81c6e39cbc325918ae7c2fa11a9cf01d5064cdffb5f27200b172c34392b38 +EBUILD thunar-dropbox-0.2.0.ebuild 866 SHA256 f25b3bfa5465616a41801a75d73695616dd0939dff9de0905e25cc74fbb670dc SHA512 a6a1e0a50f75798ab4b0c0d7cd2c15bedfd501100b963868cf2c0195cb3370c22b2742868640e955903cd182186fab9377cb0e8344de0945362da9d48c0f1e7c WHIRLPOOL 89d2fa702c5920bee997467a5eefeb4734e34afbb7912a6e47fa7f82ab34eca41e927d0635b36599de454464fb8cf55e4752128811222a2c6234effcbe37506e diff --git a/xfce-extra/thunar-dropbox/files/thunar-dropbox-0.2.0-wscript.patch b/xfce-extra/thunar-dropbox/files/thunar-dropbox-0.2.0-wscript.patch new file mode 100644 index 00000000..cb434205 --- /dev/null +++ b/xfce-extra/thunar-dropbox/files/thunar-dropbox-0.2.0-wscript.patch @@ -0,0 +1,36 @@ +thunar-dropbox-0.2.0 +Disable gtk-update-icon-cache, install library with proper permissions, +respect --libdir. +slawomir.nizio at sabayon.org +--- wscript ++++ wscript +@@ -13,11 +13,13 @@ + def set_options(opt): + opt.tool_options('compiler_cc') + opt.tool_options('gnu_dirs') ++ opt.add_option('--libdir', action='store', default="/usr/lib", help="libdir") + + def configure(conf): + conf.check_tool('compiler_cc') + conf.check_cfg(package='thunarx-2', uselib_store='THUNARX', mandatory=True, args='--cflags --libs') + conf.check_cfg(package='gio-2.0', uselib_store='GIO', mandatory=True, args='--cflags --libs') ++ conf.env.LIBDIR = Options.options.libdir + + def build(bld): + prog = bld.new_task_gen('cc', 'cshlib') +@@ -27,14 +29,4 @@ + prog.includes = 'src' + prog.find_sources_in_dirs('src') + bld.install_files('${PREFIX}/share/icons/hicolor/16x16/apps', 'data/icons/hicolor/16x16/apps/thunar-dropbox.png') +- bld.install_as('${PREFIX}/lib/thunarx-2/thunar-dropbox.so', 'libthunar-dropbox.so') +- +-def shutdown(): +- if Options.commands['install'] or Options.commands['uninstall']: +- dir = '%s/share/icons/hicolor' % Build.bld.env['PREFIX'] +- command = 'gtk-update-icon-cache -q -t -f %s 2> /dev/null' % dir +- try: +- if Utils.exec_command(command): +- Utils.pprint('YELLOW', 'Icon cache not updated.') +- except: +- pass ++ bld.install_as(bld.env.LIBDIR + '/thunarx-2/thunar-dropbox.so', 'libthunar-dropbox.so', chmod=0755) diff --git a/xfce-extra/thunar-dropbox/thunar-dropbox-0.2.0.ebuild b/xfce-extra/thunar-dropbox/thunar-dropbox-0.2.0.ebuild new file mode 100644 index 00000000..beeddfac --- /dev/null +++ b/xfce-extra/thunar-dropbox/thunar-dropbox-0.2.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 +inherit eutils waf-utils gnome2-utils + +DESCRIPTION="Plugin for Thunar that adds context-menu items for Dropbox" +HOMEPAGE="http://www.softwarebakery.com/maato/thunar-dropbox.html" +SRC_URI="http://www.softwarebakery.com/maato/files/${PN}/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +COMMON_DEPEND="dev-libs/glib:2 + xfce-base/thunar +" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig +" +RDEPEND="${COMMON_DEPEND} + net-misc/dropbox +" + +src_prepare() { + epatch "${FILESDIR}/${P}-wscript.patch" +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update /usr/share/icons/hicolor + gtk-update-icon-cache +} + +pkg_postrm() { + gnome2_icon_cache_update /usr/share/icons/hicolor + gtk-update-icon-cache +} |