Improve pkg-config files

Review Request #114771 - Created Jan. 1, 2014 and discarded

Information
Michael Palimaka
polkit-qt-1
297340
Reviewers
polkit-qt-1
dafre
* Fix includedir (bug #297340)
* Remove redundancy from polkit-qt-1.pc
* Add polkit_policy_files_install_dir variable (from cmake module)
* use $prefix instead of @CMAKE_INSTALL_PREFIX@ multiple times, since it is already defined
# for i in "" "-agent" "-core" "-gui" ; do pkg-config --libs polkit-qt${i}-1 ; done
-L/usr/lib64/qt4 -lpolkit-qt-gui-1 -lpolkit-qt-core-1 -lpolkit-qt-agent-1 -lQtGui -lQtCore 
-L/usr/lib64/qt4 -lpolkit-qt-agent-1 -lQtGui -lQtCore 
-L/usr/lib64/qt4 -lpolkit-qt-core-1 -lQtCore 
-L/usr/lib64/qt4 -lpolkit-qt-gui-1 -lQtGui -lpolkit-qt-core-1 -lQtCore 

# for i in "" "-agent" "-core" "-gui" ; do pkg-config --cflags polkit-qt${i}-1 ; done
-DQT_SHARED -I/usr/include/polkit-qt-1 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/qt4/QtCore 
-DQT_SHARED -I/usr/include/polkit-qt-1 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/qt4/QtCore 
-DQT_SHARED -I/usr/include/polkit-qt-1 -I/usr/include/qt4 -I/usr/include/qt4/QtCore 
-DQT_SHARED -I/usr/include/polkit-qt-1 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/polkit-qt-1 -I/usr/include/qt4 -I/usr/include/qt4/QtCore 

# pkg-config --variable=polkit_policy_files_install_dir polkit-qt-1
/usr/share/polkit-1/actions
Michael Palimaka
Rex Dieter
Rex Dieter
Michael Palimaka
Review request changed

Status: Discarded

Loading...