1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-02-02 06:15:46 +01:00

new ebuilds: screenkey, ppsspp, azpainterb, primus, apktool

This commit is contained in:
root
2016-08-08 16:35:52 +02:00
parent 1f1ccf379d
commit 6847cc1089
14 changed files with 374 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
DIST screenkey-0.2.tar.gz 8182 SHA256 22660b500dbc8854b8e4b0eb3da552cfb3f70026377efcbe49a82c6beb27e227 SHA512 6701e7a485346426e6c840ceb08953527acccfb7706ea41f77063cb209cf68adbe4a98a592444c60073d6ba80edb74b90f7bd223d8b30d3a8300e84e005a764a WHIRLPOOL f1f69e92d921107d7aa28859c1274feee1de7e2a2d78d0da289e6f72ad9e80bfdc3bd7cc108561d702765bc149d236f593c9e28c2fab3ed93efbf30e7baded6e
DIST screenkey-0.9.tar.gz 58220 SHA256 f1727a039a9e198c5b94fcc2adb9bb9c1eae9bf1951b94b147785c1fb622368c SHA512 99f069f6f64d0812b526b7550b713bcd99e39756b07591d4e546273efcd085790e44f1586b6562f71f5a8dd22e755f17076f3e6c44bf0ed9b43b05c10d7fcbfa WHIRLPOOL 768dc052e106400dae1fce881ad735a8fb0c9ea63860ca76779398a24e10e71383a9340bb177cef2cb95bae193ad628022cfe974ded5c1212ef465492700b559
EBUILD screenkey-0.2.ebuild 434 SHA256 d5135d642ab3abfc0ae768fc9988a9cab4a2eddef0d32025970e5c7aa6527171 SHA512 ac87121135228b0b5918b9e671643cac71797e6573a90b795244de6d227f59e0ea444dfc00b4a826147cad6e2ed42ffd7c3cec8e2a5112c4a6384b584b7d9481 WHIRLPOOL 3527337d8f7eb92cd778297d9c124cb0984b678c65ec8b5b21b41d43f92f2ed9dd1e07bd9dd01abc970bc8d93bc079b5079746b2e55dc145ed554ca8482104a1
EBUILD screenkey-0.9.ebuild 504 SHA256 2175877494e9b44f9553031b97911be73f2dffc90548143ab6b0b581c05f5c3a SHA512 fc1c2b9740db787b4ea2a3ad305bdccda84666ba95575ccaf64d0dd1f08a8cd1264719b4c182202ec847584e8b0506f2b814bb9fc6b55ac87fb7475aa9fdd143 WHIRLPOOL e4b256a3a099378dccfbbe7df34ec08d5537971146c68763e0d3ad4992326ea338f747fc261bc16f26d85ed3ad2dbbe2344c8d9ae46d2496179184df7c7fcb83

View File

@@ -0,0 +1,20 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=3
inherit distutils
DESCRIPTION="A screencast tool to display keys"
HOMEPAGE="http://launchpad.net/screenkey"
SRC_URI="http://launchpad.net/screenkey/0.2/0.2.0/+download/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND="dev-python/pygtk:2
dev-python/python-xlib"
RDEPEND="${DEPEND}"

View File

@@ -0,0 +1,21 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=3
inherit distutils
DESCRIPTION="A screencast tool to display keys"
HOMEPAGE="https://www.thregr.org/~wavexx/software/screenkey/"
SRC_URI="https://www.thregr.org/~wavexx/software/screenkey/releases/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND="dev-python/pygtk:2
dev-python/python-xlib
dev-python/python-distutils-extra"
RDEPEND="${DEPEND}"

View File

@@ -0,0 +1,31 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
DESCRIPTION="A tool for reengineering 3rd party, closed, binary Android apps"
HOMEPAGE="http://code.google.com/p/android-apktool/"
SRC_URI="http://connortumbleson.com/apktool/test_versions/apktool_2.0.0b9.jar"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=""
RDEPEND="|| ( virtual/jre:1.7 virtual/jdk:1.7 )
dev-util/android-sdk-update-manager"
S="${WORKDIR}"
src_unpack() {
cp "${DISTDIR}/${A}" "${WORKDIR}/${PN}.jar"
}
src_install() {
exeinto /usr/bin
doexe ${FILESDIR}/apktool
insinto /opt/${PN}/
doins apktool.jar
}

