updates coming
This commit is contained in:
parent
ec453cc452
commit
520ff477a9
7 changed files with 203 additions and 0 deletions
3
dev-util/idea-community/Manifest
Normal file
3
dev-util/idea-community/Manifest
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
DIST ideaIC-.tar.gz 429089906 SHA256 830c662c517e8d0131dc2df150d6f75adb3d8becaf9de96393730b0f4ae6ccf0 SHA512 dd3835880bb06f94a83e6f7758b9b4e6dca70d4a66678afc67bf9dcdeef626986e4daac64e5281590ef607135edcc8706cd426e257cfac96ce8ab114f40a065e WHIRLPOOL 01d53d260da2a7be9892fe8178abc0a58b28f250b3d926023a3d5d7279685cda4702ca11fa85d638d8fad9b06968442f7071d0bbca28dca6339df1f35202063c
|
||||||
|
EBUILD idea-community-2017.1.5.ebuild 1918 SHA256 fced14837bf315bdbd8aa3b56fa8e4a9309b46f9b39acb07c2a076318cc32dfa SHA512 53ff12fab08f75925e1627e8400c27a7868e0dfb2a157b0f10b0feea34222f3e71e0eb3af274db1e3aa4a24ee96e15a8e11adc4bf083ac8fe4cf1673a8272dca WHIRLPOOL 21982b6aa44f1b1ffedf658fe9fa6bd4fc75b5cbe781c50345bdb81d43865255f9a82ca6aaf124222c349009a1e0d806e5f8c78fbc2a6e6f73898e764af00c7c
|
||||||
|
MISC metadata.xml 533 SHA256 79861c835b64b6f20e6b0129b07305f822875674c58bbabc08c25ea987cf8af6 SHA512 b14bce0b72eb777929138e64a53b0069faf51ec4f1d8b3dbb24a9f2d7f9baf68d5e495e784c83c34c1190d52aea16de52485a815786de235091b75f2778d5e23 WHIRLPOOL f5a9c28181e8ce30adc5cb4aed2b691ef5c5ae9a8cf75fd49e6e1d699d7dda3761ada993720e9f7878892be5a3b4f878b9da8e2b7dc3313ef0238c8ff6da0a12
|
70
dev-util/idea-community/idea-community-2017.1.5.ebuild
Normal file
70
dev-util/idea-community/idea-community-2017.1.5.ebuild
Normal file
|
@ -0,0 +1,70 @@
|
||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
inherit eutils versionator
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
PV_STRING="$(get_version_component_range 4-6)"
|
||||||
|
MY_PV="$(get_version_component_range 1-3)"
|
||||||
|
MY_PN="idea"
|
||||||
|
|
||||||
|
# distinguish settings for official stable releases and EAP-version releases
|
||||||
|
if [[ "$(get_version_component_range 7)x" = "prex" ]]
|
||||||
|
then
|
||||||
|
# upstream EAP
|
||||||
|
KEYWORDS=""
|
||||||
|
SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IC-${PV_STRING}.tar.gz"
|
||||||
|
else
|
||||||
|
# upstream stable
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IC-${MY_PV}.tar.gz -> ${MY_PN}IC-${PV_STRING}.tar.gz"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="A complete toolset for web, mobile and enterprise development"
|
||||||
|
HOMEPAGE="https://www.jetbrains.com/idea"
|
||||||
|
|
||||||
|
LICENSE="IDEA
|
||||||
|
|| ( IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal )"
|
||||||
|
IUSE="-custom-jdk"
|
||||||
|
|
||||||
|
DEPEND="!dev-util/${PN}:14
|
||||||
|
!dev-util/${PN}:15"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
>=virtual/jdk-1.7:*"
|
||||||
|
S="${WORKDIR}/${MY_PN}-IC-${PV_STRING}"
|
||||||
|
|
||||||
|
QA_PREBUILT="opt/${PN}-${MY_PV}/*"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if ! use arm; then
|
||||||
|
rm bin/fsnotifier-arm || die
|
||||||
|
fi
|
||||||
|
if ! use custom-jdk; then
|
||||||
|
if [[ -d jre ]]; then
|
||||||
|
rm -r jre || die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local dir="/opt/${PN}-${MY_PV}"
|
||||||
|
|
||||||
|
insinto "${dir}"
|
||||||
|
doins -r *
|
||||||
|
fperms 755 "${dir}"/bin/{idea.sh,fsnotifier{,64}}
|
||||||
|
|
||||||
|
if use custom-jdk; then
|
||||||
|
if [[ -d jre ]]; then
|
||||||
|
fperms 755 "${dir}"/jre/jre/bin/{java,jjs,keytool,orbd,pack200,policytool,rmid,rmiregistry,servertool,tnameserv,unpack200}
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
make_wrapper "${PN}" "${dir}/bin/${MY_PN}.sh"
|
||||||
|
newicon "bin/${MY_PN}.png" "${PN}.png"
|
||||||
|
make_desktop_entry "${PN}" "IntelliJ Idea Community" "${PN}" "Development;IDE;"
|
||||||
|
|
||||||
|
# recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
|
||||||
|
mkdir -p "${D}/etc/sysctl.d/" || die
|
||||||
|
echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die
|
||||||
|
}
|
14
dev-util/idea-community/metadata.xml
Normal file
14
dev-util/idea-community/metadata.xml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>alicef@gentoo.org</email>
|
||||||
|
<name>Ferrazzi Alice</name>
|
||||||
|
</maintainer>
|
||||||
|
<longdescription lang="en">
|
||||||
|
Excel at enterprise, mobile and web development with Java, Scala and Groovy, with all the latest modern technologies and frameworks available out of the box.
|
||||||
|
</longdescription>
|
||||||
|
<use>
|
||||||
|
<flag name="custom-jdk">Install and use IntelliJ's custom JRE.</flag>
|
||||||
|
</use>
|
||||||
|
</pkgmetadata>
|
3
games-emulation/citra/Manifest
Normal file
3
games-emulation/citra/Manifest
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
AUX citra-system-boost.patch 1050 SHA256 44701c8ae2976800540f606834b94bc834c6c4407d4020a1af2596a958b9ff77 SHA512 d168373efaf44fa31bcbdee92f49778248c18ad4167fe29f522eb8139531c1c72543b61e47b2cd0034b092fec6b0b7cf0f8479c851df8d3432e411c3cae39b54 WHIRLPOOL e6bfae8e95aef99ab69c8c0527acbeee5a41ae7b16dfee0d2079377ac80668c480abd96ebfb86ed2174a615d0761cbfedcefe6512ef4abaee02a579a0d3bd16a
|
||||||
|
EBUILD citra-9999.ebuild 1471 SHA256 64a55144cf88e0afd6594f0f703d8bdb575551edfb9c85c13426d5d46b97d271 SHA512 7e693cb297e88fdf0248fc843c34b5afff84de91f0b7b5ea7eb3ef64e13d1480a3dfa2deec3ff6f263fd2249aca9522cdcc6bb6bd51c38085f19289a79cc3e58 WHIRLPOOL b46e1a28025cfce0dbe5bc0291d97f1c04cabe2180ee6b22c31803b848f868b3736d3d1b328f91e0e06a16710bc31b8b8be79795538e9c650ab6342c80d9a8ae
|
||||||
|
MISC metadata.xml 351 SHA256 e483e855b38946ce105cad9cbd3e4b963b167d0687f02c88053f2dc12d2cef2a SHA512 f6e2bb4bc1adc63df9bc05f1021c1951632534c16e628d29cfa90d25fdb28b30fdbd9a76f162596cba330b039fc387c84afbdaa1abbc5d40ba9961c2cb6638d7 WHIRLPOOL 0f9bb4eb027f0110f6b403eb57b4cad2fa84efb12f8b1d3da79d89f7f397d00889f330573a5b9f172ddc6c9cb8a326833c8766ec24c030b7ca5b8e79e2f4eacc
|
72
games-emulation/citra/citra-9999.ebuild
Normal file
72
games-emulation/citra/citra-9999.ebuild
Normal file
|
@ -0,0 +1,72 @@
|
||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit cmake-utils git-r3 flag-o-matic
|
||||||
|
|
||||||
|
DESCRIPTION="Nintendo 3DS Emulator"
|
||||||
|
HOMEPAGE="https://citra-emu.org/"
|
||||||
|
EGIT_REPO_URI="https://github.com/citra-emu/citra.git"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64"
|
||||||
|
IUSE="doc sdl2 qt5 system-boost clang"
|
||||||
|
|
||||||
|
REQUIRED_USE="|| ( sdl2 qt5 )"
|
||||||
|
RDEPEND="virtual/opengl
|
||||||
|
media-libs/libpng:=
|
||||||
|
sys-libs/zlib
|
||||||
|
system-boost? ( >=dev-libs/boost-1.63.0:= )
|
||||||
|
sdl2? ( media-libs/libsdl2 )
|
||||||
|
qt5? (
|
||||||
|
dev-qt/qtcore:5
|
||||||
|
dev-qt/qtgui:5
|
||||||
|
dev-qt/qtopengl:5
|
||||||
|
dev-qt/qtwidgets:5
|
||||||
|
)"
|
||||||
|
DEPEND="${DEPEND}
|
||||||
|
>=dev-util/cmake-3.6
|
||||||
|
doc? ( >=app-doc/doxygen-1.8.8[dot] )
|
||||||
|
!clang? ( >=sys-devel/gcc-5 )
|
||||||
|
clang? (
|
||||||
|
>=sys-devel/clang-3.8
|
||||||
|
>=sys-libs/libcxx-3.8
|
||||||
|
)"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
eapply "${FILESDIR}/citra-system-boost.patch"
|
||||||
|
cmake-utils_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
if use clang; then
|
||||||
|
export CC=clang
|
||||||
|
export CXX=clang++
|
||||||
|
append-cxxflags "-stdlib=libc++" # Upstream requires libcxx when building with clang
|
||||||
|
fi
|
||||||
|
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DENABLE_QT="$(usex qt5)"
|
||||||
|
-DENABLE_SDL2="$(usex sdl2)"
|
||||||
|
-DCITRA_USE_BUNDLED_SDL2=OFF
|
||||||
|
-DCITRA_USE_BUNDLED_QT=OFF
|
||||||
|
-DUSE_SYSTEM_BOOST="$(usex system-boost)"
|
||||||
|
)
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
cmake-utils_src_compile
|
||||||
|
if use doc; then
|
||||||
|
doxygen || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cmake-utils_src_install
|
||||||
|
dodoc README.md CONTRIBUTING.md
|
||||||
|
use doc && dodoc -r doc-build/html
|
||||||
|
}
|
32
games-emulation/citra/files/citra-system-boost.patch
Normal file
32
games-emulation/citra/files/citra-system-boost.patch
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
diff -ru citra_orig/CMakeLists.txt citra/CMakeLists.txt
|
||||||
|
--- citra_orig/CMakeLists.txt 2017-06-01 00:39:32.670951477 +0200
|
||||||
|
+++ citra/CMakeLists.txt 2017-06-01 00:41:33.058545744 +0200
|
||||||
|
@@ -5,6 +5,8 @@
|
||||||
|
|
||||||
|
project(citra)
|
||||||
|
|
||||||
|
+option(USE_SYSTEM_BOOST "Use system-wide boost libraries" OFF)
|
||||||
|
+
|
||||||
|
option(ENABLE_SDL2 "Enable the SDL2 frontend" ON)
|
||||||
|
option(CITRA_USE_BUNDLED_SDL2 "Download bundled SDL2 binaries" OFF)
|
||||||
|
|
||||||
|
@@ -152,13 +154,12 @@
|
||||||
|
message(STATUS "libpng not found. Some debugging features have been disabled.")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
-find_package(Boost 1.63.0 QUIET)
|
||||||
|
-if (NOT Boost_FOUND)
|
||||||
|
- message(STATUS "Boost 1.63.0 or newer not found, falling back to externals")
|
||||||
|
-
|
||||||
|
- set(BOOST_ROOT "${CMAKE_SOURCE_DIR}/externals/boost")
|
||||||
|
- set(Boost_NO_SYSTEM_PATHS OFF)
|
||||||
|
- find_package(Boost QUIET REQUIRED)
|
||||||
|
+if (USE_SYSTEM_BOOST)
|
||||||
|
+ find_package(Boost 1.63.0 QUIET REQUIRED)
|
||||||
|
+else()
|
||||||
|
+ set(BOOST_ROOT "${CMAKE_SOURCE_DIR}/externals/boost")
|
||||||
|
+ set(Boost_NO_SYSTEM_PATHS OFF)
|
||||||
|
+ find_package(Boost QUIET REQUIRED)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# Prefer the -pthread flag on Linux.
|
9
games-emulation/citra/metadata.xml
Normal file
9
games-emulation/citra/metadata.xml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<use>
|
||||||
|
<flag name="system-boost">Use the system-wide version of dev-libs/boost</flag>
|
||||||
|
<flag name="sdl2">Enable the SDL2 based interface</flag>
|
||||||
|
<flag name="qt5">Enable the Qt5 based interface</flag>
|
||||||
|
</use>
|
||||||
|
</pkgmetadata>
|
Loading…
Reference in a new issue