[SCM] opencore-amr packaging branch, master, updated. upstream/0.1.2-10-g7bf1e45

ceros-guest at users.alioth.debian.org ceros-guest at users.alioth.debian.org
Fri Sep 18 20:48:50 UTC 2009


The following commit has been merged in the master branch:
commit c4009bf5d35822d1d3a1e9fdc068280c1e5c2353
Author: Martin Storsjo <martin at martin.st>
Date:   Wed Jul 29 14:37:53 2009 +0200

    Added initial pkgconfig files

diff --git a/amrnb/Makefile b/amrnb/Makefile
index 55b068b..2ebf8c9 100644
--- a/amrnb/Makefile
+++ b/amrnb/Makefile
@@ -54,6 +54,7 @@ SOBJS = $(OBJS:%.o=%.lo)
 MAJOR = 0
 MINOR = 1
 REVISION = 1
+VERSION = $(MAJOR).$(MINOR).$(REVISION)
 
 ifeq ($(shell uname), Darwin)
     SHLIB_EXT = dylib
@@ -94,6 +95,8 @@ endif
 	install -d $(DESTDIR)$(PREFIX)/include/opencore-amrnb
 	install -m 644 interf_dec.h $(DESTDIR)$(PREFIX)/include/opencore-amrnb
 	install -m 644 interf_enc.h $(DESTDIR)$(PREFIX)/include/opencore-amrnb
+	install -d $(DESTDIR)$(PREFIX)/$(LIBDIR)/pkgconfig
+	cat opencore-amrnb.pc | sed s,PREFIX,$(PREFIX), | sed s,LIBDIR,$(LIBDIR), | sed s,VERSION,$(VERSION), > $(DESTDIR)$(PREFIX)/$(LIBDIR)/pkgconfig/opencore-amrnb.pc
 
 clean:
 	rm -f $(SHLIB) libopencore-amrnb.a *.o *.lo $(OBJS) $(SOBJS)
diff --git a/amrnb/opencore-amrnb.pc b/amrnb/opencore-amrnb.pc
new file mode 100644
index 0000000..8a12844
--- /dev/null
+++ b/amrnb/opencore-amrnb.pc
@@ -0,0 +1,14 @@
+prefix=PREFIX
+exec_prefix=${prefix}
+libdir=${prefix}/LIBDIR
+includedir=${prefix}/include
+
+Name: OpenCORE AMR-NB
+Description: Adaptive Multi-Rate speech codec library
+Version: VERSION
+Requires:
+Requires.private:
+Conflicts:
+Libs: -L${libdir} -lopencore-amrnb
+Libs.private:
+Cflags: -I${includedir}
diff --git a/amrwb/Makefile b/amrwb/Makefile
index 534d7bb..cd593bb 100644
--- a/amrwb/Makefile
+++ b/amrwb/Makefile
@@ -34,6 +34,7 @@ SOBJS = $(OBJS:%.o=%.lo)
 MAJOR = 0
 MINOR = 1
 REVISION = 1
+VERSION = $(MAJOR).$(MINOR).$(REVISION)
 
 ifeq ($(shell uname), Darwin)
     SHLIB_EXT = dylib
@@ -74,6 +75,8 @@ endif
 	install -d $(DESTDIR)$(PREFIX)/include/opencore-amrwb
 	install -m 644 dec_if.h $(DESTDIR)$(PREFIX)/include/opencore-amrwb
 	install -m 644 if_rom.h $(DESTDIR)$(PREFIX)/include/opencore-amrwb
+	install -d $(DESTDIR)$(PREFIX)/$(LIBDIR)/pkgconfig
+	cat opencore-amrwb.pc | sed s,PREFIX,$(PREFIX), | sed s,LIBDIR,$(LIBDIR), | sed s,VERSION,$(VERSION), > $(DESTDIR)$(PREFIX)/$(LIBDIR)/pkgconfig/opencore-amrwb.pc
 
 clean:
 	rm -f $(SHLIB) libopencore-amrwb.a *.o *.lo $(OBJS) $(SOBJS)
diff --git a/amrwb/opencore-amrwb.pc b/amrwb/opencore-amrwb.pc
new file mode 100644
index 0000000..42e3035
--- /dev/null
+++ b/amrwb/opencore-amrwb.pc
@@ -0,0 +1,14 @@
+prefix=PREFIX
+exec_prefix=${prefix}
+libdir=${prefix}/LIBDIR
+includedir=${prefix}/include
+
+Name: OpenCORE AMR-WB
+Description: Adaptive Multi-Rate Wideband speech codec library
+Version: VERSION
+Requires:
+Requires.private:
+Conflicts:
+Libs: -L${libdir} -lopencore-amrwb
+Libs.private:
+Cflags: -I${includedir}

-- 
opencore-amr packaging



More information about the pkg-multimedia-commits mailing list