View File

@@ -0,0 +1,80 @@
#!/bin/bash
#
# Copyright (C) 2007 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This script is a wrapper for smali.jar, so you can simply call "smali",
# instead of java -jar smali.jar. It is heavily based on the "dx" script
# from the Android SDK
# Set up prog to be the path of this script, including following symlinks,
# and set up progdir to be the fully-qualified pathname of its directory.
prog="$0"
while [ -h "${prog}" ]; do
newProg=`/bin/ls -ld "${prog}"`
echo ${newProg}
newProg=`expr "${newProg}" : ".* -> \(.*\)$"`
if expr "x${newProg}" : 'x/' >/dev/null; then
prog="${newProg}"
else
progdir=`dirname "${prog}"`
prog="${progdir}/${newProg}"
fi
done
oldwd=`pwd`
progdir=`dirname "${prog}"`
cd "${progdir}"
progdir=`pwd`
prog="${progdir}"/`basename "${prog}"`
cd "${oldwd}"
jarfile=apktool.jar
libdir=/opt/apktool
if [ ! -r "$libdir/$jarfile" ]
then
echo `basename "$prog"`": can't find $jarfile"
exit 1
fi
javaOpts=""
# If you want DX to have more memory when executing, uncomment the following
# line and adjust the value accordingly. Use "java -X" for a list of options
# you can pass here.
#
javaOpts="-Xmx256M"
# Alternatively, this will extract any parameter "-Jxxx" from the command line
# and pass them to Java (instead of to dx). This makes it possible for you to
# add a command-line parameter such as "-JXmx256M" in your ant scripts, for
# example.
while expr "x$1" : 'x-J' >/dev/null; do
opt=`expr "$1" : '-J\(.*\)'`
javaOpts="${javaOpts} -${opt}"
shift
done
if [ "$OSTYPE" = "cygwin" ] ; then
jarpath=`cygpath -w "$libdir/$jarfile"`
else
jarpath="$libdir/$jarfile"
fi
# add current location to path for aapt
PATH=$PATH:`pwd`;
export PATH;
exec java $javaOpts -jar "$jarpath" "$@"

View File

@@ -0,0 +1,11 @@
--- apktool 2010-04-02 20:27:46.000000000 +0200
+++ apktool.new 2012-03-16 00:54:09.000000000 +0100
@@ -43,7 +43,7 @@
jarfile=apktool.jar
-libdir="$progdir"
+libdir=/opt/apktool
if [ ! -r "$libdir/$jarfile" ]
then
echo `basename "$prog"`": can't find $jarfile"

View File

@@ -0,0 +1,3 @@
AUX ppsspp 51 SHA256 398ffa79d2a6da38717efbbc0d1ff5e5edde2ddcd09367291f6c6f1ebc2820e9 SHA512 65b02e0a66dd18c28df0f040dea71072d7c75e68306941bdf2afbaaf8ec306950b5b98b7b3577003a344b6361901ee162003c77cb3561383680fa2e08a3cc130 WHIRLPOOL a0ef5a2b68b66202dd0c1029bddd228367d4d729292f596355c93278c57daed82ae3cdefca0afb4fd45761019408afeeedfd5b874c9fc57de268af056101cf81
AUX ppsspp.desktop 129 SHA256 518f8590f76f2b0019cc6424ac0c4b7cce03599ce89b7afd65a96b9e6b1f8aff SHA512 00e44bfd3e74a87ab01590392e66b1b1a43d202f30454700331c4da05fd708c481883d8b8c558e4b2cdd8df6bf17c0d26b434a24e128c6851cc54aa3741e4883 WHIRLPOOL 2cd1311249f621c0bbaa00c9cb642078699bd887d93afdf214769d25e1a85a4bde56dbdb929a2776b1715de306727b6abb883f04f43b17994d59cdc66d8072d3
EBUILD ppsspp-9999.ebuild 2683 SHA256 a502deb6d3e09347c36ca6b5e483a756c34aa5d7c4e3bad830ba3bb879395c0d SHA512 d37a2e2848f739c9927a6a4d3347e1c0f16f25c20a7c260aaadf3ab394fc2ca3f08dc370e5cb7799bde9294aee1ea3438ea501bf1455d88910504dbd5fc1ec56 WHIRLPOOL ce71940fc27e7e347f4784155168a78a0c39470064392807ecfd6c51ce3ca7223d9bd3bd424143872902f03f183937eb0d802d523a11f654b2c3d9b19ba4d10d

