you can simplify the handle submodules with:
git submodule init
git config 'submodule.ffmpeg.url' $srcdir/ppsspp-ffmpeg
git config 'submodule.lang.url' $srcdir/ppsspp-lang
git config 'submodule.native.url' $srcdir/native
git config 'submodule.ext/armips.url' $srcdir/armips
git submodule update
greetings
Search Criteria
Package Base Details: ppsspp-git
Package Actions
Git Clone URL: | https://aur.archlinux.org/ppsspp-git.git (read-only, click to copy) |
---|---|
Submitter: | libcg |
Maintainer: | loathingkernel |
Last Packager: | loathingkernel |
Votes: | 42 |
Popularity: | 0.015102 |
First Submitted: | 2012-11-05 20:36 (UTC) |
Last Updated: | 2024-04-07 18:23 (UTC) |
Packages (2)
Latest Comments
« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 Next › Last »
sl1pkn07 commented on 2015-01-25 17:07 (UTC)
maz-1 commented on 2015-01-18 03:44 (UTC)
#I don't know how to work with git submodules,so I fixed the PKGBUILD to link armips to ppsspp/ext/armips. Anyway,it works as a temporary solution.
pkgname=ppsspp-qt-git
pkgver=v0.9.9.1.r1505.gcf577e9
pkgrel=1
# You can change this variable to any valid git object (e.g. stable versions)
_git_branch=master
pkgdesc="A PSP emulator for Android, Windows, Mac, and Linux, written in C++ \
with Qt UI."
arch=('i686' 'x86_64')
url="http://www.ppsspp.org/"
license=('GPL')
#SDL is not a hard dependency if you don't need joystick support
depends=('qt5-base' 'qt5-multimedia' 'sdl')
makedepends=('qt5-tools' 'git' 'gcc')
optdepends=()
provides=('ppsspp-qt')
install='ppsspp.install'
#We only clone what we need to build instead of everything
source=("ppsspp::git://github.com/hrydgard/ppsspp.git#branch=$_git_branch"
"ppsspp-lang::git://github.com/hrydgard/ppsspp-lang"
"ppsspp-ffmpeg::git://github.com/hrydgard/ppsspp-ffmpeg.git"
"native::git://github.com/hrydgard/native"
"armips::git://github.com/Kingcom/armips.git")
md5sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP')
pkgver() {
cd "$srcdir/ppsspp"
git describe --always | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
}
prepare() {
cd $srcdir/ppsspp
#Since PPSSPP use submodules, clone each submodule and change it's url
#to our internal copy so we don't need to clone submodules on each build
#WARNING: this method generates 3 copies of submodules instead of 1
git config submodule.ffmpeg.url $srcdir/ppsspp-ffmpeg
git submodule update ffmpeg
git config submodule.lang.url $srcdir/ppsspp-lang
git submodule update lang
git config submodule.native.url $srcdir/native
git submodule update native
#git config submodule.armips.url $srcdir/armips
#git submodule update armips
rm -rf armips
ln -s $srcdir/armips $srcdir/ppsspp/ext/armips
}
build() {
cd $srcdir/ppsspp
mkdir build-qt
cd build-qt
qmake ../Qt/PPSSPPQt.pro
make
}
package() {
install -Dm755 $srcdir/ppsspp/build-qt/ppsspp \
$pkgdir/usr/bin/ppsspp
install -Dm644 $srcdir/ppsspp/debian/ppsspp.desktop \
$pkgdir/usr/share/applications/ppsspp.desktop
install -Dm644 $srcdir/ppsspp/debian/ppsspp.1 \
$pkgdir/usr/share/man/man1/ppsspp.1
#install -Dm644 icon.svg "$pkgdir/usr/share/icons/ppsspp.svg"
cd $srcdir/ppsspp/assets
find . -type f -not -path './unix-icons/*' -exec \
install -Dm644 {} "$pkgdir/usr/share/ppsspp/assets/"{} \;
cd unix-icons
find . -type f -name "*.png" -exec \
install -Dm644 {} "$pkgdir/usr/share/icons/"{} \;
}
dermyce commented on 2015-01-04 19:32 (UTC)
Latest versions requires sdl2.
maz-1 commented on 2014-12-18 11:05 (UTC)
A new submodule /ext/armips is added,please update PKGBUILD
m45t3r commented on 2014-08-06 12:41 (UTC)
New version v0.9.9.r68.g404766c-1:
-Fix new path thanks to the change of PPSSPP executable name from this commit: https://github.com/hrydgard/ppsspp/commit/404766ce335e6ccd7441d8451b2a1beef91a54a4
-Add manpage.
-Add icons for various resolutions based on new PPSSPP assets/unix-icons folder.
-Remove custom .desktop file, using upstream one (used on Debian package).
carstene1ns commented on 2014-08-05 19:39 (UTC)
As of today, this PKGBUILD needs to adapt the new executable name: https://github.com/hrydgard/ppsspp/commit/404766ce335e6ccd7441d8451b2a1beef91a54a4
jkcdarunday commented on 2014-05-14 12:20 (UTC)
-> Cloning ppsspp-ffmpeg git repo...
Cloning into bare repository '/tmp/yaourt-tmp-skeith/aur-ppsspp-qt-git/ppsspp-ffmpeg'...
remote: Counting objects: 8920, done.
remote: Compressing objects: 100% (5441/5441), done.
Receiving objects: 71% (6363/8920), 276.82 MiB | 84.00 KiB/s
That's rather big for just FFMPEG
Pinned Comments
xdavidwu commented on 2021-02-09 03:30 (UTC)
Please don't flag this package out-of-date when you see the version string is. This is a VCS package. It always grabs the latest source from upstream repo and version string is generated at build time. As long as it builds fine, it is up-to-date. It is your responsibility to decide when to rebuild (update). I won't bump the version for you.
Also, I am running a daily build service, and by that, I can check that it builds fine daily. Ancient version string does not mean that I have loose track of the latest source.