{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/47430510","id":47430510,"diff_hunk":"@@ -0,0 +1,33 @@\n+class Suil < Formula\n+  desc \"lightweight C library for loading and wrapping LV2 plugin UIs\"\n+  homepage \"http://drobilla.net/software/suil/\"\n+  url \"http://download.drobilla.net/suil-0.8.2.tar.bz2\"\n+  sha256 \"787608c1e5b1f5051137dbf77c671266088583515af152b77b45e9c3a36f6ae8\"\n+\n+  depends_on \"lv2\"\n+  depends_on \"qt\" => :optional\n+  depends_on \"qt5\" => :optional\n+  depends_on \"gtk+\" => :recommended\n+  depends_on \"pkg-config\" => :build\n+  depends_on :x11 => :optional\n+\n+  def install\n+    system \"./waf\", \"configure\", \"--prefix=#{prefix}\"\n+    system \"./waf\", \"install\"\n+  end\n+\n+  test do\n+    (testpath/\"test.c\").write <<-EOS.undent\n+      #include <suil/suil.h>\n+\n+      int main()\n+      {\n+        return suil_ui_supported(\"my-host\", \"my-ui\");\n+      }\n+    EOS\n+    args = [\"-I#{include}/suil-0\", \"-L#{lib}\", \"-lsuil-0\"]\n+    args += %w[test.c -o test]\n+    system ENV.cc, *args","path":"Library/Formula/suil.rb","position":30,"original_position":30,"commit_id":"96b5fe8c2ab2309ed4c70c1996e075407f6cd2b0","original_commit_id":"96b5fe8c2ab2309ed4c70c1996e075407f6cd2b0","user":{"login":"bfontaine","id":1334295,"avatar_url":"https://avatars.githubusercontent.com/u/1334295?v=3","gravatar_id":"","url":"https://api.github.com/users/bfontaine","html_url":"https://github.com/bfontaine","followers_url":"https://api.github.com/users/bfontaine/followers","following_url":"https://api.github.com/users/bfontaine/following{/other_user}","gists_url":"https://api.github.com/users/bfontaine/gists{/gist_id}","starred_url":"https://api.github.com/users/bfontaine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfontaine/subscriptions","organizations_url":"https://api.github.com/users/bfontaine/orgs","repos_url":"https://api.github.com/users/bfontaine/repos","events_url":"https://api.github.com/users/bfontaine/events{/privacy}","received_events_url":"https://api.github.com/users/bfontaine/received_events","type":"User","site_admin":false},"body":"You can inline all arguments here: `system ENV.cc, \"-I#{include}/suil-0\", \"-L#{lib}\", \"-lsuil-0\", \"test.c\", \"-o\", \"test\"`.","created_at":"2015-12-12T10:58:15Z","updated_at":"2015-12-12T10:58:15Z","html_url":"https://github.com/Homebrew/homebrew/pull/46922#discussion_r47430510","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/46922","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/47430510"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/46922#discussion_r47430510"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/46922"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/46922","id":53445065,"html_url":"https://github.com/Homebrew/homebrew/pull/46922","diff_url":"https://github.com/Homebrew/homebrew/pull/46922.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/46922.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/46922","number":46922,"state":"open","locked":false,"title":"suil 0.8.2 (new formula)","user":{"login":"david0","id":1685610,"avatar_url":"https://avatars.githubusercontent.com/u/1685610?v=3","gravatar_id":"","url":"https://api.github.com/users/david0","html_url":"https://github.com/david0","followers_url":"https://api.github.com/users/david0/followers","following_url":"https://api.github.com/users/david0/following{/other_user}","gists_url":"https://api.github.com/users/david0/gists{/gist_id}","starred_url":"https://api.github.com/users/david0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david0/subscriptions","organizations_url":"https://api.github.com/users/david0/orgs","repos_url":"https://api.github.com/users/david0/repos","events_url":"https://api.github.com/users/david0/events{/privacy}","received_events_url":"https://api.github.com/users/david0/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-11T21:15:14Z","updated_at":"2015-12-12T10:58:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a24c76b8fa5c1243c424ee8d35f8600dc9bc93f2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/46922/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/46922/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/46922/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/96b5fe8c2ab2309ed4c70c1996e075407f6cd2b0","head":{"label":"david0:suil","ref":"suil","sha":"96b5fe8c2ab2309ed4c70c1996e075407f6cd2b0","user":{"login":"david0","id":1685610,"avatar_url":"https://avatars.githubusercontent.com/u/1685610?v=3","gravatar_id":"","url":"https://api.github.com/users/david0","html_url":"https://github.com/david0","followers_url":"https://api.github.com/users/david0/followers","following_url":"https://api.github.com/users/david0/following{/other_user}","gists_url":"https://api.github.com/users/david0/gists{/gist_id}","starred_url":"https://api.github.com/users/david0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david0/subscriptions","organizations_url":"https://api.github.com/users/david0/orgs","repos_url":"https://api.github.com/users/david0/repos","events_url":"https://api.github.com/users/david0/events{/privacy}","received_events_url":"https://api.github.com/users/david0/received_events","type":"User","site_admin":false},"repo":{"id":46577807,"name":"homebrew","full_name":"david0/homebrew","owner":{"login":"david0","id":1685610,"avatar_url":"https://avatars.githubusercontent.com/u/1685610?v=3","gravatar_id":"","url":"https://api.github.com/users/david0","html_url":"https://github.com/david0","followers_url":"https://api.github.com/users/david0/followers","following_url":"https://api.github.com/users/david0/following{/other_user}","gists_url":"https://api.github.com/users/david0/gists{/gist_id}","starred_url":"https://api.github.com/users/david0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david0/subscriptions","organizations_url":"https://api.github.com/users/david0/orgs","repos_url":"https://api.github.com/users/david0/repos","events_url":"https://api.github.com/users/david0/events{/privacy}","received_events_url":"https://api.github.com/users/david0/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/david0/homebrew","description":":beer: The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/david0/homebrew","forks_url":"https://api.github.com/repos/david0/homebrew/forks","keys_url":"https://api.github.com/repos/david0/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/david0/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/david0/homebrew/teams","hooks_url":"https://api.github.com/repos/david0/homebrew/hooks","issue_events_url":"https://api.github.com/repos/david0/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/david0/homebrew/events","assignees_url":"https://api.github.com/repos/david0/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/david0/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/david0/homebrew/tags","blobs_url":"https://api.github.com/repos/david0/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/david0/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/david0/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/david0/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/david0/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/david0/homebrew/languages","stargazers_url":"https://api.github.com/repos/david0/homebrew/stargazers","contributors_url":"https://api.github.com/repos/david0/homebrew/contributors","subscribers_url":"https://api.github.com/repos/david0/homebrew/subscribers","subscription_url":"https://api.github.com/repos/david0/homebrew/subscription","commits_url":"https://api.github.com/repos/david0/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/david0/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/david0/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/david0/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/david0/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/david0/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/david0/homebrew/merges","archive_url":"https://api.github.com/repos/david0/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/david0/homebrew/downloads","issues_url":"https://api.github.com/repos/david0/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/david0/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/david0/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/david0/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/david0/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/david0/homebrew/releases{/id}","created_at":"2015-11-20T17:52:00Z","updated_at":"2015-11-20T17:52:29Z","pushed_at":"2015-12-11T22:06:46Z","git_url":"git://github.com/david0/homebrew.git","ssh_url":"git@github.com:david0/homebrew.git","clone_url":"https://github.com/david0/homebrew.git","svn_url":"https://github.com/david0/homebrew","homepage":"http://brew.sh","size":68231,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"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":"b3139f32f35789e1d7ce9a7a54318fd10628d287","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":206084,"name":"homebrew","full_name":"Homebrew/homebrew","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","description":":beer: The missing package manager for OS X.","fork":false,"url":"https://api.github.com/repos/Homebrew/homebrew","forks_url":"https://api.github.com/repos/Homebrew/homebrew/forks","keys_url":"https://api.github.com/repos/Homebrew/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/homebrew/teams","hooks_url":"https://api.github.com/repos/Homebrew/homebrew/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/homebrew/events","assignees_url":"https://api.github.com/repos/Homebrew/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/homebrew/tags","blobs_url":"https://api.github.com/repos/Homebrew/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/homebrew/languages","stargazers_url":"https://api.github.com/repos/Homebrew/homebrew/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/homebrew/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/homebrew/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/homebrew/subscription","commits_url":"https://api.github.com/repos/Homebrew/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/Homebrew/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/homebrew/merges","archive_url":"https://api.github.com/repos/Homebrew/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/homebrew/downloads","issues_url":"https://api.github.com/repos/Homebrew/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/homebrew/releases{/id}","created_at":"2009-05-20T19:38:37Z","updated_at":"2015-12-12T09:24:41Z","pushed_at":"2015-12-12T07:51:07Z","git_url":"git://github.com/Homebrew/homebrew.git","ssh_url":"git@github.com:Homebrew/homebrew.git","clone_url":"https://github.com/Homebrew/homebrew.git","svn_url":"https://github.com/Homebrew/homebrew","homepage":"http://brew.sh","size":1413747,"stargazers_count":27821,"watchers_count":27821,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":13792,"mirror_url":null,"open_issues_count":494,"forks":13792,"open_issues":494,"watchers":27821,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/46922"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/46922"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/46922"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/46922/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/46922/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/46922/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/96b5fe8c2ab2309ed4c70c1996e075407f6cd2b0"}}}}