{"action":"created","comment":{"url":"https://api.github.com/repos/gentoo/gentoo/pulls/comments/42324437","id":42324437,"diff_hunk":"@@ -0,0 +1,128 @@\n+# Copyright 1999-2015 Gentoo Foundation\n+# Distributed under the terms of the GNU General Public License v2\n+# $Id$\n+\n+EAPI=5\n+inherit eutils flag-o-matic games\n+\n+MY_P=${P/ufo-ai/ufoai}\n+\n+DESCRIPTION=\"UFO: Alien Invasion - X-COM inspired strategy game\"\n+HOMEPAGE=\"http://ufoai.sourceforge.net/\"\n+SRC_URI=\"mirror://sourceforge/ufoai/${MY_P}-source.tar.bz2\n+\tmirror://sourceforge/ufoai/${MY_P}-data.tar\"\n+\n+LICENSE=\"GPL-2\"\n+SLOT=\"0\"\n+KEYWORDS=\"~amd64 ~ppc ~x86\"\n+IUSE=\"debug server editor +client sse profile\"\n+\n+# Dependencies and more instructions can be found here:\n+# http://ufoai.ninex.info/wiki/index.php/Compile_for_Linux\n+DEPEND=\"!server? (\n+\t\tvirtual/opengl\n+\t\tvirtual/glu\n+\t\tmedia-libs/libsdl2\n+\t\tmedia-libs/sdl2-image[jpeg,png]\n+\t\tmedia-libs/sdl2-ttf\n+\t\tmedia-libs/sdl2-mixer\n+\t\tvirtual/jpeg\n+\t\tmedia-libs/libpng:0\n+\t\tmedia-libs/libogg\n+\t\tmedia-libs/libvorbis\n+\t\tx11-proto/xf86vidmodeproto\n+\t)\n+\tnet-misc/curl\n+\tsys-devel/gettext\n+\tsys-libs/zlib\n+\teditor? (\n+\t\tdev-libs/libxml2\n+\t\tvirtual/jpeg\n+\t\tmedia-libs/openal\n+\t\tx11-libs/gtkglext\n+\t\tx11-libs/gtksourceview:2.0\n+\t)\"\n+RDEPEND=\"${DEPEND}\"\n+\n+S=${WORKDIR}/${MY_P}-source\n+\n+pkg_setup() {\n+\tif use profile; then\n+\t\tewarn \"USE=\\\"profile\\\" is incompatible with the hardened profile's -pie flag.\"\n+\tfi\n+}\n+\n+src_unpack() {\n+\tunpack ${MY_P}-source.tar.bz2\n+\tcd \"${S}\"\n+\tpwd\n+\tunpack ${MY_P}-data.tar\n+}\n+\n+src_configure() {\n+\t# they are special and provide hand batched configure file\n+\tlocal myconf=\"\n+\t\t--disable-cgame-campaign\n+\t\t--disable-cgame-multiplayer\n+\t\t--disable-cgame-skirmish\n+\t\t--disable-memory\n+\t\t--disable-testall\n+\t\t--disable-ufomodel\n+\t\t--disable-ufoslicer\n+\t\t$(use_enable !debug release)\n+\t\t$(use_enable editor uforadiant)\n+\t\t$(use_enable editor ufo2map)\n+\t\t$(use_enable server ufoded)\n+\t\t$(use_enable client ufo)\n+\t\t$(use_enable sse)\n+\t\t--enable-game\n+\t\t--disable-paranoid\n+\t\t$(use_enable profile profiling)\n+\t\t--bindir=\"${GAMES_BINDIR}\"\n+\t\t--libdir=\"$(games_get_libdir)\"\n+\t\t--datadir=\"${GAMES_DATADIR}/${PN/-}\"\n+\t\t--localedir=\"${EPREFIX}/usr/share/locale/\"\n+\t\t--prefix=\"${GAMES_PREFIX}\"\n+\t\"\n+\techo \"./configure ${myconf}\"\n+\t./configure ${myconf} || die\n+}\n+\n+src_compile() {\n+\temake\n+\temake lang\n+\n+\tif use editor; then\n+\t\temake uforadiant\n+\tfi\n+}\n+\n+src_install() {\n+\tnewicon src/ports/linux/ufo.png ${PN}.png","path":"games-strategy/ufo-ai/ufo-ai-2.5.ebuild","position":101,"original_position":101,"commit_id":"30f57a648cc53cdada6092e6c5b47a3aeaedf1ec","original_commit_id":"30f57a648cc53cdada6092e6c5b47a3aeaedf1ec","user":{"login":"hasufell","id":1241845,"avatar_url":"https://avatars.githubusercontent.com/u/1241845?v=3","gravatar_id":"","url":"https://api.github.com/users/hasufell","html_url":"https://github.com/hasufell","followers_url":"https://api.github.com/users/hasufell/followers","following_url":"https://api.github.com/users/hasufell/following{/other_user}","gists_url":"https://api.github.com/users/hasufell/gists{/gist_id}","starred_url":"https://api.github.com/users/hasufell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasufell/subscriptions","organizations_url":"https://api.github.com/users/hasufell/orgs","repos_url":"https://api.github.com/users/hasufell/repos","events_url":"https://api.github.com/users/hasufell/events{/privacy}","received_events_url":"https://api.github.com/users/hasufell/received_events","type":"User","site_admin":false},"body":"use `newicon -s <size>` functions to install into modern locations and then gnome2-utils.eclass to update icon cache, see games-action/trosh for an example","created_at":"2015-10-18T18:41:09Z","updated_at":"2015-10-18T18:41:09Z","html_url":"https://github.com/gentoo/gentoo/pull/256#discussion_r42324437","pull_request_url":"https://api.github.com/repos/gentoo/gentoo/pulls/256","_links":{"self":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/comments/42324437"},"html":{"href":"https://github.com/gentoo/gentoo/pull/256#discussion_r42324437"},"pull_request":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/256"}}},"pull_request":{"url":"https://api.github.com/repos/gentoo/gentoo/pulls/256","id":48014401,"html_url":"https://github.com/gentoo/gentoo/pull/256","diff_url":"https://github.com/gentoo/gentoo/pull/256.diff","patch_url":"https://github.com/gentoo/gentoo/pull/256.patch","issue_url":"https://api.github.com/repos/gentoo/gentoo/issues/256","number":256,"state":"open","locked":false,"title":"games-strategy/ufo-ai: Version bump to 2.5","user":{"login":"quazgar","id":302587,"avatar_url":"https://avatars.githubusercontent.com/u/302587?v=3","gravatar_id":"","url":"https://api.github.com/users/quazgar","html_url":"https://github.com/quazgar","followers_url":"https://api.github.com/users/quazgar/followers","following_url":"https://api.github.com/users/quazgar/following{/other_user}","gists_url":"https://api.github.com/users/quazgar/gists{/gist_id}","starred_url":"https://api.github.com/users/quazgar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quazgar/subscriptions","organizations_url":"https://api.github.com/users/quazgar/orgs","repos_url":"https://api.github.com/users/quazgar/repos","events_url":"https://api.github.com/users/quazgar/events{/privacy}","received_events_url":"https://api.github.com/users/quazgar/received_events","type":"User","site_admin":false},"body":"Ebuild taken from bug #515660 and upgraded to EAPI 5.\r\n\r\nPull request as per https://bugs.gentoo.org/show_bug.cgi?id=515660\r\n\r\nBuilds and runs for me (amd64, proprietary nvidia drivers).","created_at":"2015-10-18T18:36:00Z","updated_at":"2015-10-18T18:41:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"db6c414797847eadfa622c02abfbd5bf6cb813a6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gentoo/gentoo/pulls/256/commits","review_comments_url":"https://api.github.com/repos/gentoo/gentoo/pulls/256/comments","review_comment_url":"https://api.github.com/repos/gentoo/gentoo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gentoo/gentoo/issues/256/comments","statuses_url":"https://api.github.com/repos/gentoo/gentoo/statuses/30f57a648cc53cdada6092e6c5b47a3aeaedf1ec","head":{"label":"quazgar:master","ref":"master","sha":"30f57a648cc53cdada6092e6c5b47a3aeaedf1ec","user":{"login":"quazgar","id":302587,"avatar_url":"https://avatars.githubusercontent.com/u/302587?v=3","gravatar_id":"","url":"https://api.github.com/users/quazgar","html_url":"https://github.com/quazgar","followers_url":"https://api.github.com/users/quazgar/followers","following_url":"https://api.github.com/users/quazgar/following{/other_user}","gists_url":"https://api.github.com/users/quazgar/gists{/gist_id}","starred_url":"https://api.github.com/users/quazgar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quazgar/subscriptions","organizations_url":"https://api.github.com/users/quazgar/orgs","repos_url":"https://api.github.com/users/quazgar/repos","events_url":"https://api.github.com/users/quazgar/events{/privacy}","received_events_url":"https://api.github.com/users/quazgar/received_events","type":"User","site_admin":false},"repo":{"id":44411759,"name":"gentoo","full_name":"quazgar/gentoo","owner":{"login":"quazgar","id":302587,"avatar_url":"https://avatars.githubusercontent.com/u/302587?v=3","gravatar_id":"","url":"https://api.github.com/users/quazgar","html_url":"https://github.com/quazgar","followers_url":"https://api.github.com/users/quazgar/followers","following_url":"https://api.github.com/users/quazgar/following{/other_user}","gists_url":"https://api.github.com/users/quazgar/gists{/gist_id}","starred_url":"https://api.github.com/users/quazgar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quazgar/subscriptions","organizations_url":"https://api.github.com/users/quazgar/orgs","repos_url":"https://api.github.com/users/quazgar/repos","events_url":"https://api.github.com/users/quazgar/events{/privacy}","received_events_url":"https://api.github.com/users/quazgar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/quazgar/gentoo","description":"The official mirror the Gentoo ebuild repository (now in true git!)","fork":true,"url":"https://api.github.com/repos/quazgar/gentoo","forks_url":"https://api.github.com/repos/quazgar/gentoo/forks","keys_url":"https://api.github.com/repos/quazgar/gentoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quazgar/gentoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quazgar/gentoo/teams","hooks_url":"https://api.github.com/repos/quazgar/gentoo/hooks","issue_events_url":"https://api.github.com/repos/quazgar/gentoo/issues/events{/number}","events_url":"https://api.github.com/repos/quazgar/gentoo/events","assignees_url":"https://api.github.com/repos/quazgar/gentoo/assignees{/user}","branches_url":"https://api.github.com/repos/quazgar/gentoo/branches{/branch}","tags_url":"https://api.github.com/repos/quazgar/gentoo/tags","blobs_url":"https://api.github.com/repos/quazgar/gentoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quazgar/gentoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quazgar/gentoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/quazgar/gentoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quazgar/gentoo/statuses/{sha}","languages_url":"https://api.github.com/repos/quazgar/gentoo/languages","stargazers_url":"https://api.github.com/repos/quazgar/gentoo/stargazers","contributors_url":"https://api.github.com/repos/quazgar/gentoo/contributors","subscribers_url":"https://api.github.com/repos/quazgar/gentoo/subscribers","subscription_url":"https://api.github.com/repos/quazgar/gentoo/subscription","commits_url":"https://api.github.com/repos/quazgar/gentoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/quazgar/gentoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/quazgar/gentoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/quazgar/gentoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/quazgar/gentoo/contents/{+path}","compare_url":"https://api.github.com/repos/quazgar/gentoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quazgar/gentoo/merges","archive_url":"https://api.github.com/repos/quazgar/gentoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quazgar/gentoo/downloads","issues_url":"https://api.github.com/repos/quazgar/gentoo/issues{/number}","pulls_url":"https://api.github.com/repos/quazgar/gentoo/pulls{/number}","milestones_url":"https://api.github.com/repos/quazgar/gentoo/milestones{/number}","notifications_url":"https://api.github.com/repos/quazgar/gentoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quazgar/gentoo/labels{/name}","releases_url":"https://api.github.com/repos/quazgar/gentoo/releases{/id}","created_at":"2015-10-16T21:35:13Z","updated_at":"2015-10-16T11:06:29Z","pushed_at":"2015-10-18T18:32:33Z","git_url":"git://github.com/quazgar/gentoo.git","ssh_url":"git@github.com:quazgar/gentoo.git","clone_url":"https://github.com/quazgar/gentoo.git","svn_url":"https://github.com/quazgar/gentoo","homepage":null,"size":86125,"stargazers_count":0,"watchers_count":0,"language":null,"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":"gentoo:master","ref":"master","sha":"cbd304ef964f8b0a1610ff21068ab3274c8388d3","user":{"login":"gentoo","id":52242,"avatar_url":"https://avatars.githubusercontent.com/u/52242?v=3","gravatar_id":"","url":"https://api.github.com/users/gentoo","html_url":"https://github.com/gentoo","followers_url":"https://api.github.com/users/gentoo/followers","following_url":"https://api.github.com/users/gentoo/following{/other_user}","gists_url":"https://api.github.com/users/gentoo/gists{/gist_id}","starred_url":"https://api.github.com/users/gentoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gentoo/subscriptions","organizations_url":"https://api.github.com/users/gentoo/orgs","repos_url":"https://api.github.com/users/gentoo/repos","events_url":"https://api.github.com/users/gentoo/events{/privacy}","received_events_url":"https://api.github.com/users/gentoo/received_events","type":"Organization","site_admin":false},"repo":{"id":40499714,"name":"gentoo","full_name":"gentoo/gentoo","owner":{"login":"gentoo","id":52242,"avatar_url":"https://avatars.githubusercontent.com/u/52242?v=3","gravatar_id":"","url":"https://api.github.com/users/gentoo","html_url":"https://github.com/gentoo","followers_url":"https://api.github.com/users/gentoo/followers","following_url":"https://api.github.com/users/gentoo/following{/other_user}","gists_url":"https://api.github.com/users/gentoo/gists{/gist_id}","starred_url":"https://api.github.com/users/gentoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gentoo/subscriptions","organizations_url":"https://api.github.com/users/gentoo/orgs","repos_url":"https://api.github.com/users/gentoo/repos","events_url":"https://api.github.com/users/gentoo/events{/privacy}","received_events_url":"https://api.github.com/users/gentoo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gentoo/gentoo","description":"The official mirror the Gentoo ebuild repository (now in true git!)","fork":false,"url":"https://api.github.com/repos/gentoo/gentoo","forks_url":"https://api.github.com/repos/gentoo/gentoo/forks","keys_url":"https://api.github.com/repos/gentoo/gentoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gentoo/gentoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gentoo/gentoo/teams","hooks_url":"https://api.github.com/repos/gentoo/gentoo/hooks","issue_events_url":"https://api.github.com/repos/gentoo/gentoo/issues/events{/number}","events_url":"https://api.github.com/repos/gentoo/gentoo/events","assignees_url":"https://api.github.com/repos/gentoo/gentoo/assignees{/user}","branches_url":"https://api.github.com/repos/gentoo/gentoo/branches{/branch}","tags_url":"https://api.github.com/repos/gentoo/gentoo/tags","blobs_url":"https://api.github.com/repos/gentoo/gentoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gentoo/gentoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gentoo/gentoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/gentoo/gentoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gentoo/gentoo/statuses/{sha}","languages_url":"https://api.github.com/repos/gentoo/gentoo/languages","stargazers_url":"https://api.github.com/repos/gentoo/gentoo/stargazers","contributors_url":"https://api.github.com/repos/gentoo/gentoo/contributors","subscribers_url":"https://api.github.com/repos/gentoo/gentoo/subscribers","subscription_url":"https://api.github.com/repos/gentoo/gentoo/subscription","commits_url":"https://api.github.com/repos/gentoo/gentoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/gentoo/gentoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/gentoo/gentoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/gentoo/gentoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/gentoo/gentoo/contents/{+path}","compare_url":"https://api.github.com/repos/gentoo/gentoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gentoo/gentoo/merges","archive_url":"https://api.github.com/repos/gentoo/gentoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gentoo/gentoo/downloads","issues_url":"https://api.github.com/repos/gentoo/gentoo/issues{/number}","pulls_url":"https://api.github.com/repos/gentoo/gentoo/pulls{/number}","milestones_url":"https://api.github.com/repos/gentoo/gentoo/milestones{/number}","notifications_url":"https://api.github.com/repos/gentoo/gentoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gentoo/gentoo/labels{/name}","releases_url":"https://api.github.com/repos/gentoo/gentoo/releases{/id}","created_at":"2015-08-10T18:47:32Z","updated_at":"2015-10-18T09:27:54Z","pushed_at":"2015-10-18T18:36:00Z","git_url":"git://github.com/gentoo/gentoo.git","ssh_url":"git@github.com:gentoo/gentoo.git","clone_url":"https://github.com/gentoo/gentoo.git","svn_url":"https://github.com/gentoo/gentoo","homepage":null,"size":108115,"stargazers_count":149,"watchers_count":149,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":89,"mirror_url":null,"open_issues_count":25,"forks":89,"open_issues":25,"watchers":149,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/256"},"html":{"href":"https://github.com/gentoo/gentoo/pull/256"},"issue":{"href":"https://api.github.com/repos/gentoo/gentoo/issues/256"},"comments":{"href":"https://api.github.com/repos/gentoo/gentoo/issues/256/comments"},"review_comments":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/256/comments"},"review_comment":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/256/commits"},"statuses":{"href":"https://api.github.com/repos/gentoo/gentoo/statuses/30f57a648cc53cdada6092e6c5b47a3aeaedf1ec"}}}}