View File

@@ -0,0 +1,3 @@
#!/bin/bash
cd /usr/share/games/ppsspp
./PPSSPPSDL

View File

@@ -0,0 +1,7 @@
[Desktop Entry]
Type=Application
Name=PPSSPP
Comment=A PSP emulator
Exec=/usr/games/bin/ppsspp
Icon=ppsspp-icon
Categories=Game;

View File

@@ -0,0 +1,128 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils cmake-utils qt4-r2 git-r3
DESCRIPTION="A PSP emulator written in C++."
HOMEPAGE="http://www.ppsspp.org/"
EGIT_REPO_URI="git://github.com/hrydgard/${PN}.git"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64"
IUSE="qt4 qt5 +sdl"
REQUIRED_USE="
?? ( qt4 qt5 sdl )
"
RDEPEND=""
DEPEND="
sys-libs/zlib
sdl? (
dev-util/cmake
media-libs/libsdl
media-libs/libsdl2
)
qt4? (
dev-qt/qtsvg:4
dev-qt/qtgui:4
dev-qt/qtcore:4
dev-qt/qtopengl:4
dev-qt/qtmultimedia:4
dev-qt/qt-mobility[multimedia]
)
qt5? (
dev-qt/qtsvg:5
dev-qt/qtgui:5
dev-qt/qtcore:5
dev-qt/qtopengl:5
dev-qt/qtmultimedia:5
dev-qt/qtwidgets:5
dev-qt/qt-mobility[multimedia]
)
"
src_unpack() {
git-r3_fetch
git-r3_checkout
if use qt4 ; then
cd "${WORKDIR}"/"${P}"/Qt || die
qt4-r2_src_unpack
elif use qt5 ; then
cd "${WORKDIR}"/"${P}"/Qt || die
qt4-r2_src_unpack
fi
}
src_prepare() {
sed -i -e "s#-O3#-O2#g;" "${S}"/CMakeLists.txt || die
sed -i -e "s#-O3#-O2#g;" "${S}"/Qt/Settings.pri || die
sed -i -e "s#-O3#-O2#g;" "${S}"/ffmpeg/linux_*.sh || die
if use qt4 ; then
cd "${WORKDIR}"/"${P}"/Qt || die
qt4-r2_src_prepare
elif use qt5 ; then
cd "${WORKDIR}"/"${P}"/Qt || die
qt4-r2_src_prepare
else
cmake-utils_src_prepare
fi
}
src_configure() {
if use qt4 ; then
cd "${WORKDIR}"/"${P}"/Qt || die
qt4-r2_src_configure
eqmake4 "${WORKDIR}"/"${P}"/Qt/PPSSPPQt.pro
elif use qt5 ; then
cd "${WORKDIR}"/"${P}"/Qt || die
qt4-r2_src_configure
eqmake5 "${WORKDIR}"/"${P}"/Qt/PPSSPPQt.pro
else
cmake-utils_src_configure
fi
}
src_compile() {
if use qt4 ; then
cd "${WORKDIR}"/"${P}"/Qt || die
qt4-r2_src_compile
elif use qt5 ; then
cd "${WORKDIR}"/"${P}"/Qt || die
qt4-r2_src_compile
else
cmake-utils_src_compile
fi
}
src_install() {
if use qt4 ; then
exeinto /usr/games/bin
newexe "${WORKDIR}"/"${P}"/Qt/ppsspp ppsspp
elif use qt5 ; then
exeinto /usr/games/bin
newexe "${WORKDIR}"/"${P}"/Qt/ppsspp ppsspp
else
exeinto /usr/games
dobin "${FILESDIR}"/ppsspp
exeinto /usr/share/games/"${PN}"
doexe "${WORKDIR}"/"${P}"_build/PPSSPPSDL
insinto /usr/share/games/"${PN}"
doins -r "${WORKDIR}"/"${P}"_build/assets
doins -r "${WORKDIR}"/"${P}"/lang
fi
insinto /usr/share/icons/
newins "${WORKDIR}"/"${P}"/source_assets/image/icon_regular_72.png ppsspp-icon.png
domenu "${FILESDIR}"/ppsspp.desktop
}
pkg_postinst() {
elog "Remember, in order to play games, you have to "
elog "be in the 'games' group. "
elog "Just run 'gpasswd -a <USER> games', then have <USER> re-login. "
}

