diff --git a/games-strategy/ufo-ai/ufo-ai-2.1.1.ebuild b/games-strategy/ufo-ai/ufo-ai-2.1.1.ebuild deleted file mode 100644 index 3db6cae..0000000 --- a/games-strategy/ufo-ai/ufo-ai-2.1.1.ebuild +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit eutils autotools games - -MY_PV=${PV/_rc/-RC} -MY_P="ufoai-${MY_PV}" -MY_SF="mirror://sourceforge/ufoai" - -DESCRIPTION="UFO: Alien Invasion - X-COM inspired strategy game" -HOMEPAGE="http://www.ufoai.net/" -SRC_URI="${MY_SF}/music.tar.bz2 - ${MY_SF}/${MY_P}-data.tar - ${MY_SF}/${MY_P}-source.tar.bz2 - ${MY_SF}/${MY_P}-i18n.tar.bz2" -# Map data is already in the main data tarball -# ${MY_SF}/${MY_P}-mapsource.tar.bz2 - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="alsa arts debug dedicated dga doc ipv6 jack master oss paranoid" - -# Info at http://ufoai.ninex.info/wiki/index.php/Compile_for_Linux -UIRDEPEND="virtual/opengl - virtual/glu - >=media-libs/libsdl-1.2.7 - >=media-libs/sdl-ttf-2.0.7 - dga? ( x11-libs/libXxf86dga ) - x11-libs/libX11" -UIDEPEND="x11-proto/xf86vidmodeproto - x11-proto/xproto" -RDEPEND="${UIRDEPEND} - alsa? ( media-libs/alsa-lib ) - arts? ( kde-base/arts ) - >=media-libs/jpeg-6b-r7 - media-libs/libpng - >=media-libs/libogg-1.1 - >=media-libs/libvorbis-1.1 - jack? ( >=media-sound/jack-0.100.0 ) - sys-devel/gettext - >=sys-libs/glibc-2.4 - >=sys-libs/zlib-1.2.3" -DEPEND="${RDEPEND} - ${UIDEPEND} - doc? ( app-doc/doxygen )" - -S=${WORKDIR}/${MY_P}-source -dir=${GAMES_DATADIR}/${PN} - -src_unpack() { - unpack ${A} - cd "${S}" - - local libdir=$(games_get_libdir)/${PN} - # Set libdir - sed -i \ - -e "s:libPath, \"\.\":libPath, \"${libdir}\":" \ - src/{client,ports/linux}/*.c || die "sed *.c failed" - - sed -i \ - -e "s:\"s_libdir\", \"\":\"s_libdir\", \"${libdir}\":" \ - src/client/snd_ref.c || die "sed snd_ref.c failed" - - sed -i \ - -e "s:game\.so\", path:game\.so\", \"${libdir}\":" \ - src/ports/linux/sys_linux.c || die "sed sys_linux.c failed" - - # Set basedir - sed -i \ - -e "s:\"fs_basedir\", \"\.\":\"fs_basedir\", \"${dir}\":" \ - src/qcommon/files.c || die "sed files.c failed" - - sed -i \ - -e "s:/usr/local/games/ufoai:${dir}:" \ - src/tools/gtkradiant/games/ufoai.game || die "sed ufoai.game failed" - - # Fixes bug in finding text files - it should use fs_basedir - sed -i \ - -e "s:FS_GetCwd():\"${dir}\":" \ - src/qcommon/common.c || die "sed common.c failed" - - eautoreconf -} - -src_compile() { - yesno() { useq $1 && echo yes || echo no ; } - -# Forces building of client. -# gettext is required to show the intro text. -# egamesconf fails with openal. -# $(use_with openal) - egamesconf \ - $(use_enable dedicated) \ - $(use_enable master) \ - $(use_enable !debug release) \ - $(use_enable paranoid) \ - --with-vid-glx \ - --with-vid-vidmode \ - --with-sdl \ - --with-snd-sdl \ - $(use_with alsa snd-alsa) \ - $(use_with arts snd-arts) \ - $(use_with jack snd-jack) \ - $(use_with oss snd-oss) \ - $(use_with dga vid-dga) \ - $(use_with ipv6) \ - --with-gettext \ - --without-openal \ - || die "egamesconf failed" - - emake || die "emake failed" - - if use doc ; then - emake docs || die "emake docs failed" - fi -} - -src_install() { - # ufo is usually started by a "ufoai" wrapper script. - # Might as well standardize on the ebuild name, for minimum confusion. - newgamesbin ufo ${PN} || die - newicon src/ports/linux/installer/data/ufo.xpm ${PN}.xpm || die - make_desktop_entry ${PN} "UFO: Alien Invasion" ${PN}.xpm - - if use dedicated ; then - dogamesbin ufoded || die - fi - - if use master ; then - dogamesbin ufomaster || die - fi - - if [[ -f ufo2map ]] ; then - dogamesbin ufo2map || die - fi - - local libdir=$(games_get_libdir)/${PN} - exeinto "${libdir}" - local f - for f in *.so base/game.so ; do - doexe "${f}" || die "doexe ${f} failed" - done - - insinto "${dir}" - doins -r "${WORKDIR}"/{base,music} \ - || die "doins -r failed" - - if use doc ; then - dohtml -r "${WORKDIR}"/docs/html/* - fi - - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst - - elog "To play the game, run: ${PN}" -} diff --git a/x11-wm/windowmaker-crm/ChangeLog b/x11-wm/windowmaker-crm/ChangeLog new file mode 100644 index 0000000..46c99a2 --- /dev/null +++ b/x11-wm/windowmaker-crm/ChangeLog @@ -0,0 +1,15 @@ +# ChangeLog for x11-wm/windowmaker-crm +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 21 Apr 2011; Bernard Cafarelli + windowmaker-crm-9999.ebuild: + Use FHS layout for WPrefs, to keep in sync with the new default gnustep + layout + +*windowmaker-crm-9999 (01 Apr 2011) + + 01 Apr 2011; Bernard Cafarelli + +windowmaker-crm-9999.ebuild, +files/wmaker.desktop, +metadata.xml: + First version, based on cleaned windowmaker ebuild + diff --git a/x11-wm/windowmaker-crm/Manifest b/x11-wm/windowmaker-crm/Manifest new file mode 100644 index 0000000..61a9ab9 --- /dev/null +++ b/x11-wm/windowmaker-crm/Manifest @@ -0,0 +1,5 @@ +AUX wmaker.desktop 221 RMD160 501ba6451f7e756cc3d07682d728bcd6fe55366d SHA1 acd95a41645fbef358459f8f4753056cb321497e SHA256 40359d3c61117f0dbc5eb547e4c369982427e8bc3174c95002d34eb30f9a4a84 +DIST WindowMaker-extra-0.1.tar.gz 238018 RMD160 94334c2c12d20a8fd0cd2a70e54cd3689f043038 SHA1 80f34cb3af705ec0f79d727b82cef28ee50fc4e7 SHA256 acd6e1fb790485b107daf2b710da372367b41383c55d9c8bdfdac521d850edc4 +EBUILD windowmaker-crm-9999.ebuild 2960 RMD160 f669c830168f4603864da326397f0e8a58045c1c SHA1 1d9d7a8db4ce916b340168631c8b9c6872e96826 SHA256 0616dc9f06d80585c3205493cffd0e3b120eaa7de7eacadf86b69d4b66c77f06 +MISC ChangeLog 509 RMD160 710aff6b0f74226a893d4c5fdffad3c3fef91aa4 SHA1 5aa625742f7be8ca72c19ad9a28d9877e7fecf24 SHA256 441b049051e9207604ae166f228c60bb832f9762027359d20d2ae4a0e9ec9d7d +MISC metadata.xml 455 RMD160 41514c712d553ed4752ce045efca3d27dd036c19 SHA1 345b35512a60f3d19cf5fc4cebbfe30bd6006bf3 SHA256 7661636f854da151e83478668ff58943b0d80662f6abd2a209707d3d34b37c7c diff --git a/x11-wm/windowmaker-crm/files/wmaker.desktop b/x11-wm/windowmaker-crm/files/wmaker.desktop new file mode 100644 index 0000000..1bda476 --- /dev/null +++ b/x11-wm/windowmaker-crm/files/wmaker.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Encoding=UTF-8 +# The names/descriptions should really be better +Name=GNUStep WindowMaker +Comment=Use this session to run WindowMaker as your desktop environment +Exec=/usr/bin/wmaker +Icon= +Type=Application diff --git a/x11-wm/windowmaker-crm/metadata.xml b/x11-wm/windowmaker-crm/metadata.xml new file mode 100644 index 0000000..3ecadd4 --- /dev/null +++ b/x11-wm/windowmaker-crm/metadata.xml @@ -0,0 +1,12 @@ + + + + gnustep + + Enable XKB language status lock support. README + says: "If you don't know what it is you probably don't need + it." + Enable dynamic virtual desktop (conflicts with + software that works on the edges of the screen) + + diff --git a/x11-wm/windowmaker-crm/windowmaker-crm-9999.ebuild b/x11-wm/windowmaker-crm/windowmaker-crm-9999.ebuild new file mode 100644 index 0000000..a6f6541 --- /dev/null +++ b/x11-wm/windowmaker-crm/windowmaker-crm-9999.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +inherit autotools git + +DESCRIPTION="Fork from the last available CVS version of Window Maker" +HOMEPAGE="http://repo.or.cz/w/wmaker-crm.git" +SRC_URI="http://www.windowmaker.info/pub/source/release/WindowMaker-extra-0.1.tar.gz" +EGIT_REPO_URI="git://repo.or.cz/wmaker-crm.git" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="gif jpeg nls png tiff modelock +vdesktop xinerama" + +DEPEND="x11-libs/libXv + >=x11-libs/libXft-2.1.0 + x11-libs/libXt + media-libs/fontconfig + gif? ( >=media-libs/giflib-4.1.0-r3 ) + png? ( >=media-libs/libpng-1.2.1 ) + jpeg? ( virtual/jpeg ) + tiff? ( >=media-libs/tiff-3.6.1-r2 ) + xinerama? ( x11-libs/libXinerama )" +RDEPEND="${DEPEND} + !x11-wm/windowmaker + nls? ( >=sys-devel/gettext-0.10.39 )" + +src_unpack() { + # wm-extras + unpack ${A} + + git_src_unpack +} + +src_prepare() { + for file in "${S}"/WindowMaker/*menu*; do + if [[ -r $file ]] ; then + sed -i -e "s:/usr/local/GNUstep/Applications/WPrefs.app:${EPREFIX}/usr/bin/:g;" "$file" || die + sed -i -e 's:/usr/local/share/WindowMaker:${EPREFIX}/usr/share/WindowMaker:g;' "$file" || die + sed -i -e 's:/opt/share/WindowMaker:${EPREFIX}/usr/share/WindowMaker:g;' "$file" || die + fi; + done; + + eautoreconf || die "eautoreconf failed" +} + +src_configure() { + local myconf + + # image format types + # xpm is provided by X itself + myconf="--enable-xpm $(use_enable png) $(use_enable jpeg) $(use_enable gif) $(use_enable tiff)" + + # non required X capabilities + myconf="${myconf} $(use_enable modelock) $(use_enable xinerama)" + + if use nls; then + [[ -z $LINGUAS ]] && export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'`" + else + myconf="${myconf} --disable-locale" + fi + + # enable new features, need to be done via defines + append-flags -DNEWAPPICON + + # default settings with $myconf appended + econf \ + --sysconfdir="${EPREFIX}"/etc/X11 \ + --with-x \ + --enable-usermenu \ + --with-pixmapdir="${EPREFIX}"/usr/share/pixmaps \ + --with-nlsdir="${EPREFIX}"/usr/share/locale \ + ${myconf} || die + cd ../WindowMaker-extra-0.1 + econf || die "windowmaker-extra: configure has failed" +} + +src_compile() { + emake || die "windowmaker: make has failed" + + # WindowMaker Extra Package (themes and icons) + cd ../WindowMaker-extra-0.1 + emake || die "windowmaker-extra: make has failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "windowmaker: install has failed." + + dodoc AUTHORS BUGFORM BUGS ChangeLog COPYING* INSTALL* FAQ* \ + README* NEWS TODO + + # WindowMaker Extra + cd ../WindowMaker-extra-0.1 + emake DESTDIR="${D}" install || die "windowmaker-extra: install failed" + + newdoc README README.extra + + # create wmaker session shell script + echo "#!/usr/bin/env bash" > wmaker + echo "${EPREFIX}/usr/bin/wmaker" >> wmaker + exeinto /etc/X11/Sessions/ + doexe wmaker + + insinto /etc/X11/dm/Sessions + doins "${FILESDIR}"/wmaker.desktop + make_desktop_entry /usr/bin/wmaker +}