summaryrefslogtreecommitdiff
path: root/packaging/gentoo
diff options
context:
space:
mode:
authorConnor Thomson <blumatrikz@gmail.com>2026-09-08 18:27:39 -0700
committerConnor Thomson <blumatrikz@gmail.com>2026-09-08 18:27:39 -0700
commitf1ddc12b68b4e4c8087962de25260470e6df2bea (patch)
tree7d0440a6402a9b0ef75ded23fa64b68534255bba /packaging/gentoo
parent6025860a61386bf767b29c3ec5fd0d31285f1056 (diff)
Add tuxanci2 files
Diffstat (limited to 'packaging/gentoo')
-rw-r--r--packaging/gentoo/tuxanci-0.20.0-r1.ebuild54
-rw-r--r--packaging/gentoo/tuxanci-0.21.0.ebuild58
-rw-r--r--packaging/gentoo/tuxanci-9999.ebuild71
3 files changed, 0 insertions, 183 deletions
diff --git a/packaging/gentoo/tuxanci-0.20.0-r1.ebuild b/packaging/gentoo/tuxanci-0.20.0-r1.ebuild
deleted file mode 100644
index 70115bb..0000000
--- a/packaging/gentoo/tuxanci-0.20.0-r1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit games cmake-utils
-
-DESCRIPTION="Tuxanci is first cushion shooter based on well-known Czech game Bulanci."
-HOMEPAGE="http://www.tuxanci.org/"
-SRC_URI="http://download.${PN}.org/${PV}/${P}-src.tar.bz2"
-LICENSE="GPL-2"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="alsa dedicated"
-# alsa is used only when building client
-
-DEPEND="!dedicated? (
- >=media-libs/libsdl-1.2.10
- >=media-libs/sdl-ttf-2.0.7
- >=media-libs/sdl-image-1.2.6-r1
- alsa? (
- >=media-libs/sdl-mixer-1.2.7
- )
- )"
-
-S="${WORKDIR}/pkgs/${P}-src/"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- # setting proper prefix
- sed -i \
- -e "s:PATH_DIR\tPREFIX:PATH_DIR:" src/base/path.h \
- || die "sed config.h failed!"
- sed -i \
- -e "s:share/tuxanci:"${GAMES_DATADIR}"/"${PN}":" src/base/path.h \
- || die "sed config.h failed!"
- sed -i \
- -e "s:CMAKE_INSTALL_DATADIR share/:CMAKE_INSTALL_DATADIR /usr/share/games/:" CMakeLists.txt \
- || die "sed CMakeLists.txt failed!"
-}
-
-src_compile() {
- local mycmakeargs
- use alsa || mycmakeargs="${mycmakeargs} -DNO_Audio=1"
- use dedicated && mycmakeargs="${mycmakeargs} -DServer=1"
- mycmakeargs="${mycmakeargs} -DPREFIX=\\\"/usr/games\\\" -DCMAKE_INSTALL_PREFIX:PATH=/usr/games"
- cmake-utils_src_compile
-}
-
-src_install() {
- cmake-utils_src_install
- prepgamesdirs
-}
diff --git a/packaging/gentoo/tuxanci-0.21.0.ebuild b/packaging/gentoo/tuxanci-0.21.0.ebuild
deleted file mode 100644
index 09ab6d4..0000000
--- a/packaging/gentoo/tuxanci-0.21.0.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/tuxanci/tuxanci-0.21.0.ebuild,v 1.2 2008/10/27 08:56:52 scarabeus Exp $
-
-EAPI="1"
-
-inherit cmake-utils games
-
-DESCRIPTION="Tuxanci is first cushion shooter inspired by game Bulanci."
-HOMEPAGE="http://www.tuxanci.org/"
-SRC_URI="http://download.${PN}.org/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="alsa debug dedicated nls"
-# alsa is used only when building client
-
-RDEPEND="!dedicated? (
- >=media-libs/libsdl-1.2.10
- >=media-libs/sdl-ttf-2.0.7
- >=media-libs/sdl-image-1.2.6-r1
- alsa? (
- >=media-libs/sdl-mixer-1.2.7
- )
- )
- dev-libs/zziplib"
-DEPEND="${RDEPEND}
- >=dev-util/cmake-2.6.0
- nls? ( sys-devel/gettext )"
-
-src_configure() {
- local mycmakeargs
- use alsa || mycmakeargs="${mycmakeargs} -DNO_Audio=1"
- use debug && mycmakeargs="${mycmakeargs} -DDebug=1"
- use dedicated && mycmakeargs="${mycmakeargs} -DServer=1"
- use nls && mycmakeargs="${mycmakeargs} -DNLS=1"
- # This cant be quoted due to cmake nature.
- # Read as: quote it and it wont compile.
- 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} -DLIB_INSTALL_DIR=$(games_get_libdir)"
- cmake-utils_src_configure
-}
-
-src_install() {
- local MY_PN
- use dedicated && MY_PN=${PN}-server || MY_PN=${PN}
-
- cmake-utils_src_install
- dosym "${GAMES_BINDIR}"/${MY_PN}-${PV} "${GAMES_BINDIR}"/${MY_PN}
- doicon data/${PN}.svg
- # we compile our desktop file
- domenu data/${PN}.desktop
- prepgamesdirs
-}
diff --git a/packaging/gentoo/tuxanci-9999.ebuild b/packaging/gentoo/tuxanci-9999.ebuild
deleted file mode 100644
index 5af5965..0000000
--- a/packaging/gentoo/tuxanci-9999.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-
-[[ ${PV} = 9999* ]] && GIT="git"
-EGIT_REPO_URI="git://repo.or.cz/tuxanci.git"
-
-inherit games cmake-utils ${GIT}
-
-DESCRIPTION="Tuxanci is first tux shooter inspired by game Bulanci."
-HOMEPAGE="http://www.tuxanci.org/"
-if [[ ${PV} = 9999* ]]; then
- SRC_URI=""
- KEYWORDS=""
-else
- SRC_URI="http://download.${PN}.org/${P}.tar.bz2"
- KEYWORDS="~amd64 ~x86"
-fi
-LICENSE="GPL-2"
-
-SLOT="0"
-IUSE="debug dedicated +ipv6 nls opengl physfs +sound"
-
-# >=x11-libs/cairo-1.8.8[X,svg]
-RDEPEND="
- !dedicated? (
- >=media-libs/fontconfig-2.7.0
- media-libs/libsdl[X,opengl?]
- media-libs/sdl-ttf[X]
- >=media-libs/sdl-image-1.2.10[png]
- sound? (
- >=media-libs/sdl-mixer-1.2.11[vorbis]
- )
- )
- physfs? ( >=dev-games/physfs-2.0.0[zip] )
- !physfs? ( >=dev-libs/libzip-0.9 )"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- nls? ( sys-devel/gettext )"
-
-src_configure() {
- local mycmakeargs+=(
- $(cmake-utils_use_with sound AUDIO)
- $(cmake-utils_use_build dedicated SERVER)
- $(cmake-utils_use_with nls)
- $(cmake-utils_use_with opengl)
- $(cmake-utils_use_with physfs)
- $(cmake-utils_use_enable ipv6)
- $(cmake-utils_use_enable debug)
- )
-
- mycmakeargs+=(
- "-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}"
- "-DCMAKE_INSTALL_ICONDIR=${GAMES_DATADIR_BASE}/pixmaps/"
- "-DCMAKE_INSTALL_DESKTOPDIR=${GAMES_DATADIR_BASE}/applications/"
- "-DCMAKE_DATA_PATH=${GAMES_DATADIR}"
- "-DCMAKE_LOCALE_PATH=${GAMES_DATADIR_BASE}/locale/"
- "-DCMAKE_DOC_PATH=${GAMES_DATADIR_BASE}/doc/${PF}"
- "-DCMAKE_CONF_PATH=${GAMES_SYSCONFDIR}"
- )
-
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
-
- prepgamesdirs
-}