Closed varhub closed 9 years ago
Use pkg-config to find ardronelib and embedded ffmpeg. This action allows to use ffmpeg from plain g++ without split .deb neither think on package, path and name collision.
$ pkg-config --libs ffmpeg-0.8 -L/usr/local/lib/jderobot/ardrone -lavcodec -lavdevice -lavfilter -lavformat -lavutil -lswscale
It also allows hierarchical dependencies: Requires: ffmpeg-0.8
Requires: ffmpeg-0.8
$ pkg-config --libs ardronelib -L/usr/local/lib/jderobot/ardrone -lpc_ardrone -lpc_ardrone_notool -lsdk -lvlib -lavcodec -lavdevice -lavfilter -lavformat -lavutil -lswscale
More explanations at commit message.
Proposal for solve scan of ardronelib deps
Use pkg-config to find ardronelib and embedded ffmpeg. This action allows to use ffmpeg from plain g++ without split .deb neither think on package, path and name collision.
It also allows hierarchical dependencies:
Requires: ffmpeg-0.8
More explanations at commit message.