1 # KDE-Apps Gentoo Overlay
2 # Maintained by Bram Schoenmakers <bramschoenmakers@kde.nl>
4 # Distributed under the terms of the GNU General Public License v3
7 LANGS
="bg br cy da el es et fr ga it ja lt nl pt rw sr sr@Latn sv tr"
11 DESCRIPTION
="A boggle game for KDE, using the words from your spell checker."
12 HOMEPAGE
="http://www.bramschoenmakers.nl/kboggle"
14 SRC_URI
="http://www.bramschoenmakers.nl/files/${P}.tar.bz2"
17 KEYWORDS
="~amd64 ~x86"
27 if ! built_with_use kde-base
/kdelibs spell
; then
29 ewarn
"kde-base/kdelibs was not compiled with the \"spell\" use flag."
30 ewarn
"This is highly recommended so that KBoggle can check the words entered during the game."
37 strip-linguas
${LANGS}
39 if [[ ${LINGUAS} != "" ]]; then
41 for I
in ${LINGUAS}; do
42 LANGPO
="${LANGPO} ${I}.po"
45 sed -i -e "s/^POFILES =.*/POFILES =${LANGPO}/" "${S}/po/Makefile.am" || die
"sed for locale failed"
46 rm -f "${KDE_S}/configure"