Version bump.
authorMike Frysinger <vapier@gentoo.org>
Thu, 20 Oct 2005 00:09:48 +0000 (00:09 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 20 Oct 2005 00:09:48 +0000 (00:09 +0000)
Package-Manager: portage-2.0.53_rc5

media-libs/yiff/ChangeLog
media-libs/yiff/Manifest
media-libs/yiff/files/digest-yiff-2.14.5 [new file with mode: 0644]
media-libs/yiff/files/yiff-2.14.5-build.patch [new file with mode: 0644]
media-libs/yiff/yiff-2.14.5.ebuild [new file with mode: 0644]

index 19cd23a6d3b3850262f8dd1591cc53d768459da5..582cb0fa16b6cd6bd185fd6bf0d59e12f382d721 100644 (file)
@@ -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
index 60c4cd8cfb15a65a97eaf4b0fe1b1033bad2e201..7d08d101c4112aff2124cf2e0edd49dc8b906577 100644 (file)
@@ -1,7 +1,20 @@
-MD5 7a748c58d044cc838db215b91aae8fc8 ChangeLog 1000
-MD5 2a9f92590a5e32d504c2da5357e6778d yiff-2.14.2.ebuild 1247
-MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 5a4ce9d4f2c639172627ca9f369b97e8 ChangeLog 1146
 MD5 731dde7e0d27725a199275a23aaec33e files/digest-yiff-2.14.2 64
+MD5 61cbb76cbf96e6d9072c9cd8b20cd953 files/digest-yiff-2.14.5 64
 MD5 e02e251b89e6fcfb2c260727647689fe files/yiff-2.14.2-PIC.patch 1242
-MD5 32aaf5e677ef87bb8eda8e8054eeb947 files/yiff-2.14.2-gcc33.patch 903
 MD5 ef4bfd407742f9337dc6a49be6f328f9 files/yiff-2.14.2-gcc3.patch 2745
+MD5 32aaf5e677ef87bb8eda8e8054eeb947 files/yiff-2.14.2-gcc33.patch 903
+MD5 49883a9994da1db61dcd100c66cbbacc files/yiff-2.14.5-build.patch 1542
+MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
+MD5 2a9f92590a5e32d504c2da5357e6778d yiff-2.14.2.ebuild 1247
+MD5 38e71fd0577161c2117dc4a313e0fb8d yiff-2.14.5.ebuild 1280
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFDVuDlgIKl8Uu19MoRAgwYAJ9dsG+u9yWESJy6PI4c8lPhOA/9+ACeLpFA
+tC6aWqqqj0PR4r3uR0KmrlE=
+=BFZc
+-----END PGP SIGNATURE-----
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 (file)
index 0000000..743cfc1
--- /dev/null
@@ -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 (file)
index 0000000..0c9f001
--- /dev/null
@@ -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 (file)
index 0000000..5dbea79
--- /dev/null
@@ -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
+}