diff --git a/debian/compat b/debian/compat deleted file mode 100644 index f599e28..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -10 diff --git a/debian/control b/debian/control index 5fd5943..7b7fe38 100644 --- a/debian/control +++ b/debian/control @@ -2,14 +2,14 @@ Source: librem Section: comm Priority: optional Maintainer: Alfred E. Heggestad -Standards-Version: 3.9.5 -Build-Depends: debhelper (>= 9.20120311), libre-dev (>= 1.1.0) -Homepage: http://www.creytiv.com/ +Standards-Version: 4.1.5 +Build-Depends: cmake, dh-cmake, dh-cmake-compat (= 1), dh-sequence-cmake, debhelper-compat (= 12) +Homepage: https://github.com/baresip/rem Package: librem Architecture: any Section: libs -Depends: libre (>= 1.1.0), ${shlibs:Depends}, ${misc:Depends} +Depends: libre (>= 2.7.0), ${shlibs:Depends}, ${misc:Depends} Description: Audio and video processing media library Audio mixer, resampler, tone generator, G.711 codec Video mixer, pixel converter diff --git a/debian/copyright b/debian/copyright index cd4354b..52faab9 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,11 +1,7 @@ -This package was debianized by Alfred E. Heggestad - -It was downloaded from http://www.creytiv.com/ - - -Copyright (c) 2010 - 2014, Alfred E. Heggestad -Copyright (c) 2010 - 2014, Richard Aas -Copyright (c) 2010 - 2014, Creytiv.com +Copyright (C) 2020 - 2022, Baresip Foundation (https://github.com/baresip) +Copyright (c) 2010 - 2022, Alfred E. Heggestad +Copyright (c) 2010 - 2020, Richard Aas +Copyright (c) 2010 - 2020, Creytiv.com All rights reserved. @@ -20,18 +16,17 @@ are met: notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. -3. Neither the name of the Creytiv.com nor the names of its contributors +3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/debian/librem-dev.cmake-components b/debian/librem-dev.cmake-components new file mode 100644 index 0000000..e0eb968 --- /dev/null +++ b/debian/librem-dev.cmake-components @@ -0,0 +1 @@ +Development diff --git a/debian/librem-dev.dirs b/debian/librem-dev.dirs deleted file mode 100644 index da07fdd..0000000 --- a/debian/librem-dev.dirs +++ /dev/null @@ -1,2 +0,0 @@ -usr/include -usr/lib diff --git a/debian/librem-dev.files b/debian/librem-dev.files deleted file mode 100644 index 8d7ce12..0000000 --- a/debian/librem-dev.files +++ /dev/null @@ -1,3 +0,0 @@ -usr/include -usr/lib/librem.a -usr/lib/pkgconfig/librem.pc diff --git a/debian/librem.cmake-components b/debian/librem.cmake-components new file mode 100644 index 0000000..4e9af8a --- /dev/null +++ b/debian/librem.cmake-components @@ -0,0 +1 @@ +Libraries diff --git a/debian/librem.dirs b/debian/librem.dirs deleted file mode 100644 index 6845771..0000000 --- a/debian/librem.dirs +++ /dev/null @@ -1 +0,0 @@ -usr/lib diff --git a/debian/librem.files b/debian/librem.files deleted file mode 100644 index 4251858..0000000 --- a/debian/librem.files +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/librem.so* diff --git a/debian/rules b/debian/rules index ae7b2f4..050e29a 100755 --- a/debian/rules +++ b/debian/rules @@ -1,98 +1,4 @@ #!/usr/bin/make -f -# -*- makefile -*- -# Sample debian/rules that uses debhelper. -# This file was originally written by Joey Hess and Craig Small. -# As a special exception, when this file is copied by dh-make into a -# dh-make output file, you may use that output file without restriction. -# This special exception was added by Craig Small in version 0.37 of dh-make. -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - - -EXTRA_CFLAGS:="$(shell dpkg-buildflags --get CFLAGS | sed -e 's/-O2//')" -EXTRA_LFLAGS:="$(shell dpkg-buildflags --get LDFLAGS)" - - -configure: configure-stamp -configure-stamp: - dh_testdir - # Add here commands to configure the package. - - touch configure-stamp - - -build: build-stamp -build-stamp: configure-stamp - dh_testdir - - # Add here commands to compile the package. - $(MAKE) RELEASE=1 PREFIX=/usr \ - EXTRA_CFLAGS=$(EXTRA_CFLAGS) \ - EXTRA_LFLAGS=$(EXTRA_LFLAGS) - - touch $@ - -clean: - dh_testdir - dh_testroot - rm -f build-stamp configure-stamp - - # Add here commands to clean up after the build process. - $(MAKE) clean - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_prep - dh_installdirs - - # Add here commands to install the package into debian/tmp - mkdir $(CURDIR)/debian/tmp - $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp - - dh_movefiles - -# Build architecture-independent files here. -binary-indep: build install -# We have nothing to do by default. - -# Build architecture-dependent files here. -binary-arch: build install - dh_testdir - dh_testroot - dh_installchangelogs - dh_installdocs - dh_installexamples -# dh_install -# dh_installmenu -# dh_installdebconf -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_installinit -# dh_installcron -# dh_installinfo - dh_installman - dh_link - dh_strip - dh_compress - dh_fixperms -# dh_perl -# dh_python - dh_makeshlibs - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -build-arch: build - -build-indep: build - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure +%: + dh $@ --buildsystem=cmake diff --git a/debian/source/format b/debian/source/format index d3827e7..89ae9db 100644 --- a/debian/source/format +++ b/debian/source/format @@ -1 +1 @@ -1.0 +3.0 (native)