[pkgconfig]: offer a sample for pkgconfig

The CMake could use this sample to generate the pkgconfig
files for target system.

Change-Id: I24c54533dc8f307b2e3748a2cce493a86cf274bc
Signed-off-by: Randy Li <randy.li@rock-chips.com>
This commit is contained in:
Randy Li 2017-03-29 11:10:56 +08:00 committed by Herman Chen
parent 349b60410f
commit 84947e3998
2 changed files with 24 additions and 0 deletions

View File

@ -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}

View File

@ -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}