Skip to content

Commit ac749b0

Browse files
committed
install pkgconfig file & finish up debian configs
1 parent f8ef717 commit ac749b0

File tree

5 files changed

+35
-13
lines changed

5 files changed

+35
-13
lines changed

CMakeLists.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,18 @@ include(GNUInstallDirs)
1515
set_target_properties(mbe-static mbe-shared
1616
PROPERTIES
1717
OUTPUT_NAME mbe
18-
VERSION 1.0
18+
VERSION 1.3
1919
SOVERSION 1
2020
INSTALL_NAME_DIR ${CMAKE_INSTALL_FULL_LIBDIR}
2121
PUBLIC_HEADER "mbelib.h")
2222

23+
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/libmbe.pc.in"
24+
"${CMAKE_CURRENT_BINARY_DIR}/libmbe.pc"
25+
@ONLY)
26+
27+
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libmbe.pc"
28+
DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
29+
2330
install(TARGETS mbe-static mbe-shared
2431
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
2532
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}

debian/changelog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ libmbe (1.3.0) bionic; urgency=low
22

33
* Initial upload!
44

5-
-- Jared Szechy <jared.szechy@gmail.com> Tue, 26 Jun 2018 20:04:17 -0500
5+
-- Jared Szechy <jared.szechy@gmail.com> Wed, 27 Jun 2018 23:00:00 -0400

debian/control

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,30 @@ Maintainer: Jared Szechy <jared.szechy@gmail.com>
55
Build-Depends: debhelper (>= 9), cmake
66
Standards-Version: 4.1.4
77
Homepage: https://github.com/szechyjs/mbelib
8+
Vcs-Git: https://github.com/szechyjs/mbelib.git
9+
Vcs-Browser: https://github.com/szechyjs/mbelib
810

911
Package: libmbe-dev
1012
Section: libdevel
1113
Architecture: any
1214
Multi-Arch: same
1315
Depends: libmbe1 (= ${binary:Version}), ${misc:Depends}
14-
Description: P25 Phase 1 and ProVoice vocoder: Headers
16+
Description: P25 Phase 1 and ProVoice vocoder - development kit
17+
libMBE supports the 7200x4400 bit/s codec used in P25 Phase 1,
18+
the 7100x4400 bit/s codec used in ProVoice and the "Half Rate"
19+
3600x2250 bit/s vocoder used in various radio systems.
20+
.
21+
This package contains the development files for libmbe.
1522

1623
Package: libmbe1
1724
Section: libs
1825
Architecture: any
1926
Multi-Arch: same
2027
Pre-Depends: ${misc:Pre-Depends}
2128
Depends: ${shlibs:Depends}, ${misc:Depends}
22-
Description: P25 Phase 1 and ProVoice vocoder
23-
24-
Package: libmbe-dbg
25-
Section: debug
26-
Priority: optional
27-
Architecture: any
28-
Multi-Arch: same
29-
Depends: libmbe1 (= ${binary:Version}), ${misc:Depends}
30-
Description: P25 Phase 1 and ProVoice vocoder: Debug
29+
Description: P25 Phase 1 and ProVoice vocoder - runtime library
30+
libMBE supports the 7200x4400 bit/s codec used in P25 Phase 1,
31+
the 7100x4400 bit/s codec used in ProVoice and the "Half Rate"
32+
3600x2250 bit/s vocoder used in various radio systems.
33+
.
34+
This package contains the libmbe library used by applications.

debian/libmbe-dev.install

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
usr/include
22
usr/lib/*/*.so
3-
usr/lib/*/*.a
3+
usr/lib/*/*.a
4+
usr/lib/*/pkgconfig

libmbe.pc.in

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
2+
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
3+
4+
Name: libMBE
5+
Description: P25 Phase 1 and ProVoice vocoder
6+
Version: 1.3.0
7+
8+
Libs: -L${libdir} -lmbe
9+
Libs.private: -lm
10+
Cflags: -I${includedir}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy