diff options
author | Eric F. Garioud (aCOSwt) <eric-f.garioud@wanadoo.fr> | 2012-12-12 23:02:12 +0100 |
---|---|---|
committer | Eric F. Garioud (aCOSwt) <eric-f.garioud@wanadoo.fr> | 2012-12-12 23:02:12 +0100 |
commit | 0c47c29767b3186912fa5f4a2bff47f44c2ae7cb (patch) | |
tree | ebe8c2c12fea64219948f6a240e26e8c71f23e44 /x11-plugins | |
parent | x11-misc/cairo-dock: New Ebuild for bug #404443 thanks to hasufell, Tommy, ma... (diff) | |
download | sunrise-reviewed-0c47c29767b3186912fa5f4a2bff47f44c2ae7cb.tar.gz sunrise-reviewed-0c47c29767b3186912fa5f4a2bff47f44c2ae7cb.tar.bz2 sunrise-reviewed-0c47c29767b3186912fa5f4a2bff47f44c2ae7cb.zip |
x11-plugins/cairo-dock-plugins: New Ebuild for bug #446098 thanks to hasufell, Tommy, matttbe and fabounet.
Diffstat (limited to 'x11-plugins')
-rw-r--r-- | x11-plugins/cairo-dock-plugins/ChangeLog | 12 | ||||
-rw-r--r-- | x11-plugins/cairo-dock-plugins/Manifest | 5 | ||||
-rw-r--r-- | x11-plugins/cairo-dock-plugins/cairo-dock-plugins-3.1.2-r200.ebuild | 139 | ||||
-rw-r--r-- | x11-plugins/cairo-dock-plugins/cairo-dock-plugins-3.1.2-r300.ebuild | 139 | ||||
-rw-r--r-- | x11-plugins/cairo-dock-plugins/metadata.xml | 15 |
5 files changed, 310 insertions, 0 deletions
diff --git a/x11-plugins/cairo-dock-plugins/ChangeLog b/x11-plugins/cairo-dock-plugins/ChangeLog new file mode 100644 index 000000000..ab21e86db --- /dev/null +++ b/x11-plugins/cairo-dock-plugins/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for x11-plugins/cairo-dock-plugins +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*cairo-dock-plugins-3.1.2-r300 (12 Dec 2012) +*cairo-dock-plugins-3.1.2-r200 (12 Dec 2012) + + 12 Dec 2012; Eric F. Garioud (aCOSwt) <eric-f.garioud@wanadoo.fr> + +cairo-dock-plugins-3.1.2-r200.ebuild, +cairo-dock-plugins-3.1.2-r300.ebuild, + +metadata.xml: + New Ebuild for bug #446098 thanks to hasufell, Tommy, matttbe and fabounet. + diff --git a/x11-plugins/cairo-dock-plugins/Manifest b/x11-plugins/cairo-dock-plugins/Manifest new file mode 100644 index 000000000..0fc69fed4 --- /dev/null +++ b/x11-plugins/cairo-dock-plugins/Manifest @@ -0,0 +1,5 @@ +DIST cairo-dock-plugins-3.1.2.tar.gz 6522356 SHA256 d8a516b31ea08c9fe1d024c1fd22874fc7c9d15ef6e67af43fbb0d54e586a2ee SHA512 73ba4fa7c2663eb11cd122e135a4e8b1bf81ada936e4da78cc12360c932c9f60e3597740a0012d6a2ab094bf6acc155d2d394d9416a519d45e5ff4edc3b8aa0c WHIRLPOOL 20ada30f09cd80bd397623d0a1f452642102661f6f7e350259974925b2f1ccb31b8c47d29c3c7dec49f96b5ea834dbc02d616024e734006843bcee666b51dc17 +EBUILD cairo-dock-plugins-3.1.2-r200.ebuild 3811 SHA256 e92febe468359ef0123a1822283e8548f8e2039a7da95401a2737c2081734464 SHA512 47d8641066dbb5a8180a6979eff732c511d2295b1745342b2ddc7d98532c25b8cfab1f48f304d48a12663107f508885eb8a72d43809ec78028f1f08cdbcdca6d WHIRLPOOL f5e5175ed4a5560bc60bd32ad5224c1201f74bd9e031d4fc30652063a82ac46659a6a572a6a9c53623f4046c1d39349038211ec25e9023503e050e8fe60446e8 +EBUILD cairo-dock-plugins-3.1.2-r300.ebuild 3814 SHA256 8a0b6e40214fbcc6cfb71f5e2178ccc12c8d41d69d6775922582b3dbec397e1c SHA512 f5df479c58dbd4cb2709c2d140f4b8346ddcf9b4784869ac41187e427c4d747e576dea4cc5f832d854a037cb8aa0773a54ad1ef2a69622ab2e8cc4f74c3aa666 WHIRLPOOL 8c8c148d254fe454d1ddb7adfeeb63c2308146f0ab2448e0cca205279646c1b869fe79995fbae5190db98b6a0a8aa3d0b1a29a21b87383c23261da006f2e7b13 +MISC ChangeLog 466 SHA256 9c302ce004be2be23cc06f674f51b06ef8d0940b6aa02e29148c562047bcd152 SHA512 0e9d79d5388ef322111788e7bd564aa847b168386622773e7fa63ccd0f3e145606533ed19f2b60735e5fec481e6a91be38aa5dbb07cfe08dab17cea92202a3ae WHIRLPOOL ea929b3dddedfb3999d1d03d8b757980f8ccb256e8e7c1bcb0b0abe9af5a1d48eb80df622949220a57e12bf307e2d214d47316720d63b3d7921377b5abb81822 +MISC metadata.xml 521 SHA256 9d3e6aa8a2d460c90a631a771ad874fa5a36169d961537f60a69c7d990d1de97 SHA512 6e43ed4f4029d56c16375fa9220e52d68deec405570d8b61ac724d47ab653b48ac3d8e66e47facec179e1eb85e30a6e031201f528c0f9f37fc9a6cc980cd94f7 WHIRLPOOL ed1550a13a6da83ac0ddc53929bf624e1b71fa8ad0c06c1df3a5ca0bf012b31a92eded49aa2fca53a00a55d6c9942896a8ab1c2ee13ac7f4be099ee4c599e771 diff --git a/x11-plugins/cairo-dock-plugins/cairo-dock-plugins-3.1.2-r200.ebuild b/x11-plugins/cairo-dock-plugins/cairo-dock-plugins-3.1.2-r200.ebuild new file mode 100644 index 000000000..395020a8c --- /dev/null +++ b/x11-plugins/cairo-dock-plugins/cairo-dock-plugins-3.1.2-r200.ebuild @@ -0,0 +1,139 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +PYTHON_DEPEND="2:2.7" + +inherit cmake-utils python versionator + +MY_PN="cairo-dock-plug-ins" +MY_PV=$(get_version_component_range '1-2') +MY_PVL=$(get_version_component_range '1-3') + +DESCRIPTION="The official set of plugins for cairo-dock" +HOMEPAGE="http://www.glx-dock.org" +SRC_URI="http://launchpad.net/${MY_PN}/${MY_PV}/${MY_PVL}/+download/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="2" +KEYWORDS="~amd64" +IUSE="alsa disks doncky gmenu gnome kde nwmon scooby webkit xfce" + +LANGS="ar cs de el en es et eu fr he hr hu id it ja lt nb nl pl pt_BR pt ru sk sr sv tr uk zh_CN zh_TW" +for lang in ${LANGS}; do + IUSE+=" linguas_${lang}" +done +unset lang + +RDEPEND=" + !x11-plugins/cairo-dock-plugins:3 + dev-libs/atk + dev-libs/dbus-glib + dev-libs/glib:2 + dev-libs/libical + dev-libs/libxml2 + gnome-base/librsvg:2 + media-libs/fontconfig + media-libs/freetype:2 + media-libs/libexif + net-libs/libetpan + net-misc/curl + sys-apps/dbus + virtual/glu + virtual/libintl + virtual/opengl + sys-apps/lm_sensors + sys-power/upower + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + x11-libs/libxklavier + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXinerama + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/libXxf86vm + x11-libs/pango[X] + x11-libs/vte:0 + =x11-misc/cairo-dock-${MY_PVL}*:2 + alsa? ( media-libs/alsa-lib ) + gmenu? ( gnome-base/gnome-menus ) + kde? ( + kde-base/kdelibs + x11-libs/qt-core ) + webkit? ( net-libs/webkit-gtk:2 ) + xfce? ( xfce-base/thunar )" + +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig + x11-proto/xproto " + +S="${WORKDIR}/${PN}-${MY_PVL}" + +pkg_setup() { + + python_set_active_version 2 +} + +src_prepare() { + + # Following adjustments done by removing parts of the CMakeLists until upstream makes these parts configuration switches dependent. + + # Remove forced gcc optimization level + + sed -i -e 's/add_definitions (-O3)//' "${S}/CMakeLists.txt" || die "sed failed" + + # Don't build code forcing unwanted automagic dependencies on unstable / controversial / huge stuff + sed -i \ + -e '/INDICATOR-APPLET/,/SHARED LIBRARIES/d' \ + -e '/STATUS \"> Impulse:\"/,/\#\# ILLUSION/d' \ + -e '/RECENT-EVENTS/,/\#\# REMOTE/d' \ + "${S}/CMakeLists.txt" || die + + # Don't build ruby \(until clean install possible\) \/ mono and vala bindings {I know nothing about that stuff\.\.\.\} + # Not really sure that escape sequences are needed as part of comments but... [Semi-Private joke] + + sed -i -e '/STATUS \" \* Ruby:\"/,/GETTEXT_DBUS/ { /GETTEXT_DBUS/ !{d}}' "${S}/CMakeLists.txt" || die "sed failed" + + # Not really needed to explicitly remove as the status notifier won't get built anyway, but some do not like the look of the build log if it is not... + + sed -i -e '/STATUS NOTIFIER/,/\#\# SWITCHER/d' "${S}/CMakeLists.txt" || die "sed failed" + + # Localization + + local lang + + if [[ -z ${LINGUAS} ]]; then + touch po/slctd_linguas + else + for lang in ${LINGUAS}; do + echo "\"${S}\"/po/${lang}.po" >> po/slctd_linguas + done + fi + sed -e "s/^\(file (\)GLOB \(PO_FILES\).*$/\1STRINGS slctd_linguas \2)/" -i po/CMakeLists.txt || die "sed failed" +} + +src_configure() { + + # Don't use standard cmake-utils_use* functions because upstream tests STREQUAL "no/yes" + + local mycmakeargs=( + "-DROOT_PREFIX=${D}" + $(usex alsa "" "-Denable-alsa=no") + $(usex disks "-Denable-disks=yes") + $(usex doncky "-Denable-doncky=yes") + $(usex gmenu "" "-Denable-gmenu=no") + $(usex gnome "" "-Denable-gnome-integration=no") + $(usex kde "-Denable-kde-integration=yes" "") + $(usex nwmon "-Denable-network-monitor=yes" "") + $(usex scooby "-Denable-scooby-do=yes" "") + $(usex webkit "" "-Denable-weblets=no") + $(usex xfce "" "-Denable-xfce-integration=no") + ) + cmake-utils_src_configure +} diff --git a/x11-plugins/cairo-dock-plugins/cairo-dock-plugins-3.1.2-r300.ebuild b/x11-plugins/cairo-dock-plugins/cairo-dock-plugins-3.1.2-r300.ebuild new file mode 100644 index 000000000..c75899769 --- /dev/null +++ b/x11-plugins/cairo-dock-plugins/cairo-dock-plugins-3.1.2-r300.ebuild @@ -0,0 +1,139 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +PYTHON_DEPEND="2:2.7" + +inherit cmake-utils python versionator + +MY_PN="cairo-dock-plug-ins" +MY_PV=$(get_version_component_range '1-2') +MY_PVL=$(get_version_component_range '1-3') + +DESCRIPTION="The official set of plugins for cairo-dock" +HOMEPAGE="http://www.glx-dock.org" +SRC_URI="http://launchpad.net/${MY_PN}/${MY_PV}/${MY_PVL}/+download/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="3" +KEYWORDS="~amd64" +IUSE="alsa disks doncky gmenu gnome kde nwmon scooby webkit xfce" + +LANGS="ar cs de el en es et eu fr he hr hu id it ja lt nb nl pl pt_BR pt ru sk sr sv tr uk zh_CN zh_TW" +for lang in ${LANGS}; do + IUSE+=" linguas_${lang}" +done +unset lang + +RDEPEND=" + !x11-plugins/cairo-dock-plugins:2 + dev-libs/atk + dev-libs/dbus-glib + dev-libs/glib:2 + dev-libs/libical + dev-libs/libxml2 + gnome-base/librsvg:2 + media-libs/fontconfig + media-libs/freetype:2 + media-libs/libexif + net-libs/libetpan + net-misc/curl + sys-apps/dbus + virtual/glu + virtual/libintl + virtual/opengl + sys-apps/lm_sensors + sys-power/upower + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/libxklavier + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXinerama + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/libXxf86vm + x11-libs/pango[X] + x11-libs/vte:2.90 + =x11-misc/cairo-dock-${MY_PVL}*:3 + alsa? ( media-libs/alsa-lib ) + gmenu? ( gnome-base/gnome-menus ) + kde? ( + kde-base/kdelibs + x11-libs/qt-core ) + webkit? ( net-libs/webkit-gtk:3 ) + xfce? ( xfce-base/thunar )" + +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig + x11-proto/xproto " + +S="${WORKDIR}/${PN}-${MY_PVL}" + +pkg_setup() { + + python_set_active_version 2 +} + +src_prepare() { + + # Following adjustments done by removing parts of the CMakeLists until upstream makes these parts configuration switches dependent. + + # Remove forced gcc optimization level + + sed -i -e 's/add_definitions (-O3)//' "${S}/CMakeLists.txt" || die "sed failed" + + # Don't build code forcing unwanted automagic dependencies on unstable / controversial / huge stuff + sed -i \ + -e '/INDICATOR-APPLET/,/SHARED LIBRARIES/d' \ + -e '/STATUS \"> Impulse:\"/,/\#\# ILLUSION/d' \ + -e '/RECENT-EVENTS/,/\#\# REMOTE/d' \ + "${S}/CMakeLists.txt" || die + + # Don't build ruby \(until clean install possible\) \/ mono and vala bindings {I know nothing about that stuff\.\.\.\} + # Not really sure that escape sequences are needed as part of comments but... [Semi-Private joke] + + sed -i -e '/STATUS \" \* Ruby:\"/,/GETTEXT_DBUS/ { /GETTEXT_DBUS/ !{d}}' "${S}/CMakeLists.txt" || die "sed failed" + + # Not really needed to explicitly remove as the status notifier won't get built anyway, but some do not like the look of the build log if it is not... + + sed -i -e '/STATUS NOTIFIER/,/\#\# SWITCHER/d' "${S}/CMakeLists.txt" || die "sed failed" + + # Localization + + local lang + + if [[ -z ${LINGUAS} ]]; then + touch po/slctd_linguas + else + for lang in ${LINGUAS}; do + echo "\"${S}\"/po/${lang}.po" >> po/slctd_linguas + done + fi + sed -e "s/^\(file (\)GLOB \(PO_FILES\).*$/\1STRINGS slctd_linguas \2)/" -i po/CMakeLists.txt || die "sed failed" +} + +src_configure() { + + # Don't use standard cmake-utils_use* functions because upstream tests STREQUAL "no/yes" + + local mycmakeargs=( + "-DROOT_PREFIX=${D}" + $(usex alsa "" "-Denable-alsa=no") + $(usex disks "-Denable-disks=yes") + $(usex doncky "-Denable-doncky=yes") + $(usex gmenu "" "-Denable-gmenu=no") + $(usex gnome "" "-Denable-gnome-integration=no") + $(usex kde "-Denable-kde-integration=yes" "") + $(usex nwmon "-Denable-network-monitor=yes" "") + $(usex scooby "-Denable-scooby-do=yes" "") + $(usex webkit "" "-Denable-weblets=no") + $(usex xfce "" "-Denable-xfce-integration=no") + ) + cmake-utils_src_configure +} diff --git a/x11-plugins/cairo-dock-plugins/metadata.xml b/x11-plugins/cairo-dock-plugins/metadata.xml new file mode 100644 index 000000000..7bf4c9178 --- /dev/null +++ b/x11-plugins/cairo-dock-plugins/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>maintainer-wanted@gentoo.org</email> + </maintainer> + <use> + <flag name='disks'>Build disks applet</flag> + <flag name='doncky'>Build doncky applet</flag> + <flag name='gmenu'>Build gnome menus</flag> + <flag name='nwmon'>Build network monitor</flag> + <flag name='scooby'>Build scooby applet</flag> + <flag name='xfce'>Enable xfce integration</flag> + </use> +</pkgmetadata> |