Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 98151 Details for
Bug 148427
games-fps/vavoom-music (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
vavoom-music-1.ebuild
vavoom-music-1.ebuild (text/plain), 3.93 KB, created by
Davide Cendron (RETIRED)
on 2006-09-26 10:38:43 UTC
(
hide
)
Description:
vavoom-music-1.ebuild
Filename:
MIME Type:
Creator:
Davide Cendron (RETIRED)
Created:
2006-09-26 10:38:43 UTC
Size:
3.93 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit games > >DESCRIPTION="Enhanced OGG Music from Sycraft.org for Vavoom Engine" >HOMEPAGE="http://www.sycraft.org" > >LICENSE="as-is" >SLOT="0" >KEYWORDS="~x86 ~amd64" >IUSE="doom1 doom2 heretic hexen tnt" > >base_uri="http://sycraft.org/content/audio" >doom1_src="Sycraft-D1-high-full.exe" >doom2_src="Sycraft-D2-high-full.exe" >tnt_src="Sycraft-TNT-high-full.exe" >heretic_src="hereticsoundtrackhq.zip" >hexen_src="hexensoundtrackhq.zip" > >SRC_URI=" >doom1? ( ${base_uri}/doom/${doom1_src} ) >doom2? ( ${base_uri}/doom/${doom2_src} ) >tnt? ( ${base_uri}/doom/${tnt_src} ) >heretic? ( ${base_uri}/heretic/${heretic_src} ) >hexen? ( ${base_uri}/hexen/${hexen_src} )" > >DEPEND="app-arch/p7zip > app-arch/unzip" > >pkg_setup() { > if ( ! use doom1 && \ > ! use doom2 && \ > ! use heretic && \ > ! use hexen && ! \ > use tnt); then > eerror > eerror "You must enable at least one USE flag between" > eerror "'doom1','doom2','heretic','hexen','tnt'!" > eerror > die "No USE enabled" > fi > > games_pkg_setup >} > >src_unpack() { > > # Do a lot of work 'cause the files are packaged > # in a not-so-very-friendly way :( > > for X in ${IUSE} > do > if use ${X}; then > > local src_file pak_file > > case "${X}" in > > doom1|doom2|tnt) # Packed in a NSIS self-extracting exe > case ${X} in > doom1) > src_file=${doom1_src} > pak_file="d1music.pk3" > ;; > doom2) > src_file=${doom2_src} > pak_file="d2music.pk3" > ;; > tnt) > src_file=${tnt_src} > pak_file="tntmusic.pk3" > ;; > esac > > cd ${WORKDIR} > 7z e -o${X} -y ${DISTDIR}/${src_file} \ > || die "unpack through 7z failed" > > # Remove weird double quotes from filenames > for i in `find -name '*\"*' -print` > do > newname=`echo $i | sed -e 's/\"//g'` > mv ${i} ${newname} \ > || die "renaming files failed" > done > > cd ${X} > unzip -j -L ${pak_file} || die "unzip failed" > > ;; > > heretic|hexen) # Packed in ZIP file > case ${X} in > heretic) > src_file=${heretic_src} > ;; > hexen) > src_file=${hexen_src} > ;; > esac > cd ${WORKDIR} > unzip -L -d ${X} ${DISTDIR}/${src_file} \ > || die "unzip failed" > cd ${X} > unzip -L -j musichq.zip || die "unzip failed" > ;; > > esac > fi > done > >} > >src_install() { > > for X in ${IUSE} > do > if use ${X}; then > > cd ${WORKDIR} > insinto ${GAMES_DATADIR}/vavoom/basev/${X}/music > doins ${X}/*.ogg || die "doins failed" > > case ${X} in > "doom1") > cd ${D}/${GAMES_DATADIR}/vavoom/basev/${X}/music > ln -s d_e1m8.ogg d_e3m4.ogg || die "make symlink failed" > ;; > "doom2") > cd ${D}/${GAMES_DATADIR}/vavoom/basev/${X}/music > ln -s d_stalks.ogg d_stlks2.ogg || die "make symlink failed" > ln -s d_the_da.ogg d_theda2.ogg || die "make symlink failed" > ln -s d_doom.ogg d_doom2.ogg || die "make symlink failed" > ln -s d_ddtblu.ogg d_ddtbl2.ogg || die "make symlink failed" > ln -s d_dead.ogg d_dead2.ogg || die "make symlink failed" > ln -s d_stalks.ogg d_stlks3.ogg || die "make symlink failed" > ln -s d_shawn.ogg d_shawn2.ogg || die "make symlink failed" > ln -s d_countd.ogg d_count2.ogg || die "make symlink failed" > ln -s d_ddtblu.ogg d_ddtbl3.ogg || die "make symlink failed" > ln -s d_the_da.ogg d_theda3.ogg || die "make symlink failed" > ln -s d_messag.ogg d_messg2.ogg || die "make symlink failed" > ln -s d_romero.ogg d_romer2.ogg || die "make symlink failed" > ln -s d_shawn.ogg d_shawn3.ogg || die "make symlink failed" > ;; > esac > > cd ${WORKDIR} > docinto ${X} > case "${X}" in > "doom1" | "doom2" | "tnt" ) > dodoc ${X}/Sycraft_music_readme.txt \ > || die "dodoc failed" > ;; > "heretic" | "hexen" ) > dodoc ${X}/readme.txt || die "dodoc failed" > ;; > esac > fi > done > > prepgamesdirs > >} > >pkg_postinst() { > games_pkg_postinst > > if ! has_version "games-fps/vavoom" ; then > elog "This is just music data. To play, emerge a client" > elog "such as vavoom." > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 148427
:
97584
|
97699
|
98151
|
101474
|
101476
|
104930
|
104952
|
123331