diff options
| -rw-r--r-- | generate_gettext_pot.sh | 2 | ||||
| -rw-r--r-- | packaging/gentoo/tuxanci-9999.ebuild | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/generate_gettext_pot.sh b/generate_gettext_pot.sh index 50a876e..572b16d 100644 --- a/generate_gettext_pot.sh +++ b/generate_gettext_pot.sh @@ -1,2 +1,4 @@ #!/bin/bash xgettext --default-domain=tuxanci --add-comments=/// -k_ `find ./ -name \*.c |grep -v .svn |tr '\n' ' '` -o ./po/tuxanci.pot +cd po/ +find ./ -name \*.po -print | xargs -i msgmerge -U {} tuxanci.pot
\ No newline at end of file diff --git a/packaging/gentoo/tuxanci-9999.ebuild b/packaging/gentoo/tuxanci-9999.ebuild index 8060fc0..b9192e1 100644 --- a/packaging/gentoo/tuxanci-9999.ebuild +++ b/packaging/gentoo/tuxanci-9999.ebuild @@ -33,11 +33,12 @@ src_compile() { use debug && mycmakeargs="${mycmakeargs} -DDebug=1" use dedicated && mycmakeargs="${mycmakeargs} -DServer=1" use nls && mycmakeargs="${mycmakeargs} -DNLS=1" - mycmakeargs="${mycmakeargs} -DCMAKE_INSTALL_PREFIX=/usr/games -DCMAKE_DATA_PATH=/usr/share/games/ -DCMAKE_LOCALE_PATH=/usr/share/locale/ -DCMAKE_DOC_PATH=/usr/share/doc/ " + mycmakeargs="${mycmakeargs} -DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX} -DCMAKE_DATA_PATH=${GAMES_DATADIR} -DCMAKE_LOCALE_PATH=${GAMES_DATADIR_BASE}/locale/ -DCMAKE_DOC_PATH=${GAMES_DATADIR_BASE}/doc/ -DCMAKE_ETC_PATH=${GAMES_SYSCONFDIR}" cmake-utils_src_compile } src_install() { cmake-utils_src_install + make_desktop_entry ${PN}-svn "Tuxanci" prepgamesdirs } |