summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNP-Hardass <NP-Hardass@gentoo.org>2016-08-12 00:44:05 -0400
committerNP-Hardass <NP-Hardass@gentoo.org>2016-08-12 01:12:45 -0400
commit3003f6d74e086e5edf9c1e934f9a9714f93812c7 (patch)
tree5b07dcfe997c02294803d9e8d60b716d59bac104 /mate-extra
parentnet-analyzer/mate-netspeed: 1.12.x vbump, add gtk3, import from project repo (diff)
downloadgentoo-3003f6d74e086e5edf9c1e934f9a9714f93812c7.tar.gz
gentoo-3003f6d74e086e5edf9c1e934f9a9714f93812c7.tar.bz2
gentoo-3003f6d74e086e5edf9c1e934f9a9714f93812c7.zip
mate-extra/mate-netbook: 1.12.x vbump, add gtk3, import from project repo
Package-Manager: portage-2.3.0
Diffstat (limited to 'mate-extra')
-rw-r--r--mate-extra/mate-netbook/Manifest1
-rw-r--r--mate-extra/mate-netbook/mate-netbook-1.12.0.ebuild48
-rw-r--r--mate-extra/mate-netbook/metadata.xml3
3 files changed, 52 insertions, 0 deletions
diff --git a/mate-extra/mate-netbook/Manifest b/mate-extra/mate-netbook/Manifest
index 5913a0418266..5fbada55cadf 100644
--- a/mate-extra/mate-netbook/Manifest
+++ b/mate-extra/mate-netbook/Manifest
@@ -1 +1,2 @@
DIST mate-netbook-1.10.0.tar.xz 268792 SHA256 d84c2a6cd10b112a571e311613508b4391676f03d9bed1cea51bfca8b1dafee3 SHA512 b98b2233591b3fd0168c7250c9c993d365e0d951bb20a60e602e7999a50ee4ef8340869ff17a3a14f43fde376113864e3de0381a0751466605aa330935c81727 WHIRLPOOL 2d13427780d652ad9bbfcb5a015eb5c9a0360b4552ccc946594beeecb9b4214cd1cc2f986e8c5ecb63f0380f8021e9b958bc264b7fcfcbd99a093d11520fea67
+DIST mate-netbook-1.12.0.tar.xz 268632 SHA256 96f65b971b03932fc10060a8f8745c29bcd2db48fb5b4b396048f0cbcf87d7d3 SHA512 3f46e537b48833fe3bd599dcaa6af89a265dacac4fc077d46ca87b5a35c2368810824747411d263541e2685e2700311996f8741aa9321122d6d306c1ad8fc15b WHIRLPOOL 4eb462cd69ca82752ecee3da3b8d57e27c4518ae05f1b1c441872e5b3a6b8e7d360b894f0cff2293ceb04c8369ee69e949c9955b61b6dede661ba133bad9e0af
diff --git a/mate-extra/mate-netbook/mate-netbook-1.12.0.ebuild b/mate-extra/mate-netbook/mate-netbook-1.12.0.ebuild
new file mode 100644
index 000000000000..75e509483483
--- /dev/null
+++ b/mate-extra/mate-netbook/mate-netbook-1.12.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit mate
+
+if [[ ${PV} != 9999 ]]; then
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+DESCRIPTION="MATE utilities for netbooks"
+LICENSE="GPL-3"
+SLOT="0"
+
+IUSE="gtk3"
+
+RDEPEND="
+ >=dev-libs/glib-2.36:2
+ >=mate-base/mate-desktop-1.9[gtk3(-)=]
+ >=mate-base/mate-panel-1.8[gtk3(-)=]
+ x11-libs/libfakekey:0
+ x11-libs/libXtst:0
+ x11-libs/libX11:0
+ x11-libs/cairo:0
+ virtual/libintl:0
+ !gtk3? (
+ dev-libs/libunique:1
+ x11-libs/gtk+:2
+ x11-libs/libwnck:1
+ )
+ gtk3? (
+ dev-libs/libunique:3
+ x11-libs/gtk+:3
+ x11-libs/libwnck:3
+ )"
+
+DEPEND="${RDEPEND}
+ x11-proto/xproto:0
+ >=dev-util/intltool-0.50.1:*
+ sys-devel/gettext:*
+ virtual/pkgconfig:*"
+
+src_configure() {
+ mate_src_configure \
+ --with-gtk=$(usex gtk3 3.0 2.0)
+}
diff --git a/mate-extra/mate-netbook/metadata.xml b/mate-extra/mate-netbook/metadata.xml
index cc0beef683b1..dbdeae68bc50 100644
--- a/mate-extra/mate-netbook/metadata.xml
+++ b/mate-extra/mate-netbook/metadata.xml
@@ -9,6 +9,9 @@
MATE utilities for netbooks are an applet and a daemon to
maximize windows and move their titles on the panel.
</longdescription>
+ <use>
+ <flag name="gtk3">Build with GTK+3 instead of GTK+2</flag>
+ </use>
<upstream>
<remote-id type="github">mate-desktop/mate-netbook</remote-id>
</upstream>