From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- mate-base/mate-applets/Manifest | 19 ++++ .../files/mate-applets-1.10.4-cpupower-4.7.patch | 46 +++++++++ .../files/mate-applets-1.14.1-cpupower-4.7.patch | 44 +++++++++ ...s-1.14.1-revert-upstream-cpupower-4.7-fix.patch | 37 +++++++ .../files/mate-applets-1.16.0-cpupower-4.7.patch | 44 +++++++++ .../mate-applets/mate-applets-1.12.1-r4.ebuild | 101 +++++++++++++++++++ .../mate-applets/mate-applets-1.12.1-r5.ebuild | 102 ++++++++++++++++++++ .../mate-applets/mate-applets-1.14.1-r1.ebuild | 107 +++++++++++++++++++++ .../mate-applets/mate-applets-1.14.1-r2.ebuild | 106 ++++++++++++++++++++ .../mate-applets/mate-applets-1.16.0-r1.ebuild | 105 ++++++++++++++++++++ mate-base/mate-applets/mate-applets-1.16.0.ebuild | 106 ++++++++++++++++++++ .../mate-applets/mate-applets-1.18.1-r1.ebuild | 96 ++++++++++++++++++ mate-base/mate-applets/mate-applets-1.18.1.ebuild | 97 +++++++++++++++++++ mate-base/mate-applets/metadata.xml | 14 +++ 14 files changed, 1024 insertions(+) create mode 100644 mate-base/mate-applets/Manifest create mode 100644 mate-base/mate-applets/files/mate-applets-1.10.4-cpupower-4.7.patch create mode 100644 mate-base/mate-applets/files/mate-applets-1.14.1-cpupower-4.7.patch create mode 100644 mate-base/mate-applets/files/mate-applets-1.14.1-revert-upstream-cpupower-4.7-fix.patch create mode 100644 mate-base/mate-applets/files/mate-applets-1.16.0-cpupower-4.7.patch create mode 100644 mate-base/mate-applets/mate-applets-1.12.1-r4.ebuild create mode 100644 mate-base/mate-applets/mate-applets-1.12.1-r5.ebuild create mode 100644 mate-base/mate-applets/mate-applets-1.14.1-r1.ebuild create mode 100644 mate-base/mate-applets/mate-applets-1.14.1-r2.ebuild create mode 100644 mate-base/mate-applets/mate-applets-1.16.0-r1.ebuild create mode 100644 mate-base/mate-applets/mate-applets-1.16.0.ebuild create mode 100644 mate-base/mate-applets/mate-applets-1.18.1-r1.ebuild create mode 100644 mate-base/mate-applets/mate-applets-1.18.1.ebuild create mode 100644 mate-base/mate-applets/metadata.xml (limited to 'mate-base/mate-applets') diff --git a/mate-base/mate-applets/Manifest b/mate-base/mate-applets/Manifest new file mode 100644 index 000000000000..e2e6b6de2d65 --- /dev/null +++ b/mate-base/mate-applets/Manifest @@ -0,0 +1,19 @@ +AUX mate-applets-1.10.4-cpupower-4.7.patch 1216 SHA256 0926cce50a835e3ca9fe801d56aeed298cf065750c9696f512bea79a192c1539 SHA512 6e350080551b959062e4b51c0665c0743fa1064daa441d35abf45ce959be67614fafa90077dfce6cbe10b114420d78b4efdc3ea639eff523195baabd02f1bbdd WHIRLPOOL 681c61850a2d9ec5260458249892315c959b7da293938df73cebf59f528a071fbc24e88d86c6fa6ff7b4286b78d2608d03a2845aa9ccf9557dff776beabad9c7 +AUX mate-applets-1.14.1-cpupower-4.7.patch 1142 SHA256 cd8e66736c3d57189f9cfeaa9c8385fbe09847f271922475b990a8ef083c912d SHA512 b7f2b66f7ac79ccad042704e8e00c5a5b452751aafe3ba19074c5c0e156f56dc89024133f1cfa432b564f2ba497d2444889c46b94af6f8f55d6f9af4102c618a WHIRLPOOL 87d1668fc74b4e9de4dc458face42ae62704d8da9b865cac49c582e3bd2127e5c70e16ad2716639001f234bb53b1271af29a45fa60c9f26f249f6e673453af6b +AUX mate-applets-1.14.1-revert-upstream-cpupower-4.7-fix.patch 1093 SHA256 4fc461929b91fbc38b008c7d3084e5cebb0928d73a15308c319c7132c1066b31 SHA512 d47f08a1f983b958bbcaeff5f480752500589ead4cd4fa3eedbf596d48809c3a0a909db82271a5e663d394bed68c6ee395f7315a701c29112ed9b328633bfedc WHIRLPOOL b6db66082e58914ab89a002b75329d81420c88fbb6c6d57046a73fde6224e7912733826fd8a243c678b1600e0d7a536ad2b2696fc46f50865a31b9003c16624a +AUX mate-applets-1.16.0-cpupower-4.7.patch 1142 SHA256 6a3c1f8964f7065607b089aa2110cb5d93380f11655e4715f93b456091c79812 SHA512 7845655d2215e91286b19891cb8e6f018b8b11bebcb876d97b5c0a0232063cd030ef14754871f14e09f3e82d714f33d844d41f09f1168a088ac4d83cde527789 WHIRLPOOL 138d404fedb3d6a128024c54097bf96fa1c1e1e7b56593ae1c5610444b4fe6821b8c294290a504f332e74b52266f02d8406417d9aa2d2699d360067c9d23fe77 +DIST mate-applets-1.12.1.tar.xz 6816716 SHA256 0a3bc19e59c69eccdcc2342f29b7837563e51fbefdb232ca1884ca23d8f69c99 SHA512 c9acac98df31386b4016d42d3d1fe0e9ddd5e8fccc291269cff73e2a4c0853fabb85a649ee14f4aef3200c0f731c1d95f48aefdb3d8baaf014ad8776c1e94234 WHIRLPOOL 9f3569fcdd610935689a54600153bbbb47ac46100b8689f74d0bc37ac227e129edbf06e6f86e3471f7f40454c37c00291382ccc51e95b3dd2fac008b4e865620 +DIST mate-applets-1.14.1.tar.xz 7151156 SHA256 411dc105afae61b2ee0e3b197ea0a00f8670ceb680dd5a549f8ef586289b9d6a SHA512 f7657a4dbeed5ff161dae33bd915bf868c95626d661b3d7e4eea9b86776f75449c4060c647d9a040ccf8a01556979b62a9b21c988b33e0cd8d5d90fd663a331d WHIRLPOOL 90d13900c8aaed4a08e6d4f55adf600f1da82900f164d9bf5c7a8a6c9e51452668bacbe5e8ae7ee4ccaa156d70121dffefe1c8cce8bd12ad190e5c04d42b1c0e +DIST mate-applets-1.16.0.tar.xz 7150340 SHA256 adcc895478f5b1e1c5c40f3f20537dcf809e0f06802850b890d323602f16d817 SHA512 606fd39b95083e7cff2ce95e75b4acb0ec1f3d66621a15fa726891c6d6319f7757b92c8c26efd3ee05da9da3dc315b16a3a9089fd4bb8d420816d4728f8545af WHIRLPOOL 8a2145970391e337054b2ab4e3449bcdfe2befeb4a8fdb258a3c4820511ec9849537f950b466098a2c3b53a63c132cfb6f9b6d66dfeca268ddd477aa96ae1a28 +DIST mate-applets-1.18.1.tar.xz 7158716 SHA256 05bae1324de35659b37307bb345bb9da16b19391c83388ef697df51a22caf4da SHA512 3186af69f3b8b54a7f31d3c00a39ed439717200181a1e64d97b28eaf2e75b19ac79fdda44c40401687e9cece06feb1e29f52948cd73afadeb0099f64e672c036 WHIRLPOOL 2354d86b90cf599669c21c08cf6cf6d5ae0d197c54b87b0341b66b8535e175198d233f56e39a9c84aa857b4d12ce88c0d3f5f69ad8f16cc4d57ce5cc2ec3420d +EBUILD mate-applets-1.12.1-r4.ebuild 2264 SHA256 52c3d9d7d2c718d9038c1cd746d8a825f9dc9c11832807439710fc978ddaa4ae SHA512 81b027473726418d372e07896dbfce908e5224c59dd044fcf2fd630c5b799ca02015270ba62751652c7e4deead7686432ddb6f625ae76b73056a78f1bfe6bf37 WHIRLPOOL 24f5cfab9b8da7f0a371850faa065d28019ad5071661e22af665a946d85de0344b1532218ed03ac738065dcab61fb2489e52dddfedd6d0f8cd32f60176c4831b +EBUILD mate-applets-1.12.1-r5.ebuild 2302 SHA256 075180eefe7cce452247fc6ec385b0df5541bc32bf039c03449f71cad0aef4f1 SHA512 2bf780ce08385d2ad2f4266d3f05363bc10289627a4c79623813017633e2da41d6190a754aa11579245727c515ebbc7bd53eacf1022ee6b82c4daffa1c587d93 WHIRLPOOL 2631c1cc3ec3af544dd00730da022757c7dd193d5b4b762bf88b89e9eb7bbcc918eda4ca4a31ff18beaebccc6c89d8a867e66406237bf41b90789184b83222cc +EBUILD mate-applets-1.14.1-r1.ebuild 2453 SHA256 7320e58dafe271bd418eb628f50b80d046b3891d2feb8899dbd4bd579463a921 SHA512 107118f190b7e9baecfe528949a8fa314a957712b4ea26d7599604f45044895ca4dd964dac1e001d09a5350b790a37efae8abc265d055000698094afb3bc5d8a WHIRLPOOL 598cb7edeb82953bd6719dbe9d471a59a2c61711f58a355f7b65c80ab1a89b10686f3a72e56183f7046fab8b2e448e548b11e324a7f53104e9015cb0edc05f14 +EBUILD mate-applets-1.14.1-r2.ebuild 2410 SHA256 eb0fc073f73fef6886afa9adaf2902dc885ad3d8c014314764b88646108c711a SHA512 c1a96efd69969b4cb5be6e9342ab365ca9bee4dd3133a56f2bfcaeb243d178ace5bf40dc77c0c603b11bcf5a5b7aa9990e29055c8e0b33ff82b36238c8865046 WHIRLPOOL c988935aff4d95d93c2865ead234e17570df8568ebb6a0d8e3f8050ce3f2c1d6386ad29db5b8685305023ab3365e1fe028dbe4c79bb2fc79871b6fb0e8d7b995 +EBUILD mate-applets-1.16.0-r1.ebuild 2370 SHA256 1d9e2dfac4eb13ff909b1647f43c0e1a8a8c718a6665d97074bf774d14bd6150 SHA512 cf8eb10cbd2300402a7309561bc3b179710995adfdfa7f70134aaf4aef2ceedd374ceea653905f4645532d8530faaa1a677fff7fc071eb2081c27b223d438ca2 WHIRLPOOL 45a21b50932ec09fcc297dc91c6522b9cc35455a2a3110c42aa6e34c0d88c588f4e2753302c9f947cfee9bb53f4b13127e7f4b722ede7dae6f24675f829467cf +EBUILD mate-applets-1.16.0.ebuild 2413 SHA256 47559a9e0a1968336d2b8791d7812439c6e958f7ec7caadc3042bd5490f3b4ff SHA512 d447fac31a5492be65c6a8dfd1724b6956e1f0c657c1750e175d7476fa75b75411a140706c36c5cb54f8e54c7338da9f94a26a70edb1351f66f2c5f5805464fe WHIRLPOOL 3aa5a74988b587d8d70a27f4bba863d7edc7bc7180e39c29b5da5f72c2dc80143ba26faf8e5e7cb8f7bf93fe472f3a75f3a346f384dd50595dcec3ef6725cf73 +EBUILD mate-applets-1.18.1-r1.ebuild 2167 SHA256 f624ef1de04a673c2f83dccde6e952209eab9d81b3c0bf32df634180bb19fa79 SHA512 b1270cffa52fb2eb299879d5e90d7df6b8b52293a6dd1819c7f89ed07ba0097a7bde17d32dbf07d85c7cfa24ff5064ceda3bd173dadd3860eb0c940bf2d57c8e WHIRLPOOL a5621e9cf5900538ed0ab9d84ed22d8c4abc601511d656f65a363931121dc7273cdf6da1d8ec6d7a2e64bd11de195edddd001c4498b1092cb394bb961020161e +EBUILD mate-applets-1.18.1.ebuild 2210 SHA256 027291ca8820c002d90ec533e76d627804849174a7ae00580e60428b1999955a SHA512 7c4d3c17037c9d574a2ee4ae56047f612857858acbf6a3bc54ada6ca5e4e39bb49a09a2f01fa50f9db851204eead92163f7d1cec530f1663418369cbd572c244 WHIRLPOOL 0f1e317bef5041571de035261170e76c3cca44c1da5f45c1295dffb2b75ec883f67f8e52e709b72d19020ed11dfa93791589b113b769c6f568c83650e72129c5 +MISC ChangeLog 8205 SHA256 04309c554315a656a1681d0588e3b357dd09ecb2a91239d90c4cc54a436ccc63 SHA512 0f3246b873e39a9f451c5b071219c3dafbfecad7daf6bfc5ff6b5d6fb0d1de4b9d06ce3d6d6c9e257821b906478eb653460d3ccdc43994fb98770266908054d0 WHIRLPOOL 93073da9ec398a77e395da4b1ba7be1a06424b3692be739b122c0767f2dc690603924e2f966b91bdbda795e7d9b99f25b6d84f57cb1f46cef43f8615739b1273 +MISC ChangeLog-2015 3578 SHA256 c05187abb800be067a1294f6f586fe1bc098ff15e9d067368f2e37f60b9d1574 SHA512 23ce4e6abdc4184208bfbba59dbe0f0fbbd56fbc8907ef2d91b0ce10cde0163434c7c484e144a2c0a22f8b71058a4415b79a4d8992c831211871cbf48903c112 WHIRLPOOL b71c04299a84c785e6e37809d158aa6dbfc79a3fb08ca118f5c7cb6149a27c98f16fe38e13c9b9bdda4ba2736be90d74b150af4dc2cdfd08df616c1e542caf0d +MISC metadata.xml 417 SHA256 ff19020bc9a57f518fcff20f1f57ff2213fe86c5e906bb8ad53aca4e511e6855 SHA512 8df2d630bab80c248991cb2d57c928b24bfdc92d72d9ecabd06bc362882bb0bc0f3dc376ba54deb77213676eda4fdb8c2a4362c634bdd58f8d2b3060a184309d WHIRLPOOL 54c434eadd86db7d39a08074f78b1af60b6830daf4808626d7be259ba4e1e55a3fd2e9e71a714339fc9b55c5bd8c246629a697a2cda55907d351e7d6a5c0716b diff --git a/mate-base/mate-applets/files/mate-applets-1.10.4-cpupower-4.7.patch b/mate-base/mate-applets/files/mate-applets-1.10.4-cpupower-4.7.patch new file mode 100644 index 000000000000..070b41754ed0 --- /dev/null +++ b/mate-base/mate-applets/files/mate-applets-1.10.4-cpupower-4.7.patch @@ -0,0 +1,46 @@ +diff --git a/configure.ac b/configure.ac +index c867af3..4ff5311 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -416,6 +416,8 @@ fi + AM_CONDITIONAL(HAVE_LIBCPUFREQ, test x$have_libcpufreq = xyes) + AC_SUBST(LIBCPUFREQ_LIBS) + ++AC_CHECK_HEADERS([cpupower.h]) ++ + build_cpufreq_applet=no + + if test x$disable_cpufreq = xno; then +diff --git a/cpufreq/src/cpufreq-monitor-libcpufreq.c b/cpufreq/src/cpufreq-monitor-libcpufreq.c +index 40c44ba..120693c 100644 +--- a/cpufreq/src/cpufreq-monitor-libcpufreq.c ++++ b/cpufreq/src/cpufreq-monitor-libcpufreq.c +@@ -19,11 +19,16 @@ + * Authors : Carlos García Campos + */ + ++#include ++ + #include + #include + + #include + #include ++#ifdef HAVE_CPUPOWER_H ++#include ++#endif + + #include "cpufreq-monitor-libcpufreq.h" + #include "cpufreq-utils.h" +@@ -111,7 +114,11 @@ cpufreq_monitor_libcpufreq_run (CPUFreqMonitor *monitor) + /* Check whether it failed because + * cpu is not online. + */ ++#ifndef HAVE_CPUPOWER_H + if (!cpufreq_cpu_exists (cpu)) { ++#else ++ if (cpupower_is_cpu_online (cpu)) { ++#endif + g_object_set (G_OBJECT (monitor), "online", FALSE, NULL); + return TRUE; + } diff --git a/mate-base/mate-applets/files/mate-applets-1.14.1-cpupower-4.7.patch b/mate-base/mate-applets/files/mate-applets-1.14.1-cpupower-4.7.patch new file mode 100644 index 000000000000..203f1589a1b2 --- /dev/null +++ b/mate-base/mate-applets/files/mate-applets-1.14.1-cpupower-4.7.patch @@ -0,0 +1,44 @@ +diff --git a/configure.ac b/configure.ac +index b49d127..6b87389 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -411,6 +411,8 @@ fi + AM_CONDITIONAL(HAVE_LIBCPUFREQ, test x$have_libcpufreq = xyes) + AC_SUBST(LIBCPUFREQ_LIBS) + ++AC_CHECK_HEADERS([cpupower.h]) ++ + build_cpufreq_applet=no + + if test x$disable_cpufreq = xno; then +diff --git a/cpufreq/src/cpufreq-monitor-libcpufreq.c b/cpufreq/src/cpufreq-monitor-libcpufreq.c +index 4fa9d4c..ba52fde 100644 +--- a/cpufreq/src/cpufreq-monitor-libcpufreq.c ++++ b/cpufreq/src/cpufreq-monitor-libcpufreq.c +@@ -19,12 +19,16 @@ + * Authors : Carlos García Campos + */ + ++#include ++ + #include + #include + + #include +-#include + #include ++#ifdef HAVE_CPUPOWER_H ++#include ++#endif + + #include "cpufreq-monitor-libcpufreq.h" + #include "cpufreq-utils.h" +@@ -112,7 +116,7 @@ + /* Check whether it failed because + * cpu is not online. + */ +-#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 7, 0) ++#ifndef HAVE_CPUPOWER_H + if (!cpufreq_cpu_exists (cpu)) { + #else + if (cpupower_is_cpu_online (cpu)) { diff --git a/mate-base/mate-applets/files/mate-applets-1.14.1-revert-upstream-cpupower-4.7-fix.patch b/mate-base/mate-applets/files/mate-applets-1.14.1-revert-upstream-cpupower-4.7-fix.patch new file mode 100644 index 000000000000..85c2b24bc81b --- /dev/null +++ b/mate-base/mate-applets/files/mate-applets-1.14.1-revert-upstream-cpupower-4.7-fix.patch @@ -0,0 +1,37 @@ +From e82b68edbfa8d6e209b9ad7b3e6392a928da776e Mon Sep 17 00:00:00 2001 +From: mudler +Date: Tue, 13 Sep 2016 23:33:58 +0200 +Subject: [PATCH] fix 1.14.1 on kernel-headers >=4.7 + +--- + cpufreq/src/cpufreq-monitor-libcpufreq.c | 6 +----- + 1 file changed, 1 insertion(+), 5 deletions(-) + +diff --git a/cpufreq/src/cpufreq-monitor-libcpufreq.c b/cpufreq/src/cpufreq-monitor-libcpufreq.c +index 228a890..587e316 100644 +--- a/cpufreq/src/cpufreq-monitor-libcpufreq.c ++++ b/cpufreq/src/cpufreq-monitor-libcpufreq.c +@@ -23,7 +23,7 @@ + #include + + #include +-#include ++ + #include + #include "cpufreq-monitor-libcpufreq.h" + #include "cpufreq-utils.h" +@@ -111,11 +111,7 @@ cpufreq_monitor_libcpufreq_run (CPUFreqMonitor *monitor) + /* Check whether it failed because + * cpu is not online. + */ +-#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 7, 0) + if (!cpufreq_cpu_exists (cpu)) { +-#else +- if (cpupower_is_cpu_online (cpu)) { +-#endif + g_object_set (G_OBJECT (monitor), "online", FALSE, NULL); + return TRUE; + } +-- +2.9.2 + diff --git a/mate-base/mate-applets/files/mate-applets-1.16.0-cpupower-4.7.patch b/mate-base/mate-applets/files/mate-applets-1.16.0-cpupower-4.7.patch new file mode 100644 index 000000000000..3f4f4fa519f1 --- /dev/null +++ b/mate-base/mate-applets/files/mate-applets-1.16.0-cpupower-4.7.patch @@ -0,0 +1,44 @@ +diff --git a/configure.ac b/configure.ac +index b49d127..6b87389 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -411,6 +411,8 @@ fi + AM_CONDITIONAL(HAVE_LIBCPUFREQ, test x$have_libcpufreq = xyes) + AC_SUBST(LIBCPUFREQ_LIBS) + ++AC_CHECK_HEADERS([cpupower.h]) ++ + build_cpufreq_applet=no + + if test x$disable_cpufreq = xno; then +diff --git a/cpufreq/src/cpufreq-monitor-libcpufreq.c b/cpufreq/src/cpufreq-monitor-libcpufreq.c +index 4fa9d4c..ba52fde 100644 +--- a/cpufreq/src/cpufreq-monitor-libcpufreq.c ++++ b/cpufreq/src/cpufreq-monitor-libcpufreq.c +@@ -19,12 +19,16 @@ + * Authors : Carlos García Campos + */ + ++#include ++ + #include + #include + + #include +-#include + #include ++#ifdef HAVE_CPUPOWER_H ++#include ++#endif + #include "cpufreq-monitor-libcpufreq.h" + #include "cpufreq-utils.h" + +@@ -111,7 +115,7 @@ + /* Check whether it failed because + * cpu is not online. + */ +-#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 7, 0) ++#ifndef HAVE_CPUPOWER_H + if (!cpufreq_cpu_exists (cpu)) { + #else + if (cpupower_is_cpu_online (cpu)) { diff --git a/mate-base/mate-applets/mate-applets-1.12.1-r4.ebuild b/mate-base/mate-applets/mate-applets-1.12.1-r4.ebuild new file mode 100644 index 000000000000..a7a67439797a --- /dev/null +++ b/mate-base/mate-applets/mate-applets-1.12.1-r4.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit mate python-single-r1 + +if [[ ${PV} != 9999 ]]; then + KEYWORDS="amd64 ~arm x86" +fi + +DESCRIPTION="Applets for the MATE Desktop and Panel" +LICENSE="GPL-2 FDL-1.1 LGPL-2" +SLOT="0" + +IUSE="X gtk3 ipv6 policykit +upower" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +#cpupower #593470 +RDEPEND="${PYTHON_DEPS} + app-text/rarian:0 + dev-libs/atk:0 + >=dev-libs/dbus-glib-0.74:0 + >=dev-libs/glib-2.36:2 + >=dev-libs/libmateweather-1.6.1[gtk3(-)=] + >=dev-libs/libxml2-2.5:2 + dev-python/pygobject:3 + >=gnome-base/libgtop-2.11.92:2= + >=mate-base/mate-desktop-1.9[gtk3(-)=] + >=mate-base/mate-panel-1.7[gtk3(-)=] + >=mate-base/mate-settings-daemon-1.6 + >=sys-apps/dbus-1.1.2:0 + =x11-libs/libnotify-0.7:0 + x11-libs/libX11:0 + x11-libs/pango:0 + virtual/libintl:0 + !gtk3? ( + >=gnome-extra/gucharmap-2.32.1:0 + >=x11-libs/gtk+-2.24:2 + x11-libs/gtksourceview:2.0 + >=x11-libs/libwnck-2.30:1 + ) + gtk3? ( + >=gnome-extra/gucharmap-3.0:2.90 + >=x11-libs/gtk+-3.0:3 + x11-libs/gtksourceview:3.0 + >=x11-libs/libwnck-3.0:3 + ) + policykit? ( >=sys-auth/polkit-0.92:0 ) + upower? ( + || ( + >=sys-power/upower-0.9.23 + >=sys-power/upower-pm-utils-0.9.23 + ) + )" + +DEPEND="${RDEPEND} + app-text/docbook-xml-dtd:4.3 + >=app-text/scrollkeeper-dtd-1:1.0 + app-text/yelp-tools:0 + >=dev-util/intltool-0.50.1:* + dev-libs/libxslt:0 + sys-devel/gettext:* + virtual/pkgconfig:*" + +src_configure() { + mate_src_configure \ + --libexecdir=/usr/libexec/mate-applets \ + --with-cpufreq-lib=cpupower \ + --with-gtk=$(usex gtk3 3.0 2.0) \ + $(use_with X x) \ + $(use_with upower) \ + $(use_enable ipv6) \ + $(use_enable policykit polkit) +} + +src_test() { + unset DBUS_SESSION_BUS_ADDRESS + emake check +} + +src_install() { + python_fix_shebang invest-applet + mate_src_install + + local APPLETS="accessx-status battstat charpick command cpufreq drivemount + geyes invest-applet mateweather multiload null_applet stickynotes + timerapplet trashapplet" + + for applet in ${APPLETS}; do + docinto ${applet} + + for d in AUTHORS ChangeLog NEWS README README.themes TODO; do + [ -s ${applet}/${d} ] && dodoc ${applet}/${d} + done + done +} diff --git a/mate-base/mate-applets/mate-applets-1.12.1-r5.ebuild b/mate-base/mate-applets/mate-applets-1.12.1-r5.ebuild new file mode 100644 index 000000000000..3853add0fe5d --- /dev/null +++ b/mate-base/mate-applets/mate-applets-1.12.1-r5.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit mate python-single-r1 + +if [[ ${PV} != 9999 ]]; then + KEYWORDS="~amd64 ~arm ~x86" +fi + +DESCRIPTION="Applets for the MATE Desktop and Panel" +LICENSE="GPL-2 FDL-1.1 LGPL-2" +SLOT="0" + +IUSE="X gtk3 ipv6 policykit +upower" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + app-text/rarian:0 + dev-libs/atk:0 + >=dev-libs/dbus-glib-0.74:0 + >=dev-libs/glib-2.36:2 + >=dev-libs/libmateweather-1.6.1[gtk3(-)=] + >=dev-libs/libxml2-2.5:2 + dev-python/pygobject:3 + >=gnome-base/libgtop-2.11.92:2= + >=mate-base/mate-desktop-1.9[gtk3(-)=] + >=mate-base/mate-panel-1.7[gtk3(-)=] + >=mate-base/mate-settings-daemon-1.6 + >=sys-apps/dbus-1.1.2:0 + sys-power/cpupower + x11-libs/gdk-pixbuf:2 + >=x11-libs/libnotify-0.7:0 + x11-libs/libX11:0 + x11-libs/pango:0 + virtual/libintl:0 + !gtk3? ( + >=gnome-extra/gucharmap-2.32.1:0 + >=x11-libs/gtk+-2.24:2 + x11-libs/gtksourceview:2.0 + >=x11-libs/libwnck-2.30:1 + ) + gtk3? ( + >=gnome-extra/gucharmap-3.0:2.90 + >=x11-libs/gtk+-3.0:3 + x11-libs/gtksourceview:3.0 + >=x11-libs/libwnck-3.0:3 + ) + policykit? ( >=sys-auth/polkit-0.92:0 ) + upower? ( + || ( + >=sys-power/upower-0.9.23 + >=sys-power/upower-pm-utils-0.9.23 + ) + )" + +DEPEND="${RDEPEND} + app-text/docbook-xml-dtd:4.3 + >=app-text/scrollkeeper-dtd-1:1.0 + app-text/yelp-tools:0 + >=dev-util/intltool-0.50.1:* + dev-libs/libxslt:0 + sys-devel/gettext:* + virtual/pkgconfig:*" + +PATCHES=( "${FILESDIR}/${PN}-1.10.4-cpupower-4.7.patch" ) + +src_configure() { + mate_src_configure \ + --libexecdir=/usr/libexec/mate-applets \ + --with-cpufreq-lib=cpupower \ + --with-gtk=$(usex gtk3 3.0 2.0) \ + $(use_with X x) \ + $(use_with upower) \ + $(use_enable ipv6) \ + $(use_enable policykit polkit) +} + +src_test() { + unset DBUS_SESSION_BUS_ADDRESS + emake check +} + +src_install() { + python_fix_shebang invest-applet + mate_src_install + + local APPLETS="accessx-status battstat charpick command cpufreq drivemount + geyes invest-applet mateweather multiload null_applet stickynotes + timerapplet trashapplet" + + for applet in ${APPLETS}; do + docinto ${applet} + + for d in AUTHORS ChangeLog NEWS README README.themes TODO; do + [ -s ${applet}/${d} ] && dodoc ${applet}/${d} + done + done +} diff --git a/mate-base/mate-applets/mate-applets-1.14.1-r1.ebuild b/mate-base/mate-applets/mate-applets-1.14.1-r1.ebuild new file mode 100644 index 000000000000..a813ac75a5d4 --- /dev/null +++ b/mate-base/mate-applets/mate-applets-1.14.1-r1.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit mate python-single-r1 + +if [[ ${PV} != 9999 ]]; then + KEYWORDS="~amd64 ~arm ~x86" +fi + +DESCRIPTION="Applets for the MATE Desktop and Panel" +LICENSE="GPL-2 FDL-1.1 LGPL-2" +SLOT="0" + +IUSE="X gtk3 ipv6 policykit +upower" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +#cpupower #593470 +COMMON_DEPEND="${PYTHON_DEPS} + dev-libs/atk:0 + >=dev-libs/dbus-glib-0.74:0 + >=dev-libs/glib-2.36:2 + >=dev-libs/libmateweather-1.6.1[gtk3(-)=] + >=dev-libs/libxml2-2.5:2 + dev-python/pygobject:3 + >=gnome-base/libgtop-2.11.92:2= + >=mate-base/mate-desktop-1.9[gtk3(-)=] + >=mate-base/mate-panel-1.7[gtk3(-)=] + >=net-wireless/wireless-tools-28_pre9:0 + >=sys-apps/dbus-1.1.2:0 + =x11-libs/libnotify-0.7:0 + x11-libs/libX11:0 + x11-libs/pango:0 + virtual/libintl:0 + !gtk3? ( + >=gnome-extra/gucharmap-2.32.1:0 + >=x11-libs/gtk+-2.24:2 + x11-libs/gtksourceview:2.0 + >=x11-libs/libwnck-2.30:1 + ) + gtk3? ( + >=gnome-extra/gucharmap-3.0:2.90 + >=x11-libs/gtk+-3.0:3 + x11-libs/gtksourceview:3.0 + >=x11-libs/libwnck-3.0:3 + ) + policykit? ( >=sys-auth/polkit-0.92:0 ) + upower? ( + || ( + >=sys-power/upower-0.9.23 + >=sys-power/upower-pm-utils-0.9.23 + ) + ) + !!net-analyzer/mate-netspeed" + +RDEPEND="${COMMON_DEPEND} + >=mate-base/mate-settings-daemon-1.6" + +DEPEND="${COMMON_DEPEND} + app-text/docbook-xml-dtd:4.3 + app-text/rarian:0 + >=app-text/scrollkeeper-dtd-1:1.0 + app-text/yelp-tools:0 + >=dev-util/intltool-0.50.1:* + dev-libs/libxslt:0 + sys-devel/gettext:* + virtual/pkgconfig:*" + +PATCHES=( "${FILESDIR}/${PN}-1.14.1-revert-upstream-cpupower-4.7-fix.patch" ) + +src_configure() { + mate_src_configure \ + --libexecdir=/usr/libexec/mate-applets \ + --with-cpufreq-lib=cpupower \ + --with-gtk=$(usex gtk3 3.0 2.0) \ + $(use_with X x) \ + $(use_with upower) \ + $(use_enable ipv6) \ + $(use_enable policykit polkit) +} + +src_test() { + unset DBUS_SESSION_BUS_ADDRESS + emake check +} + +src_install() { + python_fix_shebang invest-applet + mate_src_install + + local APPLETS="accessx-status battstat charpick command cpufreq drivemount + geyes invest-applet mateweather multiload netspeed stickynotes + timerapplet trashapplet" + + for applet in ${APPLETS}; do + docinto ${applet} + + for d in AUTHORS ChangeLog NEWS README README.themes TODO; do + [ -s ${applet}/${d} ] && dodoc ${applet}/${d} + done + done +} diff --git a/mate-base/mate-applets/mate-applets-1.14.1-r2.ebuild b/mate-base/mate-applets/mate-applets-1.14.1-r2.ebuild new file mode 100644 index 000000000000..900d90340920 --- /dev/null +++ b/mate-base/mate-applets/mate-applets-1.14.1-r2.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit mate python-single-r1 + +if [[ ${PV} != 9999 ]]; then + KEYWORDS="~amd64 ~arm ~x86" +fi + +DESCRIPTION="Applets for the MATE Desktop and Panel" +LICENSE="GPL-2 FDL-1.1 LGPL-2" +SLOT="0" + +IUSE="X gtk3 ipv6 policykit +upower" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +COMMON_DEPEND="${PYTHON_DEPS} + dev-libs/atk:0 + >=dev-libs/dbus-glib-0.74:0 + >=dev-libs/glib-2.36:2 + >=dev-libs/libmateweather-1.6.1[gtk3(-)=] + >=dev-libs/libxml2-2.5:2 + dev-python/pygobject:3 + >=gnome-base/libgtop-2.11.92:2= + >=mate-base/mate-desktop-1.9[gtk3(-)=] + >=mate-base/mate-panel-1.7[gtk3(-)=] + >=net-wireless/wireless-tools-28_pre9:0 + >=sys-apps/dbus-1.1.2:0 + sys-power/cpupower + x11-libs/gdk-pixbuf:2 + >=x11-libs/libnotify-0.7:0 + x11-libs/libX11:0 + x11-libs/pango:0 + virtual/libintl:0 + !gtk3? ( + >=gnome-extra/gucharmap-2.32.1:0 + >=x11-libs/gtk+-2.24:2 + x11-libs/gtksourceview:2.0 + >=x11-libs/libwnck-2.30:1 + ) + gtk3? ( + >=gnome-extra/gucharmap-3.0:2.90 + >=x11-libs/gtk+-3.0:3 + x11-libs/gtksourceview:3.0 + >=x11-libs/libwnck-3.0:3 + ) + policykit? ( >=sys-auth/polkit-0.92:0 ) + upower? ( + || ( + >=sys-power/upower-0.9.23 + >=sys-power/upower-pm-utils-0.9.23 + ) + ) + !!net-analyzer/mate-netspeed" + +RDEPEND="${COMMON_DEPEND} + >=mate-base/mate-settings-daemon-1.6" + +DEPEND="${COMMON_DEPEND} + app-text/docbook-xml-dtd:4.3 + app-text/rarian:0 + >=app-text/scrollkeeper-dtd-1:1.0 + app-text/yelp-tools:0 + >=dev-util/intltool-0.50.1:* + dev-libs/libxslt:0 + sys-devel/gettext:* + virtual/pkgconfig:*" + +PATCHES=( "${FILESDIR}/${PN}-1.14.1-cpupower-4.7.patch" ) + +src_configure() { + mate_src_configure \ + --libexecdir=/usr/libexec/mate-applets \ + --with-cpufreq-lib=cpupower \ + --with-gtk=$(usex gtk3 3.0 2.0) \ + $(use_with X x) \ + $(use_with upower) \ + $(use_enable ipv6) \ + $(use_enable policykit polkit) +} + +src_test() { + unset DBUS_SESSION_BUS_ADDRESS + emake check +} + +src_install() { + python_fix_shebang invest-applet + mate_src_install + + local APPLETS="accessx-status battstat charpick command cpufreq drivemount + geyes invest-applet mateweather multiload netspeed stickynotes + timerapplet trashapplet" + + for applet in ${APPLETS}; do + docinto ${applet} + + for d in AUTHORS ChangeLog NEWS README README.themes TODO; do + [ -s ${applet}/${d} ] && dodoc ${applet}/${d} + done + done +} diff --git a/mate-base/mate-applets/mate-applets-1.16.0-r1.ebuild b/mate-base/mate-applets/mate-applets-1.16.0-r1.ebuild new file mode 100644 index 000000000000..d9c8b7e52daf --- /dev/null +++ b/mate-base/mate-applets/mate-applets-1.16.0-r1.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit mate python-single-r1 + +if [[ ${PV} != 9999 ]]; then + KEYWORDS="~amd64 ~arm ~x86" +fi + +DESCRIPTION="Applets for the MATE Desktop and Panel" +LICENSE="GPL-2 FDL-1.1 LGPL-2" +SLOT="0" + +IUSE="X gtk3 ipv6 policykit +upower" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +COMMON_DEPEND="${PYTHON_DEPS} + dev-libs/atk:0 + >=dev-libs/dbus-glib-0.74:0 + >=dev-libs/glib-2.36:2 + >=dev-libs/libmateweather-1.6.1[gtk3(-)=] + >=dev-libs/libxml2-2.5:2 + dev-python/pygobject:3 + >=gnome-base/libgtop-2.11.92:2= + >=mate-base/mate-panel-1.7[gtk3(-)=] + >=net-wireless/wireless-tools-28_pre9:0 + >=sys-apps/dbus-1.1.2:0 + sys-power/cpupower + x11-libs/gdk-pixbuf:2 + >=x11-libs/libnotify-0.7:0 + x11-libs/libX11:0 + x11-libs/pango:0 + virtual/libintl:0 + !gtk3? ( + >=gnome-extra/gucharmap-2.32.1:0 + >=x11-libs/gtk+-2.24:2 + x11-libs/gtksourceview:2.0 + >=x11-libs/libwnck-2.30:1 + ) + gtk3? ( + >=gnome-extra/gucharmap-3.0:2.90 + >=x11-libs/gtk+-3.0:3 + x11-libs/gtksourceview:3.0 + >=x11-libs/libwnck-3.0:3 + ) + policykit? ( >=sys-auth/polkit-0.97:0 ) + upower? ( + || ( + >=sys-power/upower-0.9.23 + >=sys-power/upower-pm-utils-0.9.23 + ) + ) + !!net-analyzer/mate-netspeed" + +RDEPEND="${COMMON_DEPEND} + >=mate-base/mate-settings-daemon-1.6" + +DEPEND="${COMMON_DEPEND} + app-text/docbook-xml-dtd:4.3 + app-text/rarian:0 + >=app-text/scrollkeeper-dtd-1:1.0 + app-text/yelp-tools:0 + >=dev-util/intltool-0.50.1:* + dev-libs/libxslt:0 + sys-devel/gettext:* + virtual/pkgconfig:*" + +PATCHES=( "${FILESDIR}/${PN}-1.16.0-cpupower-4.7.patch" ) + +src_configure() { + mate_src_configure \ + --libexecdir=/usr/libexec/mate-applets \ + --with-cpufreq-lib=cpupower \ + --with-gtk=$(usex gtk3 3.0 2.0) \ + $(use_with X x) \ + $(use_with upower) \ + $(use_enable ipv6) \ + $(use_enable policykit polkit) +} + +src_test() { + unset DBUS_SESSION_BUS_ADDRESS + emake check +} + +src_install() { + python_fix_shebang invest-applet + mate_src_install + + local APPLETS="accessx-status battstat charpick command cpufreq drivemount + geyes invest-applet mateweather multiload netspeed stickynotes + timerapplet trashapplet" + + for applet in ${APPLETS}; do + docinto ${applet} + + for d in AUTHORS ChangeLog NEWS README README.themes TODO; do + [ -s ${applet}/${d} ] && dodoc ${applet}/${d} + done + done +} diff --git a/mate-base/mate-applets/mate-applets-1.16.0.ebuild b/mate-base/mate-applets/mate-applets-1.16.0.ebuild new file mode 100644 index 000000000000..d54b6acf29fb --- /dev/null +++ b/mate-base/mate-applets/mate-applets-1.16.0.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit mate python-single-r1 + +if [[ ${PV} != 9999 ]]; then + KEYWORDS="~amd64 ~arm ~x86" +fi + +DESCRIPTION="Applets for the MATE Desktop and Panel" +LICENSE="GPL-2 FDL-1.1 LGPL-2" +SLOT="0" + +IUSE="X gtk3 ipv6 policykit +upower" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +#cpupower #593470 +COMMON_DEPEND="${PYTHON_DEPS} + dev-libs/atk:0 + >=dev-libs/dbus-glib-0.74:0 + >=dev-libs/glib-2.36:2 + >=dev-libs/libmateweather-1.6.1[gtk3(-)=] + >=dev-libs/libxml2-2.5:2 + dev-python/pygobject:3 + >=gnome-base/libgtop-2.11.92:2= + >=mate-base/mate-panel-1.7[gtk3(-)=] + >=net-wireless/wireless-tools-28_pre9:0 + >=sys-apps/dbus-1.1.2:0 + =x11-libs/libnotify-0.7:0 + x11-libs/libX11:0 + x11-libs/pango:0 + virtual/libintl:0 + !gtk3? ( + >=gnome-extra/gucharmap-2.32.1:0 + >=x11-libs/gtk+-2.24:2 + x11-libs/gtksourceview:2.0 + >=x11-libs/libwnck-2.30:1 + ) + gtk3? ( + >=gnome-extra/gucharmap-3.0:2.90 + >=x11-libs/gtk+-3.0:3 + x11-libs/gtksourceview:3.0 + >=x11-libs/libwnck-3.0:3 + ) + policykit? ( >=sys-auth/polkit-0.97:0 ) + upower? ( + || ( + >=sys-power/upower-0.9.23 + >=sys-power/upower-pm-utils-0.9.23 + ) + ) + !!net-analyzer/mate-netspeed" + +RDEPEND="${COMMON_DEPEND} + >=mate-base/mate-settings-daemon-1.6" + +DEPEND="${COMMON_DEPEND} + app-text/docbook-xml-dtd:4.3 + app-text/rarian:0 + >=app-text/scrollkeeper-dtd-1:1.0 + app-text/yelp-tools:0 + >=dev-util/intltool-0.50.1:* + dev-libs/libxslt:0 + sys-devel/gettext:* + virtual/pkgconfig:*" + +PATCHES=( "${FILESDIR}/${PN}-1.14.1-revert-upstream-cpupower-4.7-fix.patch" ) + +src_configure() { + mate_src_configure \ + --libexecdir=/usr/libexec/mate-applets \ + --with-cpufreq-lib=cpupower \ + --with-gtk=$(usex gtk3 3.0 2.0) \ + $(use_with X x) \ + $(use_with upower) \ + $(use_enable ipv6) \ + $(use_enable policykit polkit) +} + +src_test() { + unset DBUS_SESSION_BUS_ADDRESS + emake check +} + +src_install() { + python_fix_shebang invest-applet + mate_src_install + + local APPLETS="accessx-status battstat charpick command cpufreq drivemount + geyes invest-applet mateweather multiload netspeed stickynotes + timerapplet trashapplet" + + for applet in ${APPLETS}; do + docinto ${applet} + + for d in AUTHORS ChangeLog NEWS README README.themes TODO; do + [ -s ${applet}/${d} ] && dodoc ${applet}/${d} + done + done +} diff --git a/mate-base/mate-applets/mate-applets-1.18.1-r1.ebuild b/mate-base/mate-applets/mate-applets-1.18.1-r1.ebuild new file mode 100644 index 000000000000..4db7d9bb26fc --- /dev/null +++ b/mate-base/mate-applets/mate-applets-1.18.1-r1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit mate python-single-r1 + +if [[ ${PV} != 9999 ]]; then + KEYWORDS="~amd64 ~arm ~x86" +fi + +DESCRIPTION="Applets for the MATE Desktop and Panel" +LICENSE="GPL-2 FDL-1.1 LGPL-2" +SLOT="0" + +IUSE="X ipv6 policykit +upower" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +COMMON_DEPEND="${PYTHON_DEPS} + dev-libs/atk:0 + >=dev-libs/dbus-glib-0.74:0 + >=dev-libs/glib-2.36:2 + >=dev-libs/libmateweather-1.17.0 + >=dev-libs/libxml2-2.5:2 + dev-python/pygobject:3 + >=gnome-base/libgtop-2.12.0:2= + >=gnome-extra/gucharmap-3.0:2.90 + >=mate-base/mate-panel-1.17.0 + >=net-wireless/wireless-tools-28_pre9:0 + >=sys-apps/dbus-1.1.2:0 + sys-power/cpupower + x11-libs/gdk-pixbuf:2 + >=x11-libs/gtk+-3.14:3 + x11-libs/gtksourceview:3.0 + >=x11-libs/libnotify-0.7:0 + x11-libs/libX11:0 + >=x11-libs/libwnck-3.0:3 + x11-libs/pango:0 + virtual/libintl:0 + policykit? ( >=sys-auth/polkit-0.97:0 ) + upower? ( + || ( + >=sys-power/upower-0.9.23 + >=sys-power/upower-pm-utils-0.9.23 + ) + ) + !!net-analyzer/mate-netspeed" + +RDEPEND="${COMMON_DEPEND} + >=mate-base/mate-settings-daemon-1.6" + +DEPEND="${COMMON_DEPEND} + app-text/docbook-xml-dtd:4.3 + app-text/rarian:0 + >=app-text/scrollkeeper-dtd-1:1.0 + app-text/yelp-tools:0 + >=dev-util/intltool-0.50.1:* + dev-libs/libxslt:0 + sys-devel/gettext:* + virtual/pkgconfig:*" + +PATCHES=( "${FILESDIR}/${PN}-1.16.0-cpupower-4.7.patch" ) + +src_configure() { + mate_src_configure \ + --libexecdir=/usr/libexec/mate-applets \ + --with-cpufreq-lib=cpupower \ + $(use_with X x) \ + $(use_with upower) \ + $(use_enable ipv6) \ + $(use_enable policykit polkit) +} + +src_test() { + unset DBUS_SESSION_BUS_ADDRESS + emake check +} + +src_install() { + python_fix_shebang invest-applet + mate_src_install + + local APPLETS="accessx-status battstat charpick command cpufreq drivemount + geyes invest-applet mateweather multiload netspeed stickynotes + timerapplet trashapplet" + + for applet in ${APPLETS}; do + docinto ${applet} + + for d in AUTHORS ChangeLog NEWS README README.themes TODO; do + [ -s ${applet}/${d} ] && dodoc ${applet}/${d} + done + done +} diff --git a/mate-base/mate-applets/mate-applets-1.18.1.ebuild b/mate-base/mate-applets/mate-applets-1.18.1.ebuild new file mode 100644 index 000000000000..d1b6e7177f43 --- /dev/null +++ b/mate-base/mate-applets/mate-applets-1.18.1.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit mate python-single-r1 + +if [[ ${PV} != 9999 ]]; then + KEYWORDS="~amd64 ~arm ~x86" +fi + +DESCRIPTION="Applets for the MATE Desktop and Panel" +LICENSE="GPL-2 FDL-1.1 LGPL-2" +SLOT="0" + +IUSE="X ipv6 policykit +upower" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +#cpupower #593470 +COMMON_DEPEND="${PYTHON_DEPS} + dev-libs/atk:0 + >=dev-libs/dbus-glib-0.74:0 + >=dev-libs/glib-2.36:2 + >=dev-libs/libmateweather-1.17.0 + >=dev-libs/libxml2-2.5:2 + dev-python/pygobject:3 + >=gnome-base/libgtop-2.12.0:2= + >=gnome-extra/gucharmap-3.0:2.90 + >=mate-base/mate-panel-1.17.0 + >=net-wireless/wireless-tools-28_pre9:0 + >=sys-apps/dbus-1.1.2:0 + =x11-libs/gtk+-3.14:3 + x11-libs/gtksourceview:3.0 + >=x11-libs/libnotify-0.7:0 + x11-libs/libX11:0 + >=x11-libs/libwnck-3.0:3 + x11-libs/pango:0 + virtual/libintl:0 + policykit? ( >=sys-auth/polkit-0.97:0 ) + upower? ( + || ( + >=sys-power/upower-0.9.23 + >=sys-power/upower-pm-utils-0.9.23 + ) + ) + !!net-analyzer/mate-netspeed" + +RDEPEND="${COMMON_DEPEND} + >=mate-base/mate-settings-daemon-1.6" + +DEPEND="${COMMON_DEPEND} + app-text/docbook-xml-dtd:4.3 + app-text/rarian:0 + >=app-text/scrollkeeper-dtd-1:1.0 + app-text/yelp-tools:0 + >=dev-util/intltool-0.50.1:* + dev-libs/libxslt:0 + sys-devel/gettext:* + virtual/pkgconfig:*" + +PATCHES=( "${FILESDIR}/${PN}-1.14.1-revert-upstream-cpupower-4.7-fix.patch" ) + +src_configure() { + mate_src_configure \ + --libexecdir=/usr/libexec/mate-applets \ + --with-cpufreq-lib=cpupower \ + $(use_with X x) \ + $(use_with upower) \ + $(use_enable ipv6) \ + $(use_enable policykit polkit) +} + +src_test() { + unset DBUS_SESSION_BUS_ADDRESS + emake check +} + +src_install() { + python_fix_shebang invest-applet + mate_src_install + + local APPLETS="accessx-status battstat charpick command cpufreq drivemount + geyes invest-applet mateweather multiload netspeed stickynotes + timerapplet trashapplet" + + for applet in ${APPLETS}; do + docinto ${applet} + + for d in AUTHORS ChangeLog NEWS README README.themes TODO; do + [ -s ${applet}/${d} ] && dodoc ${applet}/${d} + done + done +} diff --git a/mate-base/mate-applets/metadata.xml b/mate-base/mate-applets/metadata.xml new file mode 100644 index 000000000000..80be46261aa9 --- /dev/null +++ b/mate-base/mate-applets/metadata.xml @@ -0,0 +1,14 @@ + + + + + mate@gentoo.org + Gentoo MATE Desktop + + + Build with GTK+3 instead of GTK+2 + + + mate-desktop/mate-applets + + -- cgit v1.2.3