From 0d9acc68f6f56fd56d3400b048b23823ba6dec0e Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Thu, 11 Dec 2014 10:17:07 +0300 Subject: tsc live ebuild --- games-arcade/smc/smc-9999.ebuild | 66 ---------------------------------------- games-arcade/smc/smc-scm.ebuild | 66 ++++++++++++++++++++++++++++++++++++++++ games-arcade/tsc/tsc-scm.ebuild | 61 +++++++++++++++++++++++++++++++++++++ 3 files changed, 127 insertions(+), 66 deletions(-) delete mode 100644 games-arcade/smc/smc-9999.ebuild create mode 100644 games-arcade/smc/smc-scm.ebuild create mode 100644 games-arcade/tsc/tsc-scm.ebuild diff --git a/games-arcade/smc/smc-9999.ebuild b/games-arcade/smc/smc-9999.ebuild deleted file mode 100644 index a67818a..0000000 --- a/games-arcade/smc/smc-9999.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 2012 Funtoo Technologies -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/smc/smc-1.9.ebuild,v 1.5 2011/04/27 16:39:06 mr_bones_ Exp $ - -EAPI=3 -inherit autotools eutils flag-o-matic git-2 games - -MUSIC_P=SMC_Music_5.0_high -DESCRIPTION="Secret Maryo Chronicles" -HOMEPAGE="http://www.secretmaryo.org/" -SRC_URI="music? ( mirror://sourceforge/smclone/${MUSIC_P}.zip )" -EGIT_REPO_URI="git://github.com/FluXy/SMC.git - https://github.com/FluXy/SMC.git" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="music" - -RDEPEND=">=dev-games/cegui-0.7.4[opengl,devil] - >=dev-libs/boost-1.46 - virtual/opengl - virtual/glu - dev-libs/libpcre[unicode] - media-libs/libpng - media-libs/libsdl[X,joystick,opengl] - media-libs/sdl-image[png] - media-libs/sdl-mixer[vorbis] - media-libs/sdl-ttf" -DEPEND="${RDEPEND} - virtual/pkgconfig - music? ( app-arch/unzip ) - sys-devel/gettext" - -S="${WORKDIR}/${PN}" - -EGIT_NOUNPACK="1" -EGIT_SOURCEDIR="${WORKDIR}" - -src_unpack() { - git-2_src_unpack - - if use music; then - cd ${S} - unpack ${MUSIC_P}.zip - fi -} - -src_prepare() { - mkdir -p m4 - cp -f /usr/share/gettext/config.rpath . - eautoreconf -} - -src_compile() { - games_src_compile -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - newicon data/icon/window_32.png smc.png - make_desktop_entry "${PN}" "Secret Maryo Chronicles" "${PN}" "Game;ArcadeGame;" - doman makefiles/unix/man/smc.6 - dohtml docs/{*.css,*.html} - prepgamesdirs -} diff --git a/games-arcade/smc/smc-scm.ebuild b/games-arcade/smc/smc-scm.ebuild new file mode 100644 index 0000000..a67818a --- /dev/null +++ b/games-arcade/smc/smc-scm.ebuild @@ -0,0 +1,66 @@ +# Copyright 2012 Funtoo Technologies +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/smc/smc-1.9.ebuild,v 1.5 2011/04/27 16:39:06 mr_bones_ Exp $ + +EAPI=3 +inherit autotools eutils flag-o-matic git-2 games + +MUSIC_P=SMC_Music_5.0_high +DESCRIPTION="Secret Maryo Chronicles" +HOMEPAGE="http://www.secretmaryo.org/" +SRC_URI="music? ( mirror://sourceforge/smclone/${MUSIC_P}.zip )" +EGIT_REPO_URI="git://github.com/FluXy/SMC.git + https://github.com/FluXy/SMC.git" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="music" + +RDEPEND=">=dev-games/cegui-0.7.4[opengl,devil] + >=dev-libs/boost-1.46 + virtual/opengl + virtual/glu + dev-libs/libpcre[unicode] + media-libs/libpng + media-libs/libsdl[X,joystick,opengl] + media-libs/sdl-image[png] + media-libs/sdl-mixer[vorbis] + media-libs/sdl-ttf" +DEPEND="${RDEPEND} + virtual/pkgconfig + music? ( app-arch/unzip ) + sys-devel/gettext" + +S="${WORKDIR}/${PN}" + +EGIT_NOUNPACK="1" +EGIT_SOURCEDIR="${WORKDIR}" + +src_unpack() { + git-2_src_unpack + + if use music; then + cd ${S} + unpack ${MUSIC_P}.zip + fi +} + +src_prepare() { + mkdir -p m4 + cp -f /usr/share/gettext/config.rpath . + eautoreconf +} + +src_compile() { + games_src_compile +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + newicon data/icon/window_32.png smc.png + make_desktop_entry "${PN}" "Secret Maryo Chronicles" "${PN}" "Game;ArcadeGame;" + doman makefiles/unix/man/smc.6 + dohtml docs/{*.css,*.html} + prepgamesdirs +} diff --git a/games-arcade/tsc/tsc-scm.ebuild b/games-arcade/tsc/tsc-scm.ebuild new file mode 100644 index 0000000..5cb8fef --- /dev/null +++ b/games-arcade/tsc/tsc-scm.ebuild @@ -0,0 +1,61 @@ +# Copyright 2012 Funtoo Technologies +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/smc/smc-1.9.ebuild,v 1.5 2011/04/27 16:39:06 mr_bones_ Exp $ + +EAPI=5 +inherit eutils flag-o-matic git-2 cmake-utils + +DESCRIPTION="The Secret Chronicles of Dr. M." +HOMEPAGE="http://www.secretchronicles.de" +EGIT_REPO_URI="git://github.com/Secretchronicles/TSC.git" +EGIT_BRANCH="devel" +BUILD_DIR="$WORKDIR/tsc" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND="media-libs/glew + virtual/opengl + media-libs/libpng + media-libs/libsdl + media-libs/sdl-image + media-libs/sdl-mixer + media-libs/sdl-ttf + dev-libs/libpcre + dev-cpp/libxmlpp + media-libs/freetype + >=dev-libs/boost-1.50 + media-libs/devil +" +DEPEND="dev-util/gperf + sys-devel/bison + dev-util/pkgconfig +" + +S="${WORKDIR}/${PN}" + +EGIT_NOUNPACK="1" +EGIT_SOURCEDIR="${WORKDIR}" + +src_unpack() { + git-2_src_unpack + +} + + +src_configure() { +# cd tsc + cmake-utils_src_configure +} + + +src_compile() { +# cd tsc + cmake-utils_src_compile +} + + +src_install() { + cmake-utils_src_install +} -- cgit v1.2.3