{"action":"created","issue":{"url":"https://api.github.com/repos/rpclib/rpclib/issues/148","repository_url":"https://api.github.com/repos/rpclib/rpclib","labels_url":"https://api.github.com/repos/rpclib/rpclib/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/rpclib/rpclib/issues/148/comments","events_url":"https://api.github.com/repos/rpclib/rpclib/issues/148/events","html_url":"https://github.com/rpclib/rpclib/pull/148","id":246522571,"number":148,"title":"Add pkg-config support","user":{"login":"ahoarau","id":703240,"avatar_url":"https://avatars2.githubusercontent.com/u/703240?v=4","gravatar_id":"","url":"https://api.github.com/users/ahoarau","html_url":"https://github.com/ahoarau","followers_url":"https://api.github.com/users/ahoarau/followers","following_url":"https://api.github.com/users/ahoarau/following{/other_user}","gists_url":"https://api.github.com/users/ahoarau/gists{/gist_id}","starred_url":"https://api.github.com/users/ahoarau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahoarau/subscriptions","organizations_url":"https://api.github.com/users/ahoarau/orgs","repos_url":"https://api.github.com/users/ahoarau/repos","events_url":"https://api.github.com/users/ahoarau/events{/privacy}","received_events_url":"https://api.github.com/users/ahoarau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-07-29T13:49:36Z","updated_at":"2017-08-15T09:10:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rpclib/rpclib/pulls/148","html_url":"https://github.com/rpclib/rpclib/pull/148","diff_url":"https://github.com/rpclib/rpclib/pull/148.diff","patch_url":"https://github.com/rpclib/rpclib/pull/148.patch"},"body":"Adds `pkg-config` support, which generates an `rpclib.pc` like : \r\n```\r\nprefix=/usr/local\r\nexec_prefix=\r\nlibdir=/usr/local/lib\r\nincludedir=/usr/local/include\r\n\r\nName: rpclib\r\nDescription: rpclib is a msgpack-rpc library written using modern C++\r\nVersion: 2.1.0\r\nLibs: -L${libdir} -lrpc\r\nCflags: -I${includedir} -std=c++14 -Wall -pedantic -pthread\r\n```\r\nFiles are installed in `${CMAKE_INSTALL_PREFIX}/lib/pkgconfig`\r\n\r\nWith Qt you can do something like : \r\n``` \r\nCONFIG += link_pkgconfig\r\nPKGCONFIG += rpclib\r\n``` \r\nWhich adds the result of `pkg-config --cflags rpclib` to the compiler."},"comment":{"url":"https://api.github.com/repos/rpclib/rpclib/issues/comments/322419267","html_url":"https://github.com/rpclib/rpclib/pull/148#issuecomment-322419267","issue_url":"https://api.github.com/repos/rpclib/rpclib/issues/148","id":322419267,"user":{"login":"sztomi","id":240594,"avatar_url":"https://avatars1.githubusercontent.com/u/240594?v=4","gravatar_id":"","url":"https://api.github.com/users/sztomi","html_url":"https://github.com/sztomi","followers_url":"https://api.github.com/users/sztomi/followers","following_url":"https://api.github.com/users/sztomi/following{/other_user}","gists_url":"https://api.github.com/users/sztomi/gists{/gist_id}","starred_url":"https://api.github.com/users/sztomi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sztomi/subscriptions","organizations_url":"https://api.github.com/users/sztomi/orgs","repos_url":"https://api.github.com/users/sztomi/repos","events_url":"https://api.github.com/users/sztomi/events{/privacy}","received_events_url":"https://api.github.com/users/sztomi/received_events","type":"User","site_admin":false},"created_at":"2017-08-15T09:10:45Z","updated_at":"2017-08-15T09:10:45Z","body":"Thanks, I really appreciate this, it solves lots of problems that #94 raises. "}}
{"actor":{"display_login":"sztomi"}}