diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-10-20 00:09:48 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-10-20 00:09:48 +0000 |
commit | 996c9d05214031989aa8b919e6dd7bf3408c8b75 (patch) | |
tree | 42dcd4c4cd79ad4463476ced67d222eeb7b1b4ba /media-libs | |
parent | cleanup the patch so that manpages dont install into /usr/man (diff) | |
download | gentoo-2-996c9d05214031989aa8b919e6dd7bf3408c8b75.tar.gz gentoo-2-996c9d05214031989aa8b919e6dd7bf3408c8b75.tar.bz2 gentoo-2-996c9d05214031989aa8b919e6dd7bf3408c8b75.zip |
Version bump.
(Portage version: 2.0.53_rc5)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/yiff/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/yiff/files/digest-yiff-2.14.5 | 1 | ||||
-rw-r--r-- | media-libs/yiff/files/yiff-2.14.5-build.patch | 50 | ||||
-rw-r--r-- | media-libs/yiff/yiff-2.14.5.ebuild | 47 |
4 files changed, 106 insertions, 2 deletions
diff --git a/media-libs/yiff/ChangeLog b/media-libs/yiff/ChangeLog index 19cd23a6d3b3..582cb0fa16b6 100644 --- a/media-libs/yiff/ChangeLog +++ b/media-libs/yiff/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/yiff -# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/yiff/ChangeLog,v 1.8 2004/10/08 09:57:14 eradicator Exp $ +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/yiff/ChangeLog,v 1.9 2005/10/20 00:09:48 vapier Exp $ + +*yiff-2.14.5 (20 Oct 2005) + + 20 Oct 2005; Mike Frysinger <vapier@gentoo.org> + +files/yiff-2.14.5-build.patch, +yiff-2.14.5.ebuild: + Version bump. 08 Oct 2004; Jeremy Huddleston <eradicator@gentoo.org> yiff-2.14.2.ebuild: multilib fixes diff --git a/media-libs/yiff/files/digest-yiff-2.14.5 b/media-libs/yiff/files/digest-yiff-2.14.5 new file mode 100644 index 000000000000..743cfc10405a --- /dev/null +++ b/media-libs/yiff/files/digest-yiff-2.14.5 @@ -0,0 +1 @@ +MD5 c43724d006a419f99fdb797e3067c085 yiff-2.14.5.tar.bz2 554909 diff --git a/media-libs/yiff/files/yiff-2.14.5-build.patch b/media-libs/yiff/files/yiff-2.14.5-build.patch new file mode 100644 index 000000000000..0c9f0015901e --- /dev/null +++ b/media-libs/yiff/files/yiff-2.14.5-build.patch @@ -0,0 +1,50 @@ +--- yiffconfig/Makefile ++++ yiffconfig/Makefile +@@ -49,7 +49,7 @@ + # to debug the program. + # + +-CFLAGS = `gtk-config --cflags` -Wall -O2 -g ++CFLAGS += `gtk-config --cflags` -Wall + #CFLAGS = `gtk-config --cflags` -Wall -O6 \ + # -fomit-frame-pointer -funroll-loops -finline-functions \ + # -ffast-math -march=i586 +--- libY2/Makefile.Linux ++++ libY2/Makefile.Linux +@@ -134,12 +134,12 @@ + OBJ_C = $(SRC_C:.c=.o) + OBJ_CPP = $(SRC_CPP:.cpp=.o) + .c.o: +- +$(CC) -c $*.c $(INC_DIRS) $(CFLAGS) ++ +$(CC) -c $*.c $(INC_DIRS) $(CFLAGS) -fPIC + .cpp.o: +- +$(CPP) -c $*.cpp $(INC_DIRS) $(CFLAGS) $(CPPFLAGS) ++ +$(CPP) -c $*.cpp $(INC_DIRS) $(CFLAGS) $(CPPFLAGS) -fPIC + + $(LIB): $(OBJ_C) $(OBJ_CPP) +- $(CC) $(OBJ_C) $(OBJ_CPP) -Wl,-soname=$(LIB) -shared -o $(LIB) $(LIBS) $(LIB_DIRS) ++ $(CPP) $(OBJ_C) $(OBJ_CPP) -Wl,-soname=$(LIB) -shared -o $(LIB) $(LIBS) $(LIB_DIRS) + $(LINK) $(LINKFLAGS) $(LIB) $(LIBPFX).so + + all: $(LIB) +--- Makefile ++++ Makefile +@@ -13,7 +13,7 @@ + linux: + for subdir in $(LINUX_DIRS); do \ + LIB_DIR=-L../libY2; \ +- $(MAKE) -C $$subdir -f Makefile.Linux all; \ ++ $(MAKE) -C $$subdir -f Makefile.Linux all || exit 1; \ + done + + linux_noserver: +--- stuff/Makefile ++++ stuff/Makefile +@@ -38,6 +38,7 @@ + SOUNDS_DIR = share/sounds + + install: ++ $(INSTALL) -m 755 -d $(PREFIX)/$(ICONS_DIR) $(PREFIX)/$(SOUNDS_DIR) + $(INSTALL) $(INSTDATFLAGS) Y.xpm $(PREFIX)/$(ICONS_DIR) + $(INSTALL) $(INSTDATFLAGS) yiff.xpm $(PREFIX)/$(ICONS_DIR) + $(INSTALL) $(INSTDATFLAGS) yiff.wav $(PREFIX)/$(SOUNDS_DIR) diff --git a/media-libs/yiff/yiff-2.14.5.ebuild b/media-libs/yiff/yiff-2.14.5.ebuild new file mode 100644 index 000000000000..5dbea796b513 --- /dev/null +++ b/media-libs/yiff/yiff-2.14.5.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/yiff/yiff-2.14.5.ebuild,v 1.1 2005/10/20 00:09:48 vapier Exp $ + +inherit flag-o-matic eutils + +DESCRIPTION="high performance and stable sound server for UNIX games and apps" +HOMEPAGE="http://wolfpack.twu.net/YIFF/" +SRC_URI="ftp://wolfpack.twu.net/users/wolfpack/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="alsa gtk kde" + +DEPEND="gtk? ( =x11-libs/gtk+-1.2* ) + alsa? ( media-libs/alsa-lib ) + kde? ( kde-base/kmid )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-build.patch + use kde && sed -i '/^LIB =/s:$: -lkmid:' yiff/Makefile.Linux + sed -i \ + -e "/^YLIB_DIR/s:/lib:/$(get_libdir):" \ + -e '/LDCONFIG/s:=.*:=true:' \ + -e '/MAN_DIR/s:/man/:/share/man/:' \ + */Makefile* || die +} + +src_compile() { + local pkgs="libY2 yiff yiffutils" + use gtk && pkgs="${pkgs} yiffconfig" + use kde && append-flags -DHAVE_LIBKMID + use alsa && append-flags -DALSA_RUN_CONFORM + append-flags -DOSS -DOSS_BUFFRAG -DYSHM_SUPPORT -D__USE_BSD + emake linux \ + CFLAGS="${CFLAGS}" \ + LINUX_DIRS="${pkgs}" \ + || die +} + +src_install() { + make install PREFIX="${D}"/usr || die + dodoc AUTHORS README +} |