Subversion Repositories KardasA Overlay

Compare Revisions

Ignore whitespace Rev 156 → Rev 157

/games-rpg/amnesia-tdd/amnesia-tdd-1.2.1.ebuild
0,0 → 1,287
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
 
EAPI=4
 
inherit check-reqs eutils games unpacker
 
MY_PN="${PN//-/_}"
MY_REV="-2"
MY_ARCH="${ARCH/amd64/x86_64}"
 
DESCRIPTION="Amnesia: The Dark Descent is a first person survival horror. A game about immersion, discovery and living through a nightmare."
HOMEPAGE="http://www.amnesiagame.com/"
SRC_URI="${MY_PN}_${PV}${MY_REV}.sh"
 
RESTRICT="fetch strip"
LICENSE="Frictional_Games-EULA"
 
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc linguas_de linguas_es linguas_fr linguas_it linguas_ru"
 
DEPEND="app-arch/xz-utils"
RDEPEND="media-libs/freealut
>=media-libs/glew-1.5
media-libs/jpeg:62
media-libs/libpng:1.2
media-libs/libtheora
media-libs/libvorbis
media-libs/openal
media-libs/sdl-image
media-libs/sdl-ttf
sys-libs/zlib
x11-libs/libxcb
x11-libs/libXext
virtual/glu
virtual/opengl"
 
CHECKREQS_DISK_BUILD="3500M"
 
S="${WORKDIR}/${PN}"
 
GAMEDIR="${GAMES_PREFIX_OPT}/${PN}"
 
pkg_nofetch() {
einfo ""
einfo "Please buy and download \"${SRC_URI}\" from:"
einfo " ${HOMEPAGE}"
einfo "and move/link it to \"${DISTDIR}\""
einfo ""
}
 
pkg_setup() {
games_pkg_setup
}
 
src_unpack() {
einfo "\nUnpacking files. This will take several minutes.\n"
mkdir "${S}" || die "mkdir "${S}" failed"
cd "${S}" || die "cd '${S}' failed"
 
unpack_makeself || die "unpack_makeself failed"
 
mv "instarchive_all" "../${P}.tar.lzma" || die "move 'instarchive_all' failed"
mv "instarchive_all_${MY_ARCH}" "../${P}-${MY_ARCH}.tar.lzma" || die "move 'instarchive_all_${MY_ARCH}' failed"
 
cd "${WORKDIR}" || die "cd '${WORKDIR}' failed"
 
echo ">>> Unpacking ./${P}.tar.lzma to ${WORKDIR}"
#Standard unpack fails due to poor quality of archive
xz -F lzma -d -c "./${P}.tar.lzma" 2>/dev/null | tar xf - || die "unpacking '${P}.tar.lzma' failed"
rm "./${P}.tar.lzma"
 
unpack "./${P}-${MY_ARCH}.tar.lzma" || die "unpack '${P}-${MY_ARCH}.tar.lzma' failed"
rm "./${P}-${MY_ARCH}.tar.lzma"
}
 
