Package: mplayer
Version:
Author: Guillem Jover <guillem@hadrons.org>
Status: not-sent
Description:
 Fixed Build-Depends.
 Added shlibs genereation.
 Changed soname version format.

Index: debian/control
===================================================================
RCS file: /cvsroot/mplayer/main/debian/control,v
retrieving revision 1.12
diff -u -r1.12 control
--- debian/control	15 Apr 2002 17:39:06 -0000	1.12
+++ debian/control	4 Sep 2002 02:57:57 -0000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Dariush Pietrzak <eyck@ghost.anime.pl>
 Standards-Version: 3.2.1
-Build-Depends:gcc, libglib-dev, libgtk-dev, xlibs-dev, libpng-dev, zlib1g-dev, debhelper (>= 2)
+Build-Depends: libglib-dev, libgtk-dev, xlibs-dev, libpng-dev, zlib1g-dev, debhelper (>= 2)
 
 Package: mplayer
 Architecture: any
Index: debian/rules
===================================================================
RCS file: /cvsroot/mplayer/main/debian/rules,v
retrieving revision 1.36
diff -u -r1.36 rules
--- debian/rules	3 Sep 2002 23:31:11 -0000	1.36
+++ debian/rules	4 Sep 2002 02:57:57 -0000
@@ -70,7 +70,7 @@
 	dh_strip
 	dh_compress
 	dh_fixperms
-#	dh_makeshlibs
+	dh_makeshlibs
 	dh_installdeb
 	dh_perl
 	dh_shlibdeps
Index: libdha/Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/libdha/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- libdha/Makefile	22 Aug 2002 23:29:40 -0000	1.13
+++ libdha/Makefile	4 Sep 2002 02:57:58 -0000
@@ -2,12 +2,15 @@
 
 include ../config.mak
 
-VERSION = 0.1
+MAJOR_VERSION = 0
+MINOR_VERSION = 1
+VERSION = $(MAJOR_VERSION).$(MINOR_VERSION)
 
 ifeq ($(TARGET_OS),CYGWIN)
 SHORTNAME = libdha.dll
 else
-SHORTNAME = libdha.so
+SHORTNAME = libdha.so.$(MAJOR_VERSION)
+SONAME_FLAGS = -Wl,-soname,$(SHORTNAME)
 endif
 LIBNAME = libdha.so.$(VERSION)
 
@@ -30,7 +33,7 @@
 	$(CC) -c $(CFLAGS) -o $@ $<
 
 $(LIBNAME):     $(OBJS)
-	$(CC) -shared -Wl,-soname -Wl,$(LIBNAME) -o $(LIBNAME) $(OBJS) $(LIBS)
+	$(CC) -shared $(SONAME_FLAGS) -o $(LIBNAME) $(OBJS) $(LIBS)
 	ln -sf $(LIBNAME) $(SHORTNAME)
 
 all:    $(LIBNAME) $(SHORTNAME)
@@ -42,10 +45,10 @@
 	$(CC) test.c -o test $(SHORTNAME)
 
 clean:
-	rm -f *.o *.so *~
+	rm -f *.o *.so.* *~
 
-distclean:
-	rm -f Makefile.bak *.o *.so test *~ .depend
+distclean: clean
+	rm -f Makefile.bak test .depend
 	rm -f pci_dev_ids.c pci_ids.h pci_names.c pci_names.h pci_vendors.h pci.db
 
 dep:    depend
