- Update to 0.2

PR:		ports/65695
Submitted by:	edwin
Approved by:	maintainer
This commit is contained in:
Pav Lucistnik 2004-04-19 07:52:57 +00:00
parent 82e14ede2d
commit 7778c0831d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107551
7 changed files with 11 additions and 68 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= xmms-wma
PORTVERSION= 0.1.3
PORTVERSION= 0.2
CATEGORIES= audio
MASTER_SITES= http://mcmcc.bat.ru/xmms-wma/

View file

@ -1,2 +1,2 @@
MD5 (xmms-wma-0.1.3.tar.bz2) = ddb46e38017c905d5cea09beae9941b5
SIZE (xmms-wma-0.1.3.tar.bz2) = 140855
MD5 (xmms-wma-0.2.tar.bz2) = f73b6e78fe6811a1db0e6b804b2ee4f5
SIZE (xmms-wma-0.2.tar.bz2) = 144704

View file

@ -1,20 +1,19 @@
--- Makefile Wed Mar 3 17:47:58 2004
+++ Makefile Thu Mar 11 19:05:38 2004
--- Makefile.orig Mon Apr 19 08:42:08 2004
+++ Makefile Mon Apr 19 08:55:24 2004
@@ -1,6 +1,6 @@
-.PHONY: all install install-home uninstall uninstall-home clean
+.PHONY: all install uninstall clean
.PHONY: all install install-home uninstall uninstall-home clean
-INSTALL_DIR := /usr/lib/xmms/Input
+INSTALL_DIR := `xmms-config --input-plugin-dir`
INSTALL_DIR_HOME := ~/.xmms/Plugins/Input
export PLUGIN_FILE := libwma.so
@@ -11,34 +11,17 @@
@@ -11,12 +11,9 @@
export DEPS := $(SOURCES:%.c=$(DEPDIR)/%.d)
all:
- @cd ffmpeg-strip-wma; make; cd ..
+ @cd ffmpeg-strip-wma; gmake; cd ..
+ @cd ffmpeg-strip-wma; $(MAKE); cd ..
@$(MAKE) --no-print-directory -f Makefile.inc
@strip $(PLUGIN_FILE)
- @echo "The plug-in has been compiled. Run one of the following:"
@ -23,26 +22,10 @@
install: all
cp -f $(PLUGIN_FILE) $(INSTALL_DIR)
- @echo "The plug-in has been installed."
- @echo "Enjoy!"
-
-install-home: all
- -mkdir ~/.xmms
- -mkdir ~/.xmms/Plugins
- -mkdir ~/.xmms/Plugins/Input
- cp -f $(PLUGIN_FILE) $(INSTALL_DIR_HOME)
- @echo "The plug-in has been installed."
- @echo "Enjoy!"
uninstall:
rm -f $(INSTALL_DIR)/$(PLUGIN_FILE)
@@ -40,5 +37,5 @@
@echo "The plug-in has been uninstalled."
-uninstall-home:
- rm -f $(INSTALL_DIR_HOME)/$(PLUGIN_FILE)
- @echo "The plug-in has been uninstalled."
-
clean:
- cd ffmpeg-strip-wma; make clean; cd ..
+ cd ffmpeg-strip-wma; gmake clean; cd ..
+ cd ffmpeg-strip-wma; $(MAKE) clean; cd ..
rm -f $(OBJECTS) $(DEPS)

View file

@ -1,11 +0,0 @@
--- Makefile.inc Wed Mar 3 23:02:39 2004
+++ Makefile.inc Thu Mar 11 18:59:19 2004
@@ -10,7 +10,7 @@
$(CC) -o $@ $^ $(LIBS) -shared
$(OBJDIR)/%.o: %.c
- $(CC) -c -o $@ $(CFLAGS) $<
+ $(CC) -c -o $@ $(CFLAGS) $<
$(DEPDIR)/%.d: %.c
$(CC) -MM $(CFLAGS) $< | sed "s/^$*\.o:/$(OBJDIR)\/$*\.o $(DEPDIR)\/$*\.d:/" > $@

View file

@ -1,11 +0,0 @@
--- ffmpeg-strip-wma/asf.c Fri Feb 20 03:21:31 2004
+++ ffmpeg-strip-wma/asf.c Thu Mar 11 18:46:59 2004
@@ -847,7 +847,7 @@
{
return;
}
- result = iconv(frt, &ansbptr, &len, &ansaptr, &len1);
+ result = iconv(frt, (const char **)&ansbptr, &len, &ansaptr, &len1);
if (result == (size_t) - 1)
{
return;

View file

@ -1,18 +0,0 @@
--- ffmpeg-strip-wma/config.mak.orig Thu Feb 19 01:08:40 2004
+++ ffmpeg-strip-wma/config.mak Tue Mar 16 15:30:59 2004
@@ -3,12 +3,12 @@
bindir=/usr/bin
mandir=/usr/share/man
MAKE=make
-CC=gcc
+CC?=gcc
AR=ar
RANLIB=ranlib
STRIP=strip
-OPTFLAGS=-Wall -g -O3
-SHCFLAGS=-Wall -g -O3
+OPTFLAGS=-Wall -O3
+SHCFLAGS=-Wall -O3
LDFLAGS=-Wl,--warn-common -rdynamic
FFSLDFLAGS=-Wl,-E
SHFLAGS=-shared

View file

@ -1,4 +1,4 @@
XMMS input plugin to support WMA format.
XMMS input plugin for support WMA format.
WWW: http://mcmcc.bat.ru/xmms-wma/