src_prepare() {
# libfltk.so.1.1 is needed because it's no longer in portage
mv "${WORKDIR}"/Amnesia/libs*/all/libfltk* "${WORKDIR}"/Amnesia/libs*/ || die "libfltk extraction failed"
 
#reset ${S} for outprocessing
rm -rf "${S}"
mv "${WORKDIR}/Amnesia" "${S}" || die "mv 'Amnesia' failed"
cd ${S}
 
# Files to remove.
REMOVE="libs*/*
*.pdf
*.rtf
*.sh"
 
# Files to keep.
# Bundled LibIL (media-libs/devil) isn't in portage as too old
KEEP="libs*/libIL*
libs*/libfltk*"
 
# Collect infos about languages...
LINGUAS_ARRAY=() # Linguas - string: E.g.: "linguas_en"
LANG_ARRAY=() # Lang - string: E.g.: "en"
LANGUAGE_ARRAY=() # Language - string: E.g.: "english"
LANGUAGE_SHORT_ARRAY=() # Language Short - string: E.g.: "eng"
USE_ARRAY=() # Used - bool (0,1)
 
local linguas_in_use="0"
for use in ${IUSE}
do
if [[ "${use%%_*}" == "linguas" ]]
then
local tmp="${use}"
LINGUAS_ARRAY=(${LINGUAS_ARRAY[@]} "${tmp}")
 
tmp="${tmp##linguas_}"
LANG_ARRAY=(${LANG_ARRAY[@]} "${tmp}")
 
case "${tmp}" in
"de") tmp="german";;
"es") tmp="spanish";;
"fr") tmp="french";;
"it") tmp="italian";;
"ru") tmp="russian";;
*) tmp="";;
esac
LANGUAGE_ARRAY=(${LANGUAGE_ARRAY[@]} "${tmp}")
LANGUAGE_SHORT_ARRAY=(${LANGUAGE_SHORT_ARRAY[@]} "${tmp:0:3}")
 
if use ${use}
then
USE_ARRAY=(${USE_ARRAY[@]} "1")
linguas_in_use="$(( ${linguas_in_use} + 1 ))"
else
USE_ARRAY=(${USE_ARRAY[@]} "0")
fi
fi
done
 
# ...then process them.
local n="0"
local docs_eng="0"
while [[ "${n}" -lt "${#LINGUAS_ARRAY[@]}" ]]
do
if [[ "${USE_ARRAY[${n}]}" -gt "0" ]]
then
# If only one lang is selected, use it as default.
if [[ "${linguas_in_use}" == "1" ]]
then
sed -e "s#english.lang#${LANGUAGE_ARRAY[${n}]}.lang#g" \
-i config/*main_init.cfg || die "sed \"config/*main_init.cfg\" failed"
fi
else
REMOVE="${REMOVE} $(find config -type f -name "*${LANGUAGE_ARRAY[${n}]}.lang")"
if [[ -d "lang/${LANGUAGE_SHORT_ARRAY[${n}]}" ]]
then
REMOVE="${REMOVE} lang/${LANGUAGE_SHORT_ARRAY[${n}]}"
fi
fi
 
if use doc
then
if [[ -f "EULA_${LANG_ARRAY[${n}]}.rtf" && -f "Manual_${LANG_ARRAY[${n}]}.pdf" ]]
then
KEEP="${KEEP} EULA_${LANG_ARRAY[${n}]}.rtf Manual_${LANG_ARRAY[${n}]}.pdf"
else
local docs_eng="1"
fi
fi
 
n="$(( ${n} + 1 ))"
done
 
if use doc && [[ ( "${linguas_in_use}" == "0" || "${docs_eng}" != "0" ) ]]
then
KEEP="${KEEP} EULA_en.rtf Manual_en.pdf Remember*.pdf"
fi
 
einfo " Removing useless files ..."
for remove in ${REMOVE}
do
local removable="1"
for keep in ${KEEP}
do
if [[ "${remove}" == "${keep}" && "${removable}" == "1" ]]
then
local removable="0"
fi
done
 
if [[ "${removable}" == "1" ]]
then
rm -r "${S}/"${remove} &> /dev/null
fi
done
 
if use amd64
then
mv "Amnesia.bin64" "Amnesia.bin" || die "mv \"Amnesia.bin64\" failed"
mv "Launcher.bin64" "Launcher.bin" || die "mv \"Launcher.bin64\" failed"
fi
}
 
src_install() {
# Install data
insinto "${GAMEDIR}"
 
einfo " Installing game data files ..."
for directory in $(find * -maxdepth 0 -type d ! -name "libs*")
do
doins -r ${directory} || die "doins game data files failed"
done
 
# Other files
find . -maxdepth 1 -type f ! -name "*.bin" \
! -name "*.pdf" \
! -name "*.png" \
! -name "*.rtf" \
! -name "*.sh" \
-exec doins '{}' \; || die "doins other files failed"
 
 
# Install libraries and executables
einfo " Installing libraries and executables ..."
 
if use amd64
then
local libsdir="${GAMEDIR}/libs64"
else
local libsdir="${GAMEDIR}/libs"
fi
 
exeinto "${libsdir}"
doexe libs*/* || die "doexe \"libs\" failed"
dosym "/usr/$(get_libdir)/libGLEW.so" "${libsdir}/libGLEW.so.1.5"
 