View File

@@ -0,0 +1,2 @@
DIST redir.php?m=cznic&f=%2Fazpainterb%2F66065%2Fazpainterb-1.0.2.tar.bz2 645971 SHA256 abf45a555f03b3e655f817ab73b6ff4d0918e545e87ce14979b85cb9069cf820 SHA512 c549cf13617d46f734c9ba2254d7ece23e66ca1ab058909ed63a6eaf8fef621a9ad3eb2696a5ff5589f50137ad4143bb94c16f75db643d3d9efc51aff9eda494 WHIRLPOOL d5ed27df30bc8ba73a48cde78f9172457d555065031e7cf11b87f39af13d29452e8138eb96edb9f7ea372169b6526b54b94001d9cba8e25716b8abcd00eaba49
EBUILD azpainterb-1.0.2.ebuild 537 SHA256 6a9186b07305ead86edd23b5129408cf016c9b3807e41e3180da4532e971ef81 SHA512 496ec2264636f59d5231a2ec14057611cdae6fedff7d689591f67372baa939623b0f642fc7efa80e2162c5ed71f51654bf92672166befbdc879a3886e77ccf6e WHIRLPOOL 7f88382759d665a71caf1169fbbf985e26a9d736cb714cb90cbd49a8897e707283b4e1663c82309ecee2177a28e7046e9dc1dcc4cf16f1a28c25c13242cf1dbe

View File

@@ -0,0 +1,22 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
DESCRIPTION="Full Color Paint tool"
HOMEPAGE="http://azsky2.html.xdomain.jp/linux/azpainterb/index.html"
SRC_URI="https://osdn.jp/frs/redir.php?m=cznic&f=%2Fazpainterb%2F66065%2Fazpainterb-1.0.2.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="x11-libs/libX11
x11-libs/libXext
x11-libs/libXft
media-libs/fontconfig
media-libs/freetype
x11-libs/libXi
virtual/jpeg"
RDEPEND="${DEPEND}"

1
x11-misc/primus/Manifest Normal file
View File

@@ -0,0 +1 @@
EBUILD primus-20150328.ebuild 943 SHA256 bbe30e80f7bfd86cacfed97e6647d7144ce900d75ab2388bf73b57412decd114 SHA512 832cd17ec000727634185363d5259bd91d931539fbf4e9ea7b783ee757523dfb3309edeb2a8a99633661e503b714a6177077d8650937d3e37bc20edffc5ef41f WHIRLPOOL 436c036a059c3f67f89e452980b3064c2eedfc092a40ff6952209f41766ade3e1dc1ecf3fa669a644e24e4500a51495af5172896dd8418c6e8e53c97b3f313cb

View File

@@ -0,0 +1,41 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit multilib-build git-r3
DESCRIPTION="Faster OpenGL offloading for Bumblebee"
HOMEPAGE="https://github.com/amonakov/primus"
SRC_URI=""
EGIT_REPO_URI="git://github.com/amonakov/primus.git https://github.com/amonakov/primus.git"
EGIT_COMMIT="d1afbf6fce2778c0751eddf19db9882e04f18bfd"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
RDEPEND="x11-misc/bumblebee[video_cards_nvidia]
"
DEPEND="virtual/opengl"
src_compile() {
export PRIMUS_libGLa='/usr/$$LIB/opengl/nvidia/lib/libGL.so.1'
mymake() {
emake LIBDIR=$(get_libdir)
}
multilib_parallel_foreach_abi mymake
}
src_install() {
sed -i -e "s#^PRIMUS_libGL=.*#PRIMUS_libGL='/usr/\$LIB/primus'#" primusrun
dobin primusrun
myinst() {
insinto /usr/$(get_libdir)/primus
doins ${S}/$(get_libdir)/libGL.so.1
}
multilib_foreach_abi myinst
}