Skip to content

Commit

Permalink
[pkgconfig]: offer a sample for pkgconfig
Browse files Browse the repository at this point in the history
The CMake could use this sample to generate the pkgconfig
files for target system.

Change-Id: I24c54533dc8f307b2e3748a2cce493a86cf274bc
Signed-off-by: Randy Li <[email protected]>
  • Loading branch information
Randy Li authored and HermanChen committed Dec 14, 2017
1 parent 349b604 commit 84947e3
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pkgconfig/rockchip_mpp.pc.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@

Name: rockchip_mpp
Description: Rockchip Media Process Platform
Requires.private:
Version: 1.3.7
Libs: -L${libdir} -lrockchip_mpp
Libs.private:
Cflags: -I${includedir}
12 changes: 12 additions & 0 deletions pkgconfig/rockchip_vpu.pc.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@

Name: rockchip_vpu
Description: Rockchip Media Process Platform (Legacy)
Requires.private:
Version: 0.3.0
Libs: -L${libdir} -lrockchip_vpu
Libs.private:
Cflags: -I${includedir}

0 comments on commit 84947e3

Please sign in to comment.