exeinto "${GAMEDIR}"
doexe *.bin || die "doexe \".bin\" binaries failed"
 
# Make game wrapper
local wrapper="${S}/${PN}"
local ext="${PN}-justine"
 
cat << EOF > "${wrapper}" || die "echo failed"
#!/bin/sh
if [[ "\$(basename "\${0}")" == "${ext}" ]]
then
params="ptest \${@}"
fi
 
if [[ -w "\${HOME}/.frictionalgames/Amnesia/Main/main_settings.cfg" ]]
then
exec ./Amnesia.bin \${params:-"\${@}"}
else
exec ./Launcher.bin "\${@}"
fi
EOF
 
# Install wrapper
dogamesbin "${wrapper}" || die "dogamesbin ${wrapper} failed"
dosym "${PN}" "${GAMES_BINDIR}/${ext}"
 
# Install icon and desktop file
newicon "Amnesia.png" "${PN}.png" || die "newicon failed"
make_desktop_entry "${PN}" "Amnesia: The Dark Descent" "/usr/share/pixmaps/${PN}.png" || die "make_desktop_entry failed"
make_desktop_entry "${ext}" "Amnesia: The Dark Descent - Justine" "/usr/share/pixmaps/${PN}.png" || die "make_desktop_entry failed"
 
# Install documentation
if use doc
then
dodoc *.rtf *.pdf || die "dodoc failed"
fi
 
# Setting permissions.
einfo " Setting permissions ..."
prepgamesdirs
}
 
pkg_postinst() {
ewarn ""
ewarn "Amnesia: The Dark Descent needs video drivers that provide a complete".
ewarn "GLSL 1.20 implementation. For more information, please visit:"
ewarn "http://www.frictionalgames.com/forum/thread-3760.html"
ewarn ""
ewarn "--------------------------------------------------------------------"
ewarn ""
ewarn "Saved games from previous versions may not be fully compatible."
ewarn ""
}
/profiles/cotegories
File deleted
\ No newline at end of file
/x11-misc/cairo-dock/files/fix_lib6464.patch
0,0 → 1,20
diff -ru cairo-dock-3.0.0/CMakeLists.txt cairo-dock-3.0.0.new//CMakeLists.txt
--- cairo-dock-3.0.0/CMakeLists.txt 2012-04-18 10:36:48.240150064 -0700
+++ cairo-dock-3.0.0.new//CMakeLists.txt 2012-04-18 10:37:11.259152049 -0700
@@ -44,6 +44,7 @@
message(FATAL_ERROR "Cairo-Dock requires an air-conditioned room. Please close Windows!")
endif( WIN32 )
+set (CMAKE_SKIP_RPATH TRUE)
set (PACKAGE ${CMAKE_PROJECT_NAME})
set (GETTEXT_PACKAGE ${PACKAGE})
@@ -58,7 +59,7 @@
if( CMAKE_SIZEOF_VOID_P EQUAL 8 AND "${FORCE_LIB64}" STREQUAL "yes") # 64bits and force install in lib64
set (libdir "${prefix}/lib64")
else()
- set (libdir "${prefix}/${CMAKE_INSTALL_LIBDIR}${LIB_SUFFIX}") # (...)/lib
+ set (libdir "${prefix}/${CMAKE_INSTALL_LIBDIR}") # (...)/lib
endif()
set (includedir "${prefix}/${CMAKE_INSTALL_INCLUDEDIR}") # (...)/include
/x11-misc/cairo-dock/files/glib-include.patch
0,0 → 1,12
diff -urN cairo-dock-3.0.0.orig/src/gldit/cairo-dock-keybinder.h cairo-dock-3.0.0/src/gldit/cairo-dock-keybinder.h
--- cairo-dock-3.0.0.orig/src/gldit/cairo-dock-keybinder.h 2012-04-19 23:09:27.610906117 +0600
+++ cairo-dock-3.0.0/src/gldit/cairo-dock-keybinder.h 2012-04-19 23:11:13.424875527 +0600
@@ -31,7 +31,7 @@
#ifndef __CD_KEY_BINDER_H__
#define __CD_KEY_BINDER_H__
-#include <glib/gtypes.h>
+#include <glib.h>
#include "cairo-dock-struct.h"
#include "cairo-dock-manager.h"
/x11-misc/cairo-dock/files/improved-cairo-dock-session.patch
0,0 → 1,106
## From: Matthieu Baerts (matttbe) <matttbe@gmail.com>
## Description: Improved the launch of our Cairo-Dock session (by removing Unity
## Compiz plugin and by launching the dock with a short delay)
## Origin: upstream, http://bazaar.launchpad.net/~cairo-dock-team/cairo-dock-core/cairo-dock/revision/885
## Forwarded: yes
Index: cairo-dock/data/desktop-manager/CMakeLists.txt
===================================================================
--- cairo-dock.orig/data/desktop-manager/CMakeLists.txt 2011-10-06 12:02:24.494184799 +0200
+++ cairo-dock/data/desktop-manager/CMakeLists.txt 2011-10-06 12:02:17.554184897 +0200
@@ -7,3 +7,7 @@
cairo-dock.session
cairo-dock-fallback.session
DESTINATION /usr/share/gnome-session/sessions)
+
+install (FILES cairo-dock-session
+ DESTINATION ${bindir}
+ PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
Index: cairo-dock/data/desktop-manager/cairo-dock-fallback.desktop
===================================================================
--- cairo-dock.orig/data/desktop-manager/cairo-dock-fallback.desktop 2011-10-06 12:02:24.578184798 +0200
+++ cairo-dock/data/desktop-manager/cairo-dock-fallback.desktop 2011-10-06 12:02:17.554184897 +0200
@@ -2,6 +2,6 @@
Name=Cairo-Dock (with Gnome and without effect)
Comment=This session logs you into GNOME with Cairo-Dock and without any graphical effect.
Exec=gnome-session --session=cairo-dock-fallback
-TryExec=gnome-session
+TryExec=cairo-dock-session
Icon=
Type=Application
Index: cairo-dock/data/desktop-manager/cairo-dock-session
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ cairo-dock/data/desktop-manager/cairo-dock-session 2011-10-06 12:02:17.554184897 +0200
@@ -0,0 +1,47 @@
+#!/bin/bash
+
+# Script for the 'desktop-manager' subproject of Cairo-Dock
+#
+# Copyright : (C) see the 'copyright' file.
+# E-mail : see the 'copyright' file.
+#
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 3
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# http://www.gnu.org/licenses/licenses.html#GPL
+
+# This script removes Unity Compiz plugin and launches Cairo-Dock with a short delay
+
+UNITY_NAME="unityshell"
+COMPIZ_FLAT_FILE="$HOME/.config/compiz-1/compizconfig/Default.ini"
+COMPIZ_GCONF="/apps/compiz-1/general/screen0/options/active_plugins"
+
+if test -d "$HOME/.config/compiz-1"; then # compiz >= 0.9
+ # plug-ins in double are NO LONGER filtered by Compiz in this version... (and if plugins are in double or wrong, compiz crashes :) )
+ # flat file
+ if test -f "$COMPIZ_FLAT_FILE"; then
+ pluginsFlat=`grep "s0_active_plugins" $COMPIZ_FLAT_FILE`
+ if test `echo $pluginsFlat | grep -c $UNITY_NAME` -gt 0; then
+ pluginsFlatWithoutUnity=`echo $pluginsFlat | sed -e "s/$UNITY_NAME;//g"`
+ sed -i "/s0_active_plugins/ s/$pluginsFlat/$pluginsFlatWithoutUnity/g" $COMPIZ_FLAT_FILE
+ fi
+ fi
+ # gconf
+ plugins=`gconftool-2 -g $COMPIZ_GCONF`
+ if test `echo $plugins | grep -c $UNITY_NAME` -gt 0; then
+ pluginsWithoutUnity=`echo $plugins | sed -e "s/$UNITY_NAME,//g"`
+ gconftool-2 -s $COMPIZ_GCONF --type=list --list-type=string "$pluginsWithoutUnity"
+ killall unity-panel-service
+ fi
+fi
+
+if test `ps aux | grep -c " [c]airo-dock"` -eq 0; then # cairo-dock not launched
+ cairo-dock -w 3
+fi
Index: cairo-dock/data/desktop-manager/cairo-dock.desktop
===================================================================
--- cairo-dock.orig/data/desktop-manager/cairo-dock.desktop 2011-10-06 12:02:24.450184800 +0200
+++ cairo-dock/data/desktop-manager/cairo-dock.desktop 2011-10-06 12:02:17.554184897 +0200
@@ -2,6 +2,6 @@
Name=Cairo-Dock (with Gnome and effects)
Comment=This session logs you into GNOME with Cairo-Dock and with graphical effects.
Exec=gnome-session --session=cairo-dock
-TryExec=gnome-session
+TryExec=cairo-dock-session
Icon=
Type=Application
Index: cairo-dock/data/scripts/help_scripts.sh
===================================================================
--- cairo-dock.orig/data/scripts/help_scripts.sh 2011-10-06 12:02:24.294184802 +0200
+++ cairo-dock/data/scripts/help_scripts.sh 2011-10-06 12:02:17.554184897 +0200
@@ -115,7 +115,7 @@
# flat file
if test -f "$HOME/.config/compiz-1/compizconfig/Default.ini"; then
pluginsList="s0_active_plugins = "`echo $ARG2 |sed -e 's/,/;/g'`";" # , => ;
- sed -i "/s0_active_plugins/ s/.*/$ARG2/g" $HOME/.config/compiz-1/compizconfig/Default.ini
+ sed -i "/s0_active_plugins/ s/.*/$pluginsList/g" $HOME/.config/compiz-1/compizconfig/Default.ini
fi
# gconf
gconftool-2 -s /apps/compiz-1/general/screen0/options/active_plugins --type=list --list-type=string "[$ARG2]"
/x11-misc/cairo-dock/Manifest
0,0 → 1,5
AUX fix_lib6464.patch 850 SHA256 3eaa7d90620cb5e13d9be54e29a6fbcbb0e8d4cc5e8af11f63da6acf4499de18 SHA512 abf02c6a0495a74827c041c588ad6d8a72241bf32857d32d90739ff2589aa73e971f57f7879247001c26dc497743ba4bda2e42684eca84db9959392c9a0f165a WHIRLPOOL f612eb2a205b41eed882cc120369d9c59df0838490a2756437f2b06da546879bd2890c0fe3b1ec5478b59ce8f1e03208b33023fd99ba473bbd2e0bd319521021
AUX glib-include.patch 490 SHA256 3cc33d6069e2e5c95227377e10ec06e485289edd4be49c3ab2e9d57fc720e45a SHA512 070c863eefc050cd4bc170d3dc9ba8a712e892c44c21e085e7583866dcda39418339181ef7d0d2209b6e244d5ab38c9929c5f581afd22819b5d4e088916de6fe WHIRLPOOL 914c5aae8e5b70d8cccd16fd278482495a0da2bf20dc75d9932953bf925c6dde6c3f3a53ab517aa2ae43059f26ff921d0137de1c500cb952267e2134140da3e6
AUX improved-cairo-dock-session.patch 5129 SHA256 015147962c7e9a0a131b8ec52334d6ad51409e12f814011ce31653a7024cceb2 SHA512 0dffff45d9c038e62fdc9130eafcd6961be87d4ac38a3d4abad7e053db6e4d026f7866978ce097b6d7439d1b3d098b444b93b77ebdc2984e98049175a99f377a WHIRLPOOL 76dc762b7ffe002a3921844a8e80f3d040403110230797d68113efa4f299481b9ba4bfb001e50925edc901ab73710a447f9a1ede539473b5abbfa9d118a0c66e
DIST cairo-dock-2.4.0~2.tar.gz 2281677 SHA256 8087e68c174d06dcd62bb9acfdd54cc534cc09ddbfffcc0f9cfac967d882123c SHA512 1961adc9b29e8ecb78df06b553794e520092f38feb534adfe4fc9a6a751e99c6eae1e04cd4f6aff89fb63a1fc26379015115cf886ea0b9b6bd34679772917d12 WHIRLPOOL 2ae8feac4739fe89599cffc3c8167ed2f2aa5077f0144bddd79dcf36b12f0555dd3028a816a1f55fdafe6d48c795aaa4c0cce8709c7a139f5d3c85e7151f486e
EBUILD cairo-dock-2.4.0.2.ebuild 2030 SHA256 5c7d6b05ae2512fc196f167172fe17a958d01bb63d2f89b6eed2157a73379436 SHA512 86a7e5210d6f2bdaf4adfcdc690422f22f13b19a1c840b2c8c3d659f186823ae41449cf062022ecfb308776546fb431a0051b5aa29ce0ecf12a032119f54bd7c WHIRLPOOL 738a39c1194f4e66e8250cc3a09bc2c60d4967c8ff9fd7d8e40b1a3741bc0c1dda86fb27f5a64ee11d1f9492e8091d378bf7152f41c03a6cb74a1898b82cc780
/x11-misc/cairo-dock/cairo-dock-2.4.0.2.ebuild
0,0 → 1,74
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
 
EAPI="3"
 
inherit cmake-utils eutils versionator
 
MY_PN="${PN}-core"
MY_PV=$(replace_version_separator 3 '~')
MM_PV=$(get_version_component_range '1-2')
MMD_PV=$(get_version_component_range '1-3')
 
DESCRIPTION="Cairo-dock is a fast, responsive, Mac OS X-like dock."
HOMEPAGE="https://launchpad.net/cairo-dock-core/"
SRC_URI="http://launchpad.net/${MY_PN}/${MM_PV}/${MMD_PV}/+download/${PN}-${MY_PV}.tar.gz"
echo $SRC_URI
 
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="crypt xcomposite"
 
RDEPEND="
dev-libs/dbus-glib
dev-libs/glib:2
dev-libs/libxml2:2
gnome-base/librsvg:2
net-misc/curl
sys-apps/dbus
x11-libs/cairo
x11-libs/gtk+:2
x11-libs/gtkglext
x11-libs/libXrender
crypt? ( sys-libs/glibc )
xcomposite? (
x11-libs/libXcomposite
x11-libs/libXinerama
x11-libs/libXtst
)
"
DEPEND="${RDEPEND}
dev-util/intltool
dev-util/pkgconfig
sys-devel/gettext
"
 
S="${WORKDIR}/${PN}-${MY_PV}"
 
src_prepare() {
epatch "${FILESDIR}/improved-cairo-dock-session.patch" || die
# intltoolize --automake --copy --force || die "intltoolize failed"
# eautoreconf
}
 
src_configure() {
# glitz support has been dropped from recent cairo, so drop it here as well.
mycmakeargs+=( "-DENABLE_GLITZ=OFF" )
cmake-utils_src_configure
}
 
pkg_postinst() {
elog "Additional plugins are available to extend the functionality"
elog "of Cairo-Dock. It is recommended to install at least"
elog "x11-misc/cairo-dock-plugins-core."
elog
elog "Cairo-Dock is an app that draws on a RGBA GLX visual."
elog "Some users have noticed that if the dock is launched,"
elog "severals qt4-based applications could crash, like skype or vlc."
elog "If you have this problem, add the following line into your bashrc :"
echo
elog "alias vlc='export XLIB_SKIP_ARGB_VISUALS=1; vlc; unset XLIB_SKIP_ARGB_VISUALS'"
elog "see http://www.qtforum.org/article/26669/qt4-mess-up-the-opengl-context.html for more details."
}
/x11-plugins/cairo-dock-plugins/files/python_sandbox.patch
0,0 → 1,24
diff -ru cairo-dock-plugins-2.4.0~2.orig//Dbus/interfaces/bash/BashInstall.cmake.in cairo-dock-plugins-2.4.0~2/Dbus/interfaces/bash/BashInstall.cmake.in
--- cairo-dock-plugins-2.4.0~2.orig//Dbus/interfaces/bash/BashInstall.cmake.in 2011-10-03 07:51:28.000000000 -0700
+++ cairo-dock-plugins-2.4.0~2/Dbus/interfaces/bash/BashInstall.cmake.in 2012-01-27 18:31:33.714287648 -0800
@@ -1,7 +1,7 @@
IF("@ROOT_PREFIX@" STREQUAL "")
EXEC_PROGRAM("@PYTHON_EXECUTABLE@" "${CMAKE_CURRENT_BINARY_DIR}" ARGS
"setup.py" "install"
- "--prefix=${CMAKE_INSTALL_PREFIX}"
+ "--prefix=$ENV{D}${CMAKE_INSTALL_PREFIX}"
"@DEBIAN_INSTALL_LAYOUT@")
ELSEIF(NOT "@ROOT_PREFIX@" STREQUAL "" AND "@python_no_deb_layout@" STREQUAL "")
EXEC_PROGRAM("@PYTHON_EXECUTABLE@" "${CMAKE_CURRENT_BINARY_DIR}" ARGS
diff -ru cairo-dock-plugins-2.4.0~2.orig//Dbus/interfaces/python/PythonInstall.cmake.in cairo-dock-plugins-2.4.0~2/Dbus/interfaces/python/PythonInstall.cmake.in
--- cairo-dock-plugins-2.4.0~2.orig//Dbus/interfaces/python/PythonInstall.cmake.in 2011-10-03 07:51:28.000000000 -0700
+++ cairo-dock-plugins-2.4.0~2/Dbus/interfaces/python/PythonInstall.cmake.in 2012-01-27 18:31:43.582287380 -0800
@@ -1,7 +1,7 @@
IF("@ROOT_PREFIX@" STREQUAL "")
EXEC_PROGRAM("@PYTHON_EXECUTABLE@" "${CMAKE_CURRENT_BINARY_DIR}" ARGS
"setup.py" "install"
- "--prefix=${CMAKE_INSTALL_PREFIX}"
+ "--prefix=$ENV{D}${CMAKE_INSTALL_PREFIX}"
"@DEBIAN_INSTALL_LAYOUT@")
ELSEIF(NOT "@ROOT_PREFIX@" STREQUAL "" AND "@python_no_deb_layout@" STREQUAL "")
EXEC_PROGRAM("@PYTHON_EXECUTABLE@" "${CMAKE_CURRENT_BINARY_DIR}" ARGS
/x11-plugins/cairo-dock-plugins/Manifest
0,0 → 1,3
AUX python_sandbox.patch 1618 SHA256 87183587afe0a4d38a614ddebc7359b775ab9cc7d2bbf6c52298484e80cd7f23 SHA512 c0f52a8b14daf5bc296ff562f6af8103a03169f63473be67a9aec866b828aef21eb8481c92bffbb4a2e65b7f1d2f524ee74d57a2d8f7325b6095cd1867767e27 WHIRLPOOL b3c01dae080b036781ed7247cfd3c6b2d66c215b86121be1c7c06c105a8bbd586a16a4985e957e516a9ab1c21954caec2e10ea41551ee59d047beee6836cc9c6
DIST cairo-dock-plugins-2.4.0~2.tar.gz 6039150 SHA256 f042fab774351087908f99e5598765b858489a0fc8481e672897887bd6d08230 SHA512 f4da76162f8615771b143f9b4e36b89398761d23a1955473d3de6c0b8d8c4e4d1ae49d73c4f245a7a6fb79d05b8971bcd4192c0839d654a06778a4e5538115cc WHIRLPOOL 8a48bf63a7f03d4a8d817afd6a060cb37d55d96ab31b867ff310bc1ffe0963faa0a078410a626f1387c292c80857fe256c124fccc4f220cf731ce4d1e7d8c1cc
EBUILD cairo-dock-plugins-2.4.0.2.ebuild 1476 SHA256 84f27bdf4a47a96e387f9ea9bcb8ba6310f866e9fb9f36135da7712016c066ff SHA512 71990ff60cbeaab0b7625be05f2ef7cfb29da06188b64b64eecf1b9dcaaf1a4e431caa86f6b699df13595eac4b9ed9ad5789a54e12fc29ee0352ab798a225968 WHIRLPOOL 4298224ff0d779f448bc1e2d3523b9802b39e1f92a08e768cf2c21bae3a0a4ac7818306f8ac9b29f6d3e5277de57994042d802d43ff881196936381a5c931b10
/x11-plugins/cairo-dock-plugins/cairo-dock-plugins-2.4.0.2.ebuild
0,0 → 1,66
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
 
EAPI="2"
 
inherit cmake-utils eutils versionator
 
MY_PN="${PN/plugins/plug-ins}"
MY_PV=$(replace_version_separator 3 '~')
MM_PV=$(get_version_component_range '1-2')
MMD_PV=$(get_version_component_range '1-3')
 
DESCRIPTION="Official plugins for cairo-dock"
HOMEPAGE="https://launchpad.net/cairo-dock-plug-ins/"
SRC_URI="http://launchpad.net/${MY_PN}/${MM_PV}/${MMD_PV}/+download/${PN}-${MY_PV}.tar.gz"
 
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="alsa exif gio gmenu kde terminal tomboy vala webkit xfce xgamma xklavier"
 
RDEPEND="
dev-libs/dbus-glib
dev-libs/glib:2
dev-libs/libxml2
gnome-base/librsvg
sys-apps/dbus
x11-libs/cairo
x11-libs/gtk+:2
x11-libs/gtkglext
~x11-misc/cairo-dock-${PV}
 
alsa? ( media-libs/alsa-lib )
exif? ( media-libs/libexif )
gmenu? ( gnome-base/gnome-menus )
kde? ( kde-base/kdelibs )
terminal? ( x11-libs/vte )
vala? ( dev-lang/vala:0.12 )
webkit? ( >=net-libs/webkit-gtk-1.0 )
xfce? ( xfce-base/thunar )
xgamma? ( x11-libs/libXxf86vm )
xklavier? ( x11-libs/libxklavier )
"
 
DEPEND="${RDEPEND}
dev-util/intltool
sys-devel/gettext
dev-util/pkgconfig
"
 
S="${WORKDIR}/${PN}-${MY_PV}"
 
src_prepare() {
epatch "${FILESDIR}/python_sandbox.patch" || die
}
 
pkg_setup() {
if use gio; then
if ! use gmenu; then
ewarn "gio requires gmenu, implicitly added"
fi
fi
}
 
# MAKE_IN_SOURCE_BUILD=true
/.project
5,7 → 5,13
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.dltk.core.scriptbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>net.sourceforge.shelled.core.nature</nature>
</natures>
</projectDescription>