Add .desktop file
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
e8a74c751b
commit
dabba850a6
3 changed files with 27 additions and 70 deletions
|
@ -1,6 +1,6 @@
|
|||
pkgbase = vita3k-git
|
||||
pkgdesc = Experimental PlayStation Vita emulator
|
||||
pkgver = r2264.168dfb19
|
||||
pkgver = r2386.d59a0443
|
||||
pkgrel = 1
|
||||
url = https://vita3k.org/
|
||||
arch = x86_64
|
||||
|
@ -16,66 +16,8 @@ pkgbase = vita3k-git
|
|||
provides = vita3k
|
||||
conflicts = vita3k
|
||||
source = vita3k-git::git+https://github.com/vita3k/vita3k.git
|
||||
source = vita3k-git-better-enums::git+https://github.com/aantron/better-enums.git
|
||||
source = vita3k-git-boost::git+https://github.com/Vita3K/ext-boost.git
|
||||
source = vita3k-git-capstone::git+https://github.com/aquynh/capstone.git
|
||||
source = vita3k-git-crypto-algorithms::git+https://github.com/KorewaWatchful/crypto-algorithms.git
|
||||
source = vita3k-git-dirent::git+https://github.com/tronkko/dirent.git
|
||||
source = vita3k-git-dlmalloc::git+https://github.com/Vita3K/dlmalloc.git
|
||||
source = vita3k-git-elfio::git+https://github.com/serge1/ELFIO.git
|
||||
source = vita3k-git-ffmpeg::git+https://github.com/Vita3K/ffmpeg-core.git
|
||||
source = vita3k-git-glslang::git+https://github.com/KhronosGroup/glslang.git
|
||||
source = vita3k-git-googletest::git+https://github.com/google/googletest.git
|
||||
source = vita3k-git-imgui::git+https://github.com/ocornut/imgui.git
|
||||
source = vita3k-git-imgui_club::git+https://github.com/ocornut/imgui_club.git
|
||||
source = vita3k-git-libfat16::git+https://github.com/Vita3K/libfat16.git
|
||||
source = vita3k-git-microprofile::git+https://github.com/jonasmr/microprofile.git
|
||||
source = vita3k-git-nativefiledialog-cmake::git+https://github.com/Vita3K/nativefiledialog-cmake.git
|
||||
source = vita3k-git-printf::git+https://github.com/Vita3K/printf.git
|
||||
source = vita3k-git-pugixml::git+https://github.com/zeux/pugixml.git
|
||||
source = vita3k-git-sdl::git+https://github.com/Vita3K/sdl.git
|
||||
source = vita3k-git-sdl2-cmake-scripts::git+https://github.com/tcbrindle/sdl2-cmake-scripts.git
|
||||
source = vita3k-git-spdlog::git+https://github.com/gabime/spdlog.git
|
||||
source = vita3k-git-SPIRV-Cross::git+https://github.com/KhronosGroup/SPIRV-Cross.git
|
||||
source = vita3k-git-stb::git+https://github.com/nothings/stb.git
|
||||
source = vita3k-git-unicorn::git+https://github.com/Vita3K/unicorn.git
|
||||
source = vita3k-git-vita-toolchain::git+https://github.com/vitasdk/vita-toolchain.git
|
||||
source = vita3k-git-VulkanMemoryAllocator::git+https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
|
||||
source = vita3k-git-yaml-cpp::git+https://github.com/jbeder/yaml-cpp.git
|
||||
source = vita3k-git-psvpfstools::git+https://github.com/Vita3K/psvpfstools.git
|
||||
source = vita3k-git-xxHash::git+https://github.com/Cyan4973/xxHash.git
|
||||
source = vita3k-git-dynarmic::git+https://github.com/Vita3K/dynarmic.git
|
||||
source = vita3k-git-fmt::git+https://github.com/fmtlib/fmt.git
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
md5sums = SKIP
|
||||
source = vita3k.desktop
|
||||
b2sums = SKIP
|
||||
b2sums = 6331bd061fe93fea5fb9ae57667cdb7ff081efa27681e25b94c54da748809e52d933afa96465b7d14ca0d286b0c47e66328a5080acef6760a88a39c65bf2321c
|
||||
|
||||
pkgname = vita3k-git
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
# Maintainer: Severin Kaderli <severin@kaderli.dev>
|
||||
# Contributor: aimileus < $(echo YWltaWxpdXNAcHJvdG9ubWFpbC5jb20K | base64 -d)
|
||||
pkgname="vita3k-git"
|
||||
pkgver=r2264.168dfb19
|
||||
_pkgname="vita3k"
|
||||
pkgname="${_pkgname}-git"
|
||||
pkgver=r2386.d59a0443
|
||||
pkgrel=1
|
||||
pkgdesc="Experimental PlayStation Vita emulator"
|
||||
arch=('x86_64')
|
||||
|
@ -23,24 +24,26 @@ provides=('vita3k')
|
|||
conflicts=('vita3k')
|
||||
source=(
|
||||
"${pkgname}::git+https://github.com/vita3k/vita3k.git"
|
||||
"vita3k.desktop"
|
||||
)
|
||||
md5sums=(
|
||||
b2sums=(
|
||||
'SKIP'
|
||||
'6331bd061fe93fea5fb9ae57667cdb7ff081efa27681e25b94c54da748809e52d933afa96465b7d14ca0d286b0c47e66328a5080acef6760a88a39c65bf2321c'
|
||||
)
|
||||
|
||||
pkgver() {
|
||||
cd "${pkgname}"
|
||||
cd "${srcdir}/${pkgname}"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd "${pkgname}"
|
||||
cd "${srcdir}/${pkgname}"
|
||||
|
||||
git submodule update --init --recursive
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${pkgname}"
|
||||
cd "${srcdir}/${pkgname}"
|
||||
|
||||
export CC="/usr/bin/clang"
|
||||
export CXX="/usr/bin/clang++"
|
||||
|
@ -50,7 +53,7 @@ build() {
|
|||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}"
|
||||
cd "${srcdir}/${pkgname}"
|
||||
|
||||
mkdir -p "${pkgdir}/usr/bin/" "${pkgdir}/opt/vita3k/"
|
||||
|
||||
|
@ -61,5 +64,7 @@ package() {
|
|||
chmod 777 "${pkgdir}/opt/vita3k/"
|
||||
chmod 777 "${pkgdir}/opt/vita3k/data"
|
||||
|
||||
install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
|
||||
install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${_pkgname}/README.md"
|
||||
install -Dm644 "data/image/icon.png" "${pkgdir}/usr/share/pixmaps/${_pkgname}.png"
|
||||
install -Dm644 "${srcdir}/vita3k.desktop" "${pkgdir}/usr/share/applications/vita3k.desktop"
|
||||
}
|
||||
|
|
10
vita3k-git/vita3k.desktop
Normal file
10
vita3k-git/vita3k.desktop
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Version=1.0
|
||||
Name=Vita3K
|
||||
GenericName=PlayStation Vita Emulator
|
||||
Comment=Experimental PlayStation Vita emulator
|
||||
Categories=Game;Emulator;
|
||||
Icon=vita3k
|
||||
Exec=vita3k
|
||||
Terminal=false
|
Loading…
Add table
Add a link
Reference in a new issue