{"action":"opened","issue":{"url":"https://api.github.com/repos/maxruby/OpenCV.jl/issues/7","labels_url":"https://api.github.com/repos/maxruby/OpenCV.jl/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/maxruby/OpenCV.jl/issues/7/comments","events_url":"https://api.github.com/repos/maxruby/OpenCV.jl/issues/7/events","html_url":"https://github.com/maxruby/OpenCV.jl/issues/7","id":85662027,"number":7,"title":"pkg-config changes in OpenCV-3.0.0","user":{"login":"andrewadare","id":154163,"avatar_url":"https://avatars.githubusercontent.com/u/154163?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewadare","html_url":"https://github.com/andrewadare","followers_url":"https://api.github.com/users/andrewadare/followers","following_url":"https://api.github.com/users/andrewadare/following{/other_user}","gists_url":"https://api.github.com/users/andrewadare/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewadare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewadare/subscriptions","organizations_url":"https://api.github.com/users/andrewadare/orgs","repos_url":"https://api.github.com/users/andrewadare/repos","events_url":"https://api.github.com/users/andrewadare/events{/privacy}","received_events_url":"https://api.github.com/users/andrewadare/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-06T00:20:18Z","updated_at":"2015-06-06T00:20:18Z","closed_at":null,"body":"This is a small issue, but maybe still worth mentioning.\r\n\r\nI installed the new OpenCV 3.0.0 \"gold\" release yesterday, and it looks like the output of pkg-config is a little different than before (at least for me on OS X). It looks like this:\r\n```\r\n$ pkg-config --libs opencv\r\n-L/usr/local/lib -lopencv_shape -lopencv_stitching -lopencv_objdetect -lopencv_superres -lopencv_videostab -lopencv_calib3d -lopencv_features2d -lopencv_highgui -lopencv_videoio -lopencv_imgcodecs -lopencv_video -lopencv_photo -lopencv_ml -lopencv_imgproc -lopencv_flann -lopencv_viz -lopencv_core -lopencv_hal\r\n```\r\nI had to remove the trailing slash on `/usr/local/lib/` in OpenCV.jl, and I also changed `match(Regex(\"$(i[1:end-6])\")` to `match(Regex(\"$(i[4:end-6])\")` so that the \"lib\" part of the string is not required for a match. I don't think either of these changes would prevent this package from working with the older OpenCV 3 beta releases.\r\n"}}