Benjamin Renard commited on 2012-01-27 18:55:27
Showing 9 changed files, with 209 additions and 0 deletions.
... | ... |
@@ -0,0 +1 @@ |
1 |
+7 |
... | ... |
@@ -0,0 +1,16 @@ |
1 |
+Source: libdlna |
|
2 |
+Section: libs |
|
3 |
+Priority: extra |
|
4 |
+Maintainer: Benjamin Renard <brenard@zionetrix.net> |
|
5 |
+Build-Depends: |
|
6 |
+ libavformat-dev, libavcodec-dev |
|
7 |
+Homepage: http://libdlna.geexbox.org |
|
8 |
+Vcs-Browser: http://git.zionetrix.net/?p=libdlna-debian-package |
|
9 |
+Vcs-Git: http://git.zionetrix.net/git/libdlna-debian-package |
|
10 |
+ |
|
11 |
+Package: libdlna |
|
12 |
+Section: libs |
|
13 |
+Architecture: any |
|
14 |
+Depends: ${misc:Depends}, ${shlibs:Depends} |
|
15 |
+Description: DLNA open-source implementation |
|
16 |
+ This package contains an DLNA open-source implementation |
... | ... |
@@ -0,0 +1,26 @@ |
1 |
+This package was debianized by Benjamin Renard <brenard@zionetrix.net> on |
|
2 |
+Fri, 27 Jan 2012 00:18:48 +0100 |
|
3 |
+ |
|
4 |
+It was downloaded from website of projet Wifidog : |
|
5 |
+ |
|
6 |
+ http://ushare.geexbox.org/#Download |
|
7 |
+ |
|
8 |
+Upstream Author: |
|
9 |
+ |
|
10 |
+ Benjamin Zores |
|
11 |
+ |
|
12 |
+Copyright: |
|
13 |
+ |
|
14 |
+ uShare is copyright (C) 2005-2007 Benjamin Zores. |
|
15 |
+ |
|
16 |
+ This software is issued from GNU GENERAL PUBLIC LICENSE Version 2 |
|
17 |
+ |
|
18 |
+License: |
|
19 |
+ |
|
20 |
+ You can use it under GNU GENERAL PUBLIC LICENSE Version 2 policy |
|
21 |
+ |
|
22 |
+ For more information on GNU GENERAL PUBLIC LICENSE Version 2 policy, |
|
23 |
+ please refer to COPYING. |
|
24 |
+ |
|
25 |
+The Debian packaging is (C) 2012, Benjamin Renard <brenard@zionetrix.net> and |
|
26 |
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'. |
... | ... |
@@ -0,0 +1,14 @@ |
1 |
+--- configure.orig 2007-11-26 20:47:43.000000000 +0000 |
|
2 |
++++ configure 2012-01-26 23:37:28.000000000 +0000 |
|
3 |
+@@ -610,9 +610,9 @@ |
|
4 |
+ fi |
|
5 |
+ |
|
6 |
+ echolog "Checking for libavformat ..." |
|
7 |
+-check_lib ffmpeg/avformat.h av_register_all -lavformat || die "Error, can't find libavformat !" |
|
8 |
++check_lib libavformat/avformat.h av_register_all -lavformat || die "Error, can't find libavformat !" |
|
9 |
+ echolog "Checking for libavcodec ..." |
|
10 |
+-check_lib ffmpeg/avcodec.h avcodec_register_all -lavcodec || die "Error, can't find libavcodec !" |
|
11 |
++check_lib libavcodec/avcodec.h avcodec_register_all -lavcodec || die "Error, can't find libavcodec !" |
|
12 |
+ |
|
13 |
+ ################################################# |
|
14 |
+ # version |
... | ... |
@@ -0,0 +1,46 @@ |
1 |
+--- src/av_mpeg4_part10.c.orig 2007-11-26 20:47:43.000000000 +0000 |
|
2 |
++++ src/av_mpeg4_part10.c 2012-01-26 23:47:28.000000000 +0000 |
|
3 |
+@@ -26,7 +26,7 @@ |
|
4 |
+ #include <sys/stat.h> |
|
5 |
+ #include <fcntl.h> |
|
6 |
+ |
|
7 |
+-#include <ffmpeg/avcodec.h> |
|
8 |
++#include <libavcodec/avcodec.h> |
|
9 |
+ |
|
10 |
+ #include "dlna_internals.h" |
|
11 |
+ #include "profiles.h" |
|
12 |
+--- src/av_mpeg4_part2.c.orig 2007-11-26 20:47:43.000000000 +0000 |
|
13 |
++++ src/av_mpeg4_part2.c 2012-01-26 23:47:28.000000000 +0000 |
|
14 |
+@@ -26,7 +26,7 @@ |
|
15 |
+ #include <sys/stat.h> |
|
16 |
+ #include <fcntl.h> |
|
17 |
+ |
|
18 |
+-#include <ffmpeg/avcodec.h> |
|
19 |
++#include <libavcodec/avcodec.h> |
|
20 |
+ |
|
21 |
+ #include "dlna_internals.h" |
|
22 |
+ #include "profiles.h" |
|
23 |
+--- src/containers.c.orig 2007-11-26 20:47:43.000000000 +0000 |
|
24 |
++++ src/containers.c 2012-01-26 23:47:28.000000000 +0000 |
|
25 |
+@@ -4,7 +4,7 @@ |
|
26 |
+ #include <sys/stat.h> |
|
27 |
+ #include <fcntl.h> |
|
28 |
+ |
|
29 |
+-#include <ffmpeg/avformat.h> |
|
30 |
++#include <libavformat/avformat.h> |
|
31 |
+ |
|
32 |
+ #include "containers.h" |
|
33 |
+ #include "profiles.h" |
|
34 |
+--- src/profiles.h.orig 2007-11-26 20:47:43.000000000 +0000 |
|
35 |
++++ src/profiles.h 2012-01-26 23:47:28.000000000 +0000 |
|
36 |
+@@ -22,8 +22,8 @@ |
|
37 |
+ #ifndef _PROFILES_H_ |
|
38 |
+ #define _PROFILES_H_ |
|
39 |
+ |
|
40 |
+-#include <ffmpeg/avcodec.h> |
|
41 |
+-#include <ffmpeg/avformat.h> |
|
42 |
++#include <libavcodec/avcodec.h> |
|
43 |
++#include <libavformat/avformat.h> |
|
44 |
+ |
|
45 |
+ #include "dlna_internals.h" |
|
46 |
+ #include "containers.h" |
... | ... |
@@ -0,0 +1,92 @@ |
1 |
+#!/usr/bin/make -f |
|
2 |
+# -*- makefile -*- |
|
3 |
+ |
|
4 |
+# Uncomment this to turn on verbose mode. |
|
5 |
+#export DH_VERBOSE=1 |
|
6 |
+ |
|
7 |
+ |
|
8 |
+ |
|
9 |
+ |
|
10 |
+ |
|
11 |
+configure: configure-stamp |
|
12 |
+configure-stamp: |
|
13 |
+ dh_testdir |
|
14 |
+ # Add here commands to configure the package. |
|
15 |
+ |
|
16 |
+ touch configure-stamp |
|
17 |
+ |
|
18 |
+ |
|
19 |
+build: build-stamp |
|
20 |
+ |
|
21 |
+build-stamp: configure-stamp |
|
22 |
+ dh_testdir |
|
23 |
+ |
|
24 |
+ # Add here commands to compile the package. |
|
25 |
+ cd $(CURDIR) && ./configure |
|
26 |
+ cd $(CURDIR) && $(MAKE) |
|
27 |
+ |
|
28 |
+ touch $@ |
|
29 |
+ |
|
30 |
+clean: |
|
31 |
+ dh_testdir |
|
32 |
+ dh_testroot |
|
33 |
+ rm -f build-stamp configure-stamp |
|
34 |
+ |
|
35 |
+ # Add here commands to clean up after the build process. |
|
36 |
+ cd $(CURDIR) && $(MAKE) clean |
|
37 |
+ |
|
38 |
+ dh_clean |
|
39 |
+ |
|
40 |
+install: build |
|
41 |
+ dh_testdir |
|
42 |
+ dh_testroot |
|
43 |
+ dh_clean -k |
|
44 |
+ dh_installdirs |
|
45 |
+ |
|
46 |
+ # Add here commands to install the package into debian/wifidog-gateway. |
|
47 |
+ cp $(CURDIR)/src/dlna.h $(CURDIR)/debian/libdlna/usr/include |
|
48 |
+ cp $(CURDIR)/libdlna.pc $(CURDIR)/debian/libdlna/usr/lib/pkgconfig |
|
49 |
+ |
|
50 |
+ cp $(CURDIR)/src/libdlna.so.0.2.3 $(CURDIR)/debian/libdlna/usr/lib |
|
51 |
+ cp $(CURDIR)/src/libdlna.a $(CURDIR)/debian/libdlna/usr/lib |
|
52 |
+ ln -s libdlna.so.0.2.3 $(CURDIR)/debian/libdlna/usr/lib/libdlna.so.0 |
|
53 |
+ ln -s libdlna.so.0 $(CURDIR)/debian/libdlna/usr/lib/libdlna.so |
|
54 |
+ |
|
55 |
+ |
|
56 |
+# Build architecture-independent files here. |
|
57 |
+binary-indep: build install |
|
58 |
+# We have nothing to do by default. |
|
59 |
+ |
|
60 |
+# Build architecture-dependent files here. |
|
61 |
+binary-arch: build install |
|
62 |
+ dh_testdir |
|
63 |
+ dh_testroot |
|
64 |
+ dh_installchangelogs ChangeLog |
|
65 |
+# dh_installdocs |
|
66 |
+# dh_installexamples |
|
67 |
+# dh_install |
|
68 |
+# dh_installmenu |
|
69 |
+# dh_installdebconf |
|
70 |
+# dh_installlogrotate |
|
71 |
+# dh_installemacsen |
|
72 |
+# dh_installpam |
|
73 |
+# dh_installmime |
|
74 |
+# dh_python |
|
75 |
+# dh_installinit |
|
76 |
+# dh_installcron |
|
77 |
+# dh_installinfo |
|
78 |
+# dh_installman |
|
79 |
+ dh_link |
|
80 |
+ dh_strip |
|
81 |
+ dh_compress |
|
82 |
+ dh_fixperms |
|
83 |
+# dh_perl |
|
84 |
+# dh_makeshlibs |
|
85 |
+ dh_installdeb |
|
86 |
+ dh_shlibdeps |
|
87 |
+ dh_gencontrol |
|
88 |
+ dh_md5sums |
|
89 |
+ dh_builddeb |
|
90 |
+ |
|
91 |
+binary: binary-indep binary-arch |
|
92 |
+.PHONY: build clean binary-indep binary-arch binary install configure |
|
0 | 93 |