{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/comments/63725217","id":63725217,"diff_hunk":"@@ -0,0 +1,69 @@\n+class Breakpad < Formula\n+  desc \"Components implement a crash-reporting system.\"\n+  homepage \"https://chromium.googlesource.com/breakpad/breakpad/\"\n+\n+  url \"https://chromium.googlesource.com/breakpad/breakpad\",\n+      :using => :git,\n+      :revision => \"67d5567177301d0c24303f26ad119ab7bd7fab40\"\n+  version \"0.1.0\"\n+\n+  head \"https://chromium.googlesource.com/breakpad/breakpad\",\n+      :using => :git\n+\n+  depends_on :xcode => :build\n+\n+  def install\n+    system \"./configure\", \"--disable-debug\",\n+                          \"--disable-dependency-tracking\",\n+                          \"--disable-silent-rules\",\n+                          \"--prefix=#{prefix}\"\n+    system \"make\"\n+    system \"make\", \"install\"\n+\n+    args = %W[\n+      -configuration Release\n+      SYMROOT=build\n+      PREFIX=#{prefix}\n+      ONLY_ACTIVE_ARCH=YES\n+      build\n+    ]\n+\n+    xcodebuild \"-project\", \"src/client/mac/Breakpad.xcodeproj\", *args\n+\n+    lib.install \"src/client/mac/build/Release/Breakpad.framework\"\n+    frameworks.install_symlink Dir[\"#{lib}/*.framework\"]\n+    Pathname.glob(\"#{lib}/*.framework/Headers\") do |path|\n+      include.install_symlink path => path.parent.basename(\".framework\")\n+    end\n+\n+    xcodebuild \"-project\", \"src/tools/mac/dump_syms/dump_syms.xcodeproj\", *args\n+\n+    bin.install \"src/tools/mac/dump_syms/build/Release/dump_syms\"\n+  end\n+\n+  test do\n+    (testpath/\"test.m\").write <<-EOS.undent\n+#import <Foundation/Foundation.h>\n+#import <Breakpad/Breakpad.h>\n+\n+int main() {\n+  NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];\n+\n+  NSDictionary *plist = [[NSBundle mainBundle] infoDictionary];\n+\n+  BreakpadRef breakpad = BreakpadCreate(plist);\n+\n+  BreakpadRelease(breakpad);\n+\n+  [pool release];\n+\n+  return 0;\n+}\n+EOS\n+\n+    system ENV.cc, \"-ObjC\", \"-g\", \"test.m\", \"-o\", \"test\",\n+                   \"-framework\", \"Foundation\",\n+                   \"-framework\", \"Breakpad\", \"-F\", \"#{HOMEBREW_PREFIX}/Frameworks\"","path":"Formula/breakpad.rb","position":66,"original_position":66,"commit_id":"7dfe05b0f5b60e75798f2f8b1f8a903cdb3f496c","original_commit_id":"7dfe05b0f5b60e75798f2f8b1f8a903cdb3f496c","user":{"login":"DomT4","id":6998367,"avatar_url":"https://avatars.githubusercontent.com/u/6998367?v=3","gravatar_id":"","url":"https://api.github.com/users/DomT4","html_url":"https://github.com/DomT4","followers_url":"https://api.github.com/users/DomT4/followers","following_url":"https://api.github.com/users/DomT4/following{/other_user}","gists_url":"https://api.github.com/users/DomT4/gists{/gist_id}","starred_url":"https://api.github.com/users/DomT4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DomT4/subscriptions","organizations_url":"https://api.github.com/users/DomT4/orgs","repos_url":"https://api.github.com/users/DomT4/repos","events_url":"https://api.github.com/users/DomT4/events{/privacy}","received_events_url":"https://api.github.com/users/DomT4/received_events","type":"User","site_admin":false},"body":"`#{frameworks}` should work instead of `#{HOMEBREW_PREFIX}/Frameworks`.","created_at":"2016-05-18T15:26:10Z","updated_at":"2016-05-18T15:26:10Z","html_url":"https://github.com/Homebrew/homebrew-core/pull/1256#discussion_r63725217","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/1256","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/comments/63725217"},"html":{"href":"https://github.com/Homebrew/homebrew-core/pull/1256#discussion_r63725217"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/1256"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/1256","id":70503007,"html_url":"https://github.com/Homebrew/homebrew-core/pull/1256","diff_url":"https://github.com/Homebrew/homebrew-core/pull/1256.diff","patch_url":"https://github.com/Homebrew/homebrew-core/pull/1256.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/1256","number":1256,"state":"open","locked":false,"title":"add Google's breakpad library","user":{"login":"flier","id":61618,"avatar_url":"https://avatars.githubusercontent.com/u/61618?v=3","gravatar_id":"","url":"https://api.github.com/users/flier","html_url":"https://github.com/flier","followers_url":"https://api.github.com/users/flier/followers","following_url":"https://api.github.com/users/flier/following{/other_user}","gists_url":"https://api.github.com/users/flier/gists{/gist_id}","starred_url":"https://api.github.com/users/flier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flier/subscriptions","organizations_url":"https://api.github.com/users/flier/orgs","repos_url":"https://api.github.com/users/flier/repos","events_url":"https://api.github.com/users/flier/events{/privacy}","received_events_url":"https://api.github.com/users/flier/received_events","type":"User","site_admin":false},"body":"- [x] Have you followed the guidelines in our [Contributing](https://github.com/Homebrew/homebrew-core/blob/master/.github/CONTRIBUTING.md) document?\r\n- [x] Have you checked to ensure there aren't other open [Pull Requests](https://github.com/Homebrew/homebrew-core/pulls) for the same formula update/change?\r\n- [x] Have you built your formula locally prior to submission with `brew install <formula>` (where `<formula>` is the name of the formula you're submitting)?\r\n- [x] Does your submission pass `brew audit --strict --online <formula>` (after doing `brew install <formula>`)?\r\n\r\n-----\r\n\r\n","created_at":"2016-05-18T10:24:15Z","updated_at":"2016-05-18T15:26:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"849b41e9b60553bec06ccb5c2ed7c36e65db48f4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/1256/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/1256/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/1256/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew-core/statuses/7dfe05b0f5b60e75798f2f8b1f8a903cdb3f496c","head":{"label":"flier:breakpad","ref":"breakpad","sha":"7dfe05b0f5b60e75798f2f8b1f8a903cdb3f496c","user":{"login":"flier","id":61618,"avatar_url":"https://avatars.githubusercontent.com/u/61618?v=3","gravatar_id":"","url":"https://api.github.com/users/flier","html_url":"https://github.com/flier","followers_url":"https://api.github.com/users/flier/followers","following_url":"https://api.github.com/users/flier/following{/other_user}","gists_url":"https://api.github.com/users/flier/gists{/gist_id}","starred_url":"https://api.github.com/users/flier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flier/subscriptions","organizations_url":"https://api.github.com/users/flier/orgs","repos_url":"https://api.github.com/users/flier/repos","events_url":"https://api.github.com/users/flier/events{/privacy}","received_events_url":"https://api.github.com/users/flier/received_events","type":"User","site_admin":false},"repo":{"id":56250572,"name":"homebrew-core","full_name":"flier/homebrew-core","owner":{"login":"flier","id":61618,"avatar_url":"https://avatars.githubusercontent.com/u/61618?v=3","gravatar_id":"","url":"https://api.github.com/users/flier","html_url":"https://github.com/flier","followers_url":"https://api.github.com/users/flier/followers","following_url":"https://api.github.com/users/flier/following{/other_user}","gists_url":"https://api.github.com/users/flier/gists{/gist_id}","starred_url":"https://api.github.com/users/flier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flier/subscriptions","organizations_url":"https://api.github.com/users/flier/orgs","repos_url":"https://api.github.com/users/flier/repos","events_url":"https://api.github.com/users/flier/events{/privacy}","received_events_url":"https://api.github.com/users/flier/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/flier/homebrew-core","description":":beers: Core formulae for the Homebrew package manager","fork":true,"url":"https://api.github.com/repos/flier/homebrew-core","forks_url":"https://api.github.com/repos/flier/homebrew-core/forks","keys_url":"https://api.github.com/repos/flier/homebrew-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flier/homebrew-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flier/homebrew-core/teams","hooks_url":"https://api.github.com/repos/flier/homebrew-core/hooks","issue_events_url":"https://api.github.com/repos/flier/homebrew-core/issues/events{/number}","events_url":"https://api.github.com/repos/flier/homebrew-core/events","assignees_url":"https://api.github.com/repos/flier/homebrew-core/assignees{/user}","branches_url":"https://api.github.com/repos/flier/homebrew-core/branches{/branch}","tags_url":"https://api.github.com/repos/flier/homebrew-core/tags","blobs_url":"https://api.github.com/repos/flier/homebrew-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flier/homebrew-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flier/homebrew-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/flier/homebrew-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flier/homebrew-core/statuses/{sha}","languages_url":"https://api.github.com/repos/flier/homebrew-core/languages","stargazers_url":"https://api.github.com/repos/flier/homebrew-core/stargazers","contributors_url":"https://api.github.com/repos/flier/homebrew-core/contributors","subscribers_url":"https://api.github.com/repos/flier/homebrew-core/subscribers","subscription_url":"https://api.github.com/repos/flier/homebrew-core/subscription","commits_url":"https://api.github.com/repos/flier/homebrew-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/flier/homebrew-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/flier/homebrew-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/flier/homebrew-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/flier/homebrew-core/contents/{+path}","compare_url":"https://api.github.com/repos/flier/homebrew-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flier/homebrew-core/merges","archive_url":"https://api.github.com/repos/flier/homebrew-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flier/homebrew-core/downloads","issues_url":"https://api.github.com/repos/flier/homebrew-core/issues{/number}","pulls_url":"https://api.github.com/repos/flier/homebrew-core/pulls{/number}","milestones_url":"https://api.github.com/repos/flier/homebrew-core/milestones{/number}","notifications_url":"https://api.github.com/repos/flier/homebrew-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flier/homebrew-core/labels{/name}","releases_url":"https://api.github.com/repos/flier/homebrew-core/releases{/id}","deployments_url":"https://api.github.com/repos/flier/homebrew-core/deployments","created_at":"2016-04-14T15:52:18Z","updated_at":"2016-04-14T15:52:32Z","pushed_at":"2016-05-18T11:27:28Z","git_url":"git://github.com/flier/homebrew-core.git","ssh_url":"git@github.com:flier/homebrew-core.git","clone_url":"https://github.com/flier/homebrew-core.git","svn_url":"https://github.com/flier/homebrew-core","homepage":"http://brew.sh","size":57109,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Homebrew:master","ref":"master","sha":"a3e47784f3878943ef102b8e850426219466b315","user":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"repo":{"id":52855516,"name":"homebrew-core","full_name":"Homebrew/homebrew-core","owner":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Homebrew/homebrew-core","description":":beers: Core formulae for the Homebrew package manager","fork":false,"url":"https://api.github.com/repos/Homebrew/homebrew-core","forks_url":"https://api.github.com/repos/Homebrew/homebrew-core/forks","keys_url":"https://api.github.com/repos/Homebrew/homebrew-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/homebrew-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/homebrew-core/teams","hooks_url":"https://api.github.com/repos/Homebrew/homebrew-core/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/homebrew-core/events","assignees_url":"https://api.github.com/repos/Homebrew/homebrew-core/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/homebrew-core/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/homebrew-core/tags","blobs_url":"https://api.github.com/repos/Homebrew/homebrew-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/homebrew-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/homebrew-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/homebrew-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/homebrew-core/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/homebrew-core/languages","stargazers_url":"https://api.github.com/repos/Homebrew/homebrew-core/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/homebrew-core/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/homebrew-core/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/homebrew-core/subscription","commits_url":"https://api.github.com/repos/Homebrew/homebrew-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/homebrew-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/Homebrew/homebrew-core/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/homebrew-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/homebrew-core/merges","archive_url":"https://api.github.com/repos/Homebrew/homebrew-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/homebrew-core/downloads","issues_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/homebrew-core/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/homebrew-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/homebrew-core/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/homebrew-core/releases{/id}","deployments_url":"https://api.github.com/repos/Homebrew/homebrew-core/deployments","created_at":"2016-03-01T06:58:36Z","updated_at":"2016-05-18T05:46:06Z","pushed_at":"2016-05-18T15:25:26Z","git_url":"git://github.com/Homebrew/homebrew-core.git","ssh_url":"git@github.com:Homebrew/homebrew-core.git","clone_url":"https://github.com/Homebrew/homebrew-core.git","svn_url":"https://github.com/Homebrew/homebrew-core","homepage":"http://brew.sh","size":62613,"stargazers_count":345,"watchers_count":345,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":571,"mirror_url":null,"open_issues_count":72,"forks":571,"open_issues":72,"watchers":345,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/1256"},"html":{"href":"https://github.com/Homebrew/homebrew-core/pull/1256"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/issues/1256"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/issues/1256/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/1256/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/1256/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/statuses/7dfe05b0f5b60e75798f2f8b1f8a903cdb3f496c"}}}}