Initial commit

This commit is contained in:
Austen Adler 2015-12-23 12:03:03 -05:00
commit 2d7da99172
3 changed files with 48 additions and 0 deletions

4
media-sound/ocp/Manifest Normal file
View File

@ -0,0 +1,4 @@
DIST ocp-0.1.20.tar.bz2 733777 SHA256 caafa001f7e83b70c61b259fc86b4532e02eb6367322e0a6c9f194b5f0463cf6
DIST opencp25ani1.zip 3145154 SHA256 083786c7cb6a0ba98ea6aa2ddce5caa1e0c5259bb297a955a404d8cbd0fa5dad
DIST opencp25image1.zip 139815 SHA256 3695aab527df75ff41c397c91b21e84a878dbf683947f3c9fbcfee0e9c50d808
EBUILD ocp-0.1.20.ebuild 1203 SHA256 ee25e07c5c88095e9efad3f8d07390e295a7f0a6f97985805a79ea24530b54a0 SHA512 6fe290bedb88a60999141986f4b8d01c1f670adbe0b61eca001148c31b7334354aeb70f3b830ee8afced6e98020eadd30b546d464c40b8c3b2e46d26c8c44584 WHIRLPOOL 0588d0832b4ab87e5ef6bdd3659ed36e60fff7ed8801a4a285fabd1a90a2eaf4c8eac15e90dbd6a3dbf0b87206fe384cdd780cfb50631ff386f2e64f5d048d88

View File

@ -0,0 +1,43 @@
inherit flag-o-matic
DESCRIPTION="A console module player"
HOMEPAGE="http://stian.cubic.org/"
SRC_URI="http://stian.cubic.org/ocp/${P}.tar.bz2 \
ftp://ftp.cubic.org/pub/player/gfx/opencp25image1.zip \
ftp://ftp.cubic.org/pub/player/gfx/opencp25ani1.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86_64"
IUSE="debug X adplug sidplay alsa flac sdl"
RDEPEND="media-libs/libmad
media-libs/libogg
media-libs/libvorbis
sidplay? ( media-libs/libsidplay )
X? (
x11-libs/libXext
x11-libs/libXxf86vm
x11-libs/libX11
x11-libs/libXpm
)
alsa? ( media-libs/alsa-lib )
adplug? ( media-libs/adplug )
flac? ( media-libs/flac )
sdl? ( media-libs/libsdl )
media-sound/timidity-eawpatches
"
DEPEND="$RDEPEND
sdl? ( dev-util/desktop-file-utils )
X? ( dev-util/desktop-file-utils )
sys-apps/texinfo
app-arch/unzip
"
src_compile() {
econf --exec-prefix=/usr $(use_with debug) $(use_with adplug) $(use_with X x11) $(use_with sidplay) $(use_with alsa) $(use_with flac) $(use_with sdl) || die
emake -j 1|| die "emake failed"
}
src_install() {
emake DESTDIR=${D} install || die
cp ../CP* /${D}/usr/share/${P}/data
}

1
metadata/layout.conf Normal file
View File

@ -0,0 +1 @@
masters = gentoo