Merge updates from master

This commit is contained in:
Repository mirror & CI
2023-07-13 09:46:34 +00:00
28 changed files with 353 additions and 278 deletions

View File

@@ -1,2 +1,2 @@
DIST chezmoi-2.34.2-deps.tar.xz 136761572 BLAKE2B 07a72e2281aaee3ec9b08a1af7da9f876df23dc18f8593c8cfd3ea8866f7dff685e318bd74085f1da9472f00dba76a8047ae3f4eb1f439318492ed2777d22e83 SHA512 b4bb38d4725869c21a48055f16bc4c1044a7bfffe7413362a2d2b5cca54242cb8df8602a7de69524725ee5b2ad4816e43b2c9762b73d0d06ad1496de50b6c922
DIST chezmoi-2.34.2.tar.gz 2449116 BLAKE2B eb23167f9c12ed488c145124b703cc87f93e7989db997e2ea49d5262ef8c6975d719c75d2d84c3bcbf175821ce17c1fb0bb8b56cf57ea5eb605f38fe7d022773 SHA512 89b57fbb639727dace92a7e6ac9888790f8a3154aa29352908441fcf935f0a19061c9fe2cbf754a4e706678da04e3084019a2af198364a8f742eb01fb323e816
DIST chezmoi-2.34.3-deps.tar.xz 136657272 BLAKE2B 934462d4d8995bf579020e98eef5fd49ff442479d3fb88b787906668c77c57ef115642283c27fd6b1589101517e836f1a8bd7641c83fd3f1d2cb6ba5b41de14c SHA512 04e9b79308ba0ec6a9d890343329aaba2d4c5af8de93abd4e935e43e550385888f4e88b3adb7e51fff203e80bdfb6eeef297a33345698bd5e830614e69b1cd08
DIST chezmoi-2.34.3.tar.gz 2447119 BLAKE2B 5cdd847a65c9efd6b86ca230eaa032e3b83852f508b7f57b7a1070738a717c528088bd382bc40e02f89fa4a9ee2527e3de13d11881df7258ecfc06b12a9c8e6e SHA512 8182be32e5f3b56b22e0236a9808b581e9ab3af2654c30d3802832baa2375d4683d6ef4dc88411b16e896e9d30daa0c938955ed7d3b9e290198c29e331b4713b

View File

@@ -1,3 +1,4 @@
DIST pulumi-v3.72.2-linux-x64.tar.gz 143301739 BLAKE2B e79d9a5dda71782c61a6bd02b5b64b0f042d1427c71c83e3878cdc5927d0d0ace628947da88486b232ebf835f25a5e598368cac4d8e11ac8a89f439941ac520e SHA512 374914b7df54718ef2f03ac9564bfcca042f40220c428b091d67377f119905e7a1b3dee6b3b15faee1be74b35c55be02f9d67ebec85f56255732a86f9ff4b837
DIST pulumi-v3.73.0-linux-x64.tar.gz 143303347 BLAKE2B fbc786dac43056545dafc7e99950fa6bcc2258779adcd18d012fc351e88f9f29ce700155c1d09221d13500e8d70f0e9c70641d5332bed91dcd3699e87b44a811 SHA512 a084b7d83e83be595b7ba37e95ba12466cdfef66c4afcd9ff00071d212bcdc8810c9a3cec669db7dd0d8ec952d57e0f7b6ddb835ad06c2f8917cc1fb57a9f43f
DIST pulumi-v3.74.0-linux-x64.tar.gz 143408310 BLAKE2B 8da70b0aae12b4adae556aa769b82348f54d40d8ac50002074caac74873d63cc0155a126abdad715da83bedb36e92f8e40a05a712335ae16b54d4c094696f751 SHA512 8e5e12a4c210601d7290a21e65b6860fa3980af2c67248aa6c1ba3a55441d9b7165686d7eec2c0029832dcc62715fcffef47d8d308069e6ebea386e992567ded
DIST pulumi-v3.75.0-linux-x64.tar.gz 143145995 BLAKE2B 1260fc4db976ddedbd7a978f4ddfdcc0264dd194878d77b52faad985705931e1dec3a04f4b62097cd9a4c7326e6764ac41cda9d148de5185aa82e74cb9b53b9c SHA512 b46ae96bd50c2d32c9005e20c699c48dd105e36874d414eba53ec74f963497cef460efaf19021e6728b6de172d7791acaced41fc4f08102ce94d3e2f186370f9

View File

@@ -0,0 +1,34 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit bash-completion-r1
DESCRIPTION="Infrastructure as code in any programming language"
HOMEPAGE="
https://www.pulumi.com/
https://github.com/pulumi/pulumi
"
SRC_URI="
amd64? ( https://github.com/pulumi/pulumi/releases/download/v${PV}/pulumi-v${PV}-linux-x64.tar.gz )
"
S="${WORKDIR}/pulumi"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
QA_PREBUILT="*"
src_install() {
dobin pulumi*
./pulumi gen-completion bash > pulumi.bash-completion || die "Cannot generate bash completions"
newbashcomp pulumi.bash-completion pulumi
./pulumi gen-completion zsh > pulumi.zsh-completion || die "Cannot generate zsh completions"
insinto /usr/share/zsh/site-functions
newins pulumi.zsh-completion _pulumi
}

View File

@@ -18,7 +18,6 @@ RDEPEND="sys-fs/fuse:0"
S="${WORKDIR}"
QA_PREBUILT="*"
S="${WORKDIR}"
src_install() {
newbin "${DISTDIR}/NixNote2-x86_64.AppImage" nixnote-bin

View File

@@ -1 +1,2 @@
DIST obsidian-1.2.8.gh.deb 71750440 BLAKE2B ea3194205dae9d9e9a3575cfc3a77db7932be02d3ca07df9e3de56346c7bae2ee66d67a4861896506bd80245b54966fdfabbc511973ef491b115fd4cfa7d5d2a SHA512 514706b51908355317982324391e115df1a24ba29a94a177ae465c83b45d239f59c97cac6a26c72b1705a2d7a74bba71f3869ae4170798840556c8324d8eaba3
DIST obsidian-1.3.5.gh.deb 72916766 BLAKE2B d44e9f8db6fc55e6dc7096b2a9bbcb2d68fb3a0eca06028cd0a9bbc7470dc98a05501ca3f81d15197da389f882167ce134b824961684bc8567ea7fa95907e4af SHA512 2047450ab04179be4c95e33fa35731700dbe5961795b8f11dda5410fdbc199486161a6a7abfcc1a3f555f352d014ac3515d1eeb5da984da4f0cdd4adf0e51bbe

View File

@@ -0,0 +1,68 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop unpacker xdg
DESCRIPTION="A second brain, for you, forever."
HOMEPAGE="https://obsidian.md/"
SRC_URI="https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P/-/_}_amd64.deb -> ${P}.gh.deb"
LICENSE="Obsidian-EULA"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="app-accessibility/at-spi2-core:2
dev-libs/expat
dev-libs/glib:2
dev-libs/nspr
dev-libs/nss
media-libs/alsa-lib
media-libs/fontconfig
media-libs/mesa
net-print/cups
sys-apps/dbus
x11-libs/cairo
x11-libs/gtk+:3
x11-libs/libX11
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXrandr
x11-libs/libdrm
x11-libs/libxcb
x11-libs/libxkbcommon
x11-libs/pango
"
DIR="/opt/${PN^}"
S="${WORKDIR}"
QA_PREBUILT="${DIR#/}/chrome-sandbox
${DIR#/}/chrome_crashpad_handler
${DIR#/}/libGLESv2.so
${DIR#/}/libEGL.so
${DIR#/}/libffmpeg.so
${DIR#/}/libvk_swiftshader.so
${DIR#/}/libvulkan.so.1
${DIR#/}/obsidian
${DIR#/}/resources/app.asar.unpacked/node_modules/*
"
src_install() {
insinto ${DIR}
doins -r ${DIR#/}/*
domenu usr/share/applications/obsidian.desktop
for size in 16 32 48 64 128 256 512; do
doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png
done
fperms 4755 ${DIR}/chrome-sandbox
fperms +x ${DIR}/obsidian
dosym -r ${DIR}/obsidian /usr/bin/obsidian
}

View File

@@ -0,0 +1,38 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop xdg
SRC_URI="https://github.com/mbrlabs/Lorien/releases/download/v${PV}/Lorien_${PV}_Linux.tar.xz"
DESCRIPTION="Infinite canvas drawing/whiteboarding. Made with Godot."
HOMEPAGE="https://github.com/mbrlabs/Lorien"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/Lorien_${PV}_Linux"
src_install() {
#Copy Manual & Make a copy of the folder
cp "${FILESDIR}/manual_v${PV}.md" "${S}/manual_v${PV}.md"
cp -r "${S}" "${WORKDIR}/Lorien"
#Install in /opt
insinto /opt
doins -r "${WORKDIR}/Lorien"
fperms +x /opt/Lorien/Lorien.x86_64
#Install icon and desktop file
domenu "${FILESDIR}/Lorien.desktop"
doicon "${FILESDIR}/Lorien.png"
}
pkg_postinst() {
xdg_desktop_database_update
ewarn "Manual of this package is hosted on the github repo: https://github.com/mbrlabs/Lorien/blob/main/docs/manuals/manual_v${PV}.md"
ewarn "You also have a copy of the manual in /opt/Lorien/manual_v${PV}.md"
ewarn "Note: The manual is writen in Markdown format"
}

View File

@@ -0,0 +1 @@
DIST Lorien_0.5.0_Linux.tar.xz 17662128 BLAKE2B 5c7fc6239afc49281f07efb46969101aa39a2daffd431be66ac093d89a51a370a637cf5eb3fa4ecf05edabf3fa771414ceb5b36681c61bb97ef1d36eb042f01d SHA512 5f839350377fdac16c8b96f1151d5a48d61130fb72025c62967027d0a0b7c2e9af445e37ff3fbc71990ff7d0ba0ccaddb9c52472c68b635aca5291283ecb802e

View File

@@ -0,0 +1,12 @@
[Desktop Entry]
Name=Lorien
Comment=Infinite canvas drawing/whiteboarding app for Windows, Linux and macOS. Made with Godot.
Keywords=tablet;Wacom;pen input;svg;markup
TryExec=/opt/Lorien/Lorien.x86_64
Exec=/opt/Lorien/Lorien.x86_64 %f
StartupNotify=true
Terminal=false
Type=Application
Icon=Lorien
Categories=Office;Godot
MimeType=application/svg;

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@@ -0,0 +1,72 @@
# Lorien Manual v0.5.0
Drawing tablets are supported and recommended, but you can also just use Keyboard+Mouse.
## Basic Usage
- Draw with the left mouse button (<kbd>LMB</kbd>) or with your drawing tablet's pen
- Pan/drag across the canvas with the middle mouse button (i recommend to map a button on your pen to the middle mouse button for easy navigation)
- Zoom with the mouse wheel. You can also zoom while holding <kbd>CTRL</kbd> and the middle mouse button <kbd>MMB</kbd> while moving the mose up/down. This is especially useful when using a drawing tablet with a pen.
- You can open files by dragging them into the window or by opening it via the menu (Shortcut <kbd>CTRL</kbd> + <kbd>O</kbd>)
## Tools
Lorien provides you with different tools which you can find in the toolbar. If you want to enable a tool all you have to do is click on it or use the keyboard shortcut. If you hover over the icons you can also see a short description including the keyboard shortcut.
### Brush Tool
- The brush tool is selected by default. It allows you to freely draw on the canvas with your mouse or drawing tablet.
- You can change the brush size with the adjuster in the toolbar
- The brush color can be changed by clicking on the colored button in the toolbar next to the brush size adjuster
- It is pressure sensitve
### Rectangle Tool
- You can use the rectangle tool to create perfect (unfilled) rectagles
- Not pressure sensitive
### Line Tool
- Allows you to draw perfect lines
- You can hold down <kbd>Shift</kbd> while using the line tool to snap the line in 15° increments
- Not pressure sensitve
### Circle Tool
- Allows you to draw perfect ellipses and circles
- You can hold down <kbd>Shift</kbd> while using the circle tool to draw perfect circles. Otherwise it defaults to ellipses
- Not pressure sensitve
### Eraser Tool
- Allows you to erease brush strokes by drawing over it. Once the eraser intersects with a brush stroke, the whole brush stroke will be removed
- The brush size affects the area of effect
### Selection Tool
- With the Selection tool you can select a number of brush strokes by dragging across the screen with your <kbd>LMB</kbd> pressed. Brush strokes which are considered inside the selection recatangle will be added to the current selection. You can add more strokes to your current selection by holding down <kbd>Shift</kbd> while dragging.
- You can deselect your current selection by pressing <kbd>RMB</kbd> or <kbd>Esc</kbd>.
- To move the selected strokes simply drag them while holding down <kbd>LMB</kbd>. If you did not move your mouse while pressing <kbd>LMB</kbd>, everything will be deselected automatically.
- Press <kbd>Delete</kbd> to delete the current selection
- Press <kbd>CTRL</kbd> + <kbd>C</kbd> to copy the current selection
- Press <kbd>CTRL</kbd> + <kbd>V</kbd> to paste the copied brush strokes
- Press <kbd>CTRL</kbd> + <kbd>D</kbd> to duplicate the current selection
## Color Palettes
- Color palettes allow you to easily switch between different pre-defined colors. To open the pallete you have to click on the colored button in the toolbar next to the brush size adjsuter.
- You can add/edit/delete custom color palettes
- The default color palette can't be edited or deleted. If you want to customize it you can can make a copy of it and edit that instead.
## Keyboard shortcuts
- <kbd>Ctrl</kbd> + <kbd>S</kbd>: Saves the current file
- <kbd>Ctrl</kbd> + <kbd>N</kbd>: Open a new file
- <kbd>Ctrl</kbd> + <kbd>O</kbd>: Open a new empty tab
- <kbd>Ctrl</kbd> + <kbd>E</kbd>: Opens the SVG export dialog
- <kbd>Ctrl</kbd> + <kbd>Z</kbd>: Undo a brush stroke
- <kbd>Ctrl</kbd> + <kbd>Y</kbd>: Redo a brush stroke
- <kbd>Ctrl</kbd> + <kbd>C</kbd>: Copy selected brush strokes
- <kbd>Ctrl</kbd> + <kbd>V</kbd>: Paste copied brush strokes
- <kbd>Ctrl</kbd> + <kbd>D</kbd>: Duplicate selected brush strokes
- <kbd>SPACE</kbd>: Center the canvas based on current mouse position
- <kbd>B</kbd>: Brush tool
- <kbd>R</kbd>: Rectangle tool
- <kbd>E</kbd>: Eraser tool
- <kbd>L</kbd>: Line tool
- <kbd>C</kbd>: Circle tool
- <kbd>S</kbd>: Selection tool
- <kbd>Esc</kbd> or <kbd>RMB</kbd>: Deselect everything
- <kbd>Delete</kbd>: Deletes selected brush strokes
- <kbd>Tab</kbd>: enter/exit distraction free mode (no UI)
- <kbd>F12</kbd>: Spwans a playable character at the mouse position who can walk on the drawn lines (easteregg)

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">mbrlabs/Lorien</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,187 +0,0 @@
# Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake git-r3 xdg
DESCRIPTION="A Nintendo 3DS Emulator"
HOMEPAGE="https://citra-emu.org"
EGIT_REPO_URI="https://github.com/citra-emu/citra-canary"
EGIT_SUBMODULES=(
'catch2' 'discord-rpc' 'dynarmic' 'libyuv'
'lodepng' 'nihstro' 'soundtouch' 'xbyak'
)
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="cubeb +hle-sound nls +qt5 sdl +system-libfmt +telemetry video"
RDEPEND="
cubeb? ( media-libs/cubeb )
!hle-sound? ( media-libs/fdk-aac )
hle-sound? ( media-video/ffmpeg[fdk] )
qt5? ( nls? ( dev-qt/linguist )
dev-qt/qtgui:5
dev-qt/qtmultimedia:5
dev-qt/qtnetwork:5
dev-qt/qtopengl:5
dev-qt/qtwidgets:5 )
sdl? (
media-libs/libsdl2
>=dev-libs/inih-52
)
system-libfmt? ( >=dev-libs/libfmt-9:= )
video? ( media-video/ffmpeg:= )
>=dev-libs/openssl-1.1:=
app-arch/zstd
dev-libs/boost:=
dev-libs/crypto++:=
dev-libs/teakra
net-libs/enet:1.3=
virtual/libusb:1
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-cpp/cpp-httplib
dev-cpp/cpp-jwt
dev-cpp/robin-map"
REQUIRED_USE="|| ( qt5 sdl )"
src_unpack() {
if ! use system-libfmt; then
EGIT_SUBMODULES+=( 'fmt' )
fi
git-r3_src_unpack
cp -a "${S}"/externals/xbyak "${S}"/externals/dynarmic/externals/ || die
# Do not fetch via sources because this file always changes
curl https://api.citra-emu.org/gamedb/ > "${S}"/compatibility_list.json
}
src_prepare() {
# rename output targets
sed -i 's/\<citra\([^-_\/\.A-Za-z]\)/citra-canary\1/g' src/citra/CMakeLists.txt CMakeLists.txt || die
sed -i 's/citra$/&-canary/g' src/citra/CMakeLists.txt || die
sed -i 's/citra/&-canary/g' dist/citra.{desktop,xml} || die
for file in dist/citra*; do
mv ${file} ${file/citra/citra-canary}
done
sed -i '/citra-room[^\.]/s/citra/&-canary/g' src/dedicated_room/CMakeLists.txt || die
sed -i '/citra-room\./s/citra/&-canary/g' src/dedicated_room/citra-room.cpp || die
sed -i 's/citra-room$/citra-canary-room/' src/dedicated_room/CMakeLists.txt || die
sed -i '/citra-qt/s/citra/&-canary/g' CMakeModules/CopyCitraQt5Deps.cmake CMakeLists.txt || die
sed -i '/citra-qt[^\.]/s/citra/&-canary/g' src/citra_qt/CMakeLists.txt || die
sed -i 's/citra-qt$/citra-canary-qt/' src/citra_qt/CMakeLists.txt || die
sed -i 's/copy_citra-canary/copy_citra_canary/' src/citra_qt/CMakeLists.txt || die
sed -i '/install/s/citra\./citra-canary./' CMakeLists.txt || die
# Dynarmic: ensure those are unbundled
for ext in fmt robin-map; do
rm -rf externals/dynarmic/externals/${ext} || die
done
# Do not care about submodules wanted one are already fetched
sed -i -e '/check_submodules_present()/d' CMakeLists.txt || die
# Unbundle inih
sed -i -e '/inih/d' externals/CMakeLists.txt || die
sed -i -e '1ifind_package(PkgConfig REQUIRED)\npkg_check_modules(INIH REQUIRED INIReader)' \
-e '/target_link_libraries/s/inih/${INIH_LIBRARIES}/' src/citra/CMakeLists.txt || die
sed -i -e 's:inih/cpp/::' src/citra/config.cpp || die
# Fix boost unbundling
sed -i -e '/(-DBOOST_ERROR_CODE_HEADER_ONLY/,/)/d' CMakeLists.txt || die
sed -i -e '/^# Boost/,/boost)$/d' externals/CMakeLists.txt || die
# Unbundle libressl (TODO rework scopes, find_package(OpenSSL is called 5 times)
sed -i -e '$afind_package(OpenSSL 1.1)\nset(OPENSSL_LIBRARIES OpenSSL::SSL OpenSSL::Crypto PARENT_SCOPE)' \
CMakeLists.txt || die
sed -i -e 's/# LibreSSL/find_package(OpenSSL 1.1)\nif (NOT OPENSSL_FOUND)\n/' \
-e 's/-DHAVE_INET_NTOP)$/&\nendif()\n/' externals/CMakeLists.txt || die
sed -i -e '/get_directory_property(OPENSSL_LIBS/,/)/d' \
-e 's/OPENSSL_LIBS/OPENSSL_LIBRARIES/' \
src/web_service/CMakeLists.txt \
src/core/CMakeLists.txt || die
sed -i -e 's/{PLATFORM_LIBRARIES}/& OpenSSL::SSL OpenSSL::Crypto/' \
src/{citra,citra_qt,dedicated_room,tests}/CMakeLists.txt || die
sed -i -e '1ifind_package(OpenSSL 1.1)' src/{citra,citra_qt,dedicated_room,tests}/CMakeLists.txt || die
if use system-libfmt; then # Unbundle libfmt
sed -i -e '/fmt/d' externals/CMakeLists.txt || die
sed -i -e '/find_package(Threads/afind_package(fmt)' CMakeLists.txt || die
fi
# Unbundle teakra
sed -i -e '/teakra/d' externals/CMakeLists.txt || die
# Unbundle zstd
sed -i -e 's:libzstd_static:${ZSTD_LIBRARIES}:' \
-e '1ifind_package(PkgConfig REQUIRED)\npkg_check_modules(ZSTD REQUIRED libzstd)' \
src/common/CMakeLists.txt || die
sed -i -e '/zstd/d' externals/CMakeLists.txt || die
# Unbundle enet
sed -i -e 's:enet:${ENET_LIBRARIES}:' \
-e '1ifind_package(PkgConfig REQUIRED)\npkg_check_modules(ENET REQUIRED libenet)' \
src/network/CMakeLists.txt || die
sed -i -e '/#include.*enet/{s/"/</;s/"/>/}' src/network/*cpp || die
sed -i -e '/enet/d' externals/CMakeLists.txt || die
# Unbundle crypto++
sed -i -e 's:cryptopp:${CRYPTOPP_LIBRARIES}:' \
-e '1ifind_package(PkgConfig REQUIRED)\npkg_check_modules(CRYPTOPP REQUIRED libcryptopp)' \
src/dedicated_room/CMakeLists.txt \
src/core/CMakeLists.txt || die
sed -i -e '/^# Crypto++/,/set(CRYPTOPP_COMPILE_DEFINITIONS/d' externals/CMakeLists.txt || die
# Unbundle cubeb
sed -i -e '/CUBEB/,/endif()/d' externals/CMakeLists.txt || die
if use cubeb; then
sed -i -e '$afind_package(cubeb REQUIRED)\n' CMakeLists.txt || die
fi
# Unbundle cpp-httplib
sed -i -e '/# httplib/,/target_link_libraries(httplib/d' externals/CMakeLists.txt || die
# Unbundle cpp-jwt
sed -i -e '/# cpp-jwt/,/CPP_JWT_USE_VENDORED_NLOHMANN_JSON/d' externals/CMakeLists.txt || die
sed -i -e 's/ cpp-jwt/ ssl crypto/' src/web_service/CMakeLists.txt || die
# Unbundle xbyak
sed -i -e '/^install(/,/^)$/d' externals/xbyak/CMakeLists.txt || die
# Do not install dynarmic
sed -i -e '/^# Install/,$d' externals/dynarmic/CMakeLists.txt || die
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=OFF
-DENABLE_CUBEB=$(usex cubeb)
-DENABLE_FFMPEG_AUDIO_DECODER=$(usex hle-sound)
-DENABLE_FFMPEG_VIDEO_DUMPER=$(usex video)
-DENABLE_QT=$(usex qt5)
-DENABLE_QT_TRANSLATION=$(use qt5 && usex nls || echo OFF)
-DENABLE_SDL2=$(usex sdl)
-DENABLE_WEB_SERVICE=$(usex telemetry)
-DGENERATE_QT_TRANSLATION=$(use qt5 && usex nls || echo OFF)
-DUSE_SYSTEM_BOOST=ON
-DUSE_SYSTEM_SDL2=ON
)
cmake_src_configure
# This would be better in src_unpack but it would be unlinked
mv "${S}"/compatibility_list.json "${BUILD_DIR}"/dist/compatibility_list/ || die
}
src_install() {
cmake_src_install
rm -rf "${D}"/usr/$(get_libdir)/cmake
}

View File

@@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Samuel Bauer</name>
<email>samuel.bauer@yahoo.fr</email>
</maintainer>
<use>
<flag name="cubeb">Enables the cubeb audio backend</flag>
<flag name="hle-sound">Enable HLE sound via FFmpeg audio (AAC) decoder</flag>
<flag name="system-libfmt">Use system libfmt</flag>
<flag name="telemetry">Enable web services (telemetry, etc.)</flag>
<flag name="video">Enable FFmpeg video dumper</flag>
</use>
</pkgmetadata>

View File

@@ -9,31 +9,26 @@ DESCRIPTION="A Nintendo 3DS Emulator"
HOMEPAGE="https://citra-emu.org"
EGIT_REPO_URI="https://github.com/citra-emu/citra"
EGIT_SUBMODULES=(
'catch2' 'discord-rpc' 'dynarmic' 'libyuv'
'lodepng' 'nihstro' 'soundtouch' 'xbyak'
'catch2' 'dds-ktx' 'discord-rpc' 'dynarmic' 'library-headers' 'libyuv'
'lodepng' 'nihstro' 'sirit' 'soundtouch' 'vma' 'xbyak'
)
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="cubeb +hle-sound nls +qt5 sdl +system-libfmt +telemetry video"
IUSE="cubeb nls openal +gui sdl +system-libfmt +telemetry"
RDEPEND="
cubeb? ( media-libs/cubeb )
!hle-sound? ( media-libs/fdk-aac )
hle-sound? ( media-video/ffmpeg[fdk] )
qt5? ( nls? ( dev-qt/linguist )
dev-qt/qtgui:5
dev-qt/qtmultimedia:5
dev-qt/qtnetwork:5
dev-qt/qtopengl:5
dev-qt/qtwidgets:5 )
media-video/ffmpeg:=[fdk]
gui? ( nls? ( dev-qt/qttools:6[linguist] )
dev-qt/qtbase:6[widgets,gui,opengl,network]
dev-qt/qtmultimedia:6 )
sdl? (
media-libs/libsdl2
>=dev-libs/inih-52
)
system-libfmt? ( >=dev-libs/libfmt-9:= )
video? ( media-video/ffmpeg:= )
>=dev-libs/openssl-1.1:=
app-arch/zstd
dev-libs/boost:=
@@ -47,12 +42,15 @@ BDEPEND="
dev-cpp/cpp-httplib
dev-cpp/cpp-jwt
dev-cpp/robin-map"
REQUIRED_USE="|| ( qt5 sdl )"
REQUIRED_USE="|| ( gui sdl )"
src_unpack() {
if ! use system-libfmt; then
EGIT_SUBMODULES+=( 'fmt' )
fi
if use openal; then
EGIT_SUBMODULES+=( 'openal-soft' )
fi
git-r3_src_unpack
cp -a "${S}"/externals/xbyak "${S}"/externals/dynarmic/externals/ || die
@@ -78,24 +76,17 @@ src_prepare() {
# Fix boost unbundling
sed -i -e '/(-DBOOST_ERROR_CODE_HEADER_ONLY/,/)/d' CMakeLists.txt || die
sed -i -e '/^# Boost/,/boost)$/d' externals/CMakeLists.txt || die
sed -i -e '/^# Boost/,/boost_iostreams PUBLIC/d' externals/CMakeLists.txt || die
sed -i -e '/^#define BOOST_STACKTRACE_USE_BACKTRACE/d' \
src/common/logging/backend.cpp || die
sed -i -e 's/ backtrace//' src/common/CMakeLists.txt || die
# Unbundle libressl (TODO rework scopes, find_package(OpenSSL is called 5 times)
sed -i -e '$afind_package(OpenSSL 1.1)\nset(OPENSSL_LIBRARIES OpenSSL::SSL OpenSSL::Crypto PARENT_SCOPE)' \
CMakeLists.txt || die
sed -i -e 's/# LibreSSL/find_package(OpenSSL 1.1)\nif (NOT OPENSSL_FOUND)\n/' \
-e 's/-DHAVE_INET_NTOP)$/&\nendif()\n/' externals/CMakeLists.txt || die
sed -i -e '/get_directory_property(OPENSSL_LIBS/,/)/d' \
-e 's/OPENSSL_LIBS/OPENSSL_LIBRARIES/' \
src/web_service/CMakeLists.txt \
src/core/CMakeLists.txt || die
sed -i -e 's/{PLATFORM_LIBRARIES}/& OpenSSL::SSL OpenSSL::Crypto/' \
src/{citra,citra_qt,dedicated_room,tests}/CMakeLists.txt || die
sed -i -e '1ifind_package(OpenSSL 1.1)' src/{citra,citra_qt,dedicated_room,tests}/CMakeLists.txt || die
if use system-libfmt; then # Unbundle libfmt
# Unbundle libfmt
if use system-libfmt; then
sed -i -e '/fmt/d' externals/CMakeLists.txt || die
sed -i -e '/find_package(Threads/afind_package(fmt)' CMakeLists.txt || die
else
sed -i -e '/FMT_INSTALL/d' externals/dynarmic/externals/CMakeLists.txt || die
fi
# Unbundle teakra
@@ -119,7 +110,7 @@ src_prepare() {
-e '1ifind_package(PkgConfig REQUIRED)\npkg_check_modules(CRYPTOPP REQUIRED libcryptopp)' \
src/dedicated_room/CMakeLists.txt \
src/core/CMakeLists.txt || die
sed -i -e '/^# Crypto++/,/set(CRYPTOPP_COMPILE_DEFINITIONS/d' externals/CMakeLists.txt || die
sed -i -e '/^# Crypto++/,/add_subdirectory(cryptopp-cmake)/d' externals/CMakeLists.txt || die
# Unbundle cubeb
sed -i -e '/CUBEB/,/endif()/d' externals/CMakeLists.txt || die
@@ -131,30 +122,50 @@ src_prepare() {
sed -i -e '/# httplib/,/target_link_libraries(httplib/d' externals/CMakeLists.txt || die
# Unbundle cpp-jwt
sed -i -e '/# cpp-jwt/,/CPP_JWT_USE_VENDORED_NLOHMANN_JSON/d' externals/CMakeLists.txt || die
sed -i -e '/cpp-jwt/d' externals/CMakeLists.txt || die
sed -i -e 's/ cpp-jwt/ ssl crypto/' src/web_service/CMakeLists.txt || die
# Unbundle xbyak
sed -i -e '/^install(/,/^)$/d' externals/xbyak/CMakeLists.txt || die
# glslang
sed -i -e '/^# glslang/,/(glslang)/d' externals/CMakeLists.txt || die
sed -i -e 's:SPIRV/GlslangToSpv.h:glslang/&:' src/video_core/renderer_vulkan/vk_shader_util.cpp || die
sed -i -e '/target_include_directories(vulkan-headers/d' externals/CMakeLists.txt || die
# Do not install dynarmic
sed -i -e '/^# Install/,$d' externals/dynarmic/CMakeLists.txt || die
# Do not install zydis
sed -i '/^install(FILES/,/^install(DIRECTORY/d' \
externals/dynarmic/externals/zydis/CMakeLists.txt || die
sed -i -e '/MCL_INSTALL/d' externals/dynarmic/externals/CMakeLists.txt || die
# do not trigger flags
sed -i -e 's/-Werror//' externals/sirit/CMakeLists.txt externals/dynarmic/CMakeLists.txt || die
sed -i -e 's/Wuninitialized/Wno-uninitialized/' externals/catch2/CMake/CatchMiscFunctions.cmake \
externals/dynarmic/externals/catch/CMake/CatchMiscFunctions.cmake || die
sed -i -e '/-Werror/d' src/CMakeLists.txt externals/dynarmic/externals/mcl/CMakeLists.txt externals/dynarmic/externals/catch/CMake/CatchMiscFunctions.cmake externals/catch2/CMake/CatchMiscFunctions.cmake
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=OFF
-DCOMPILE_WITH_DWARF=OFF
-DENABLE_CUBEB=$(usex cubeb)
-DENABLE_FFMPEG_AUDIO_DECODER=$(usex hle-sound)
-DENABLE_FFMPEG_VIDEO_DUMPER=$(usex video)
-DENABLE_QT=$(usex qt5)
-DENABLE_QT_TRANSLATION=$(use qt5 && usex nls || echo OFF)
-DENABLE_MF=ON
-DENABLE_OPENAL=$(usex openal)
-DENABLE_QT=$(usex gui)
-DENABLE_QT_TRANSLATION=$(use gui && usex nls || echo OFF)
-DENABLE_SDL2=$(usex sdl)
-DENABLE_WEB_SERVICE=$(usex telemetry)
-DGENERATE_QT_TRANSLATION=$(use qt5 && usex nls || echo OFF)
-DGENERATE_QT_TRANSLATION=$(use gui && usex nls || echo OFF)
-DSIRIT_USE_SYSTEM_SPIRV_HEADERS=ON
-DUSE_SYSTEM_BOOST=ON
-DUSE_SYSTEM_LIBUSB=ON
-DUSE_SYSTEM_OPENSSL=ON
-DUSE_SYSTEM_SDL2=ON
)
cmake_src_configure

View File

@@ -7,9 +7,7 @@
</maintainer>
<use>
<flag name="cubeb">Enables the cubeb audio backend</flag>
<flag name="hle-sound">Enable HLE sound via FFmpeg audio (AAC) decoder</flag>
<flag name="system-libfmt">Use system libfmt</flag>
<flag name="telemetry">Enable web services (telemetry, etc.)</flag>
<flag name="video">Enable FFmpeg video dumper</flag>
</use>
</pkgmetadata>

View File

@@ -30,7 +30,7 @@ DEPEND="
lua? ( ${LUA_DEPS} )
opengl? ( virtual/opengl )
openmp? ( sys-devel/gcc:*[openmp] )
pulseaudio? ( media-sound/pulseaudio )
pulseaudio? ( media-libs/libpulse )
vulkan? (
>=dev-util/glslang-1.3.231
dev-util/spirv-headers

View File

@@ -48,7 +48,7 @@ RDEPEND="
DEPEND="${RDEPEND}
dev-cpp/cpp-httplib
dev-cpp/cpp-jwt
system-vulkan? ( >=dev-util/vulkan-headers-1.3.246
system-vulkan? ( >=dev-util/vulkan-headers-1.3.250
dev-util/spirv-headers )
test? ( >dev-cpp/catch-3:0 )
"
@@ -82,6 +82,7 @@ src_unpack() {
fi
git-r3_src_unpack
# Do not fetch via sources because this file always changes
use compatibility-list && curl https://api.yuzu-emu.org/gamedb/ > "${S}"/compatibility_list.json
}
@@ -137,12 +138,8 @@ src_prepare() {
fi
# Allow compiling using older glslang
if use system-vulkan -a has_version '<dev-util/glslang-1.3.246'; then
sed -i -e '/Vulkan/s/246/236/' CMakeLists.txt || die
sed -i -e '/VK_ERROR_IMAGE_USAGE_NOT_SUPPORTED_KHR/d;' -e '/VK_ERROR_VIDEO_PICTURE_LAYOUT_NOT_SUPPORTED_KHR/d' \
-e '/VK_ERROR_VIDEO_PROFILE_OPERATION_NOT_SUPPORTED_KHR/d' -e '/VK_ERROR_VIDEO_PROFILE_FORMAT_NOT_SUPPORTED_KHR/d' \
-e '/VK_ERROR_VIDEO_PROFILE_CODEC_NOT_SUPPORTED_KHR/d' -e '/VK_ERROR_VIDEO_STD_VERSION_NOT_SUPPORTED_KHR/d' \
src/video_core/vulkan_common/vulkan_wrapper.cpp
if use system-vulkan -a has_version '<dev-util/glslang-1.3.256'; then
sed -i '/Vulkan/s/256/250/' CMakeLists.txt
fi
cmake_src_prepare

View File

@@ -11,10 +11,14 @@ HOMEPAGE="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="gamescope? ( gui-wm/gamescope )"
KEYWORDS="~amd64"
S="${WORKDIR}/heroic-${PV}"
IUSE="gamescope"
src_install() {
mv "${S}" "${WORKDIR}/heroic"
insinto /opt
@@ -24,8 +28,13 @@ src_install() {
fperms +x /opt/heroic/heroic /opt/bin/heroic
#fix login error both EPIC and GOG
fperms +x /opt/heroic/resources/app.asar.unpacked/build/bin/linux/legendary /opt/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl
fperms +x /opt/heroic/resources/app.asar.unpacked/build/bin/linux/legendary \
/opt/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl
domenu "${FILESDIR}/HeroicGamesLauncher.desktop"
newicon "${WORKDIR}/heroic/resources/app.asar.unpacked/build/icon.png" heroic.png
if use gamescope; then
#Start Heroic as gamescope window
domenu "${FILESDIR}/HeroicGamesLauncher-gamescope.desktop"
fi
}

View File

@@ -0,0 +1,11 @@
[Desktop Entry]
Name=Heroic Games Launcher (Gamescope)
Exec=env GDK_BACKEND=wayland gamescope -w 1920 -h 1080 -f -Y -R --RT --force-grab-cursor --prefer-vk-device --adaptive-sync --sharpness 15 -- /opt/heroic/heroic --ozone-platform=x11 --enable-features=UseOzonePlatform,WaylandWindowDecorations
Terminal=false
Type=Application
Icon=heroic
StartupWMClass=Heroic
Comment=An Open Source GOG and Epic Games launcher
Comment[de]=Ein Open Source Spielelauncher for GOG und Epic Games
MimeType=x-scheme-handler/heroic;
Categories=Game;

View File

@@ -1,6 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<use>
<flag name="gamescope">Efficient micro-compositor for running games</flag>
</use>
<upstream>
<remote-id type="github">Heroic-Games-Launcher/HeroicGamesLauncher</remote-id>
</upstream>

View File

@@ -17,6 +17,7 @@ BDEPEND="x11-libs/gtk+
virtual/pkgconfig
playerctl? ( dev-go/act )
playerctl? ( net-libs/libsoup )
playerctl? ( media-sound/playerctl )
userinfo? ( sys-apps/accountsservice )
"
@@ -32,11 +33,11 @@ src_compile() {
popd || die
fi
if use playerctl; then
pushd gtklock-playerctl-module || die
emake
popd || die
fi
#if use playerctl; then
# pushd gtklock-playerctl-module || die
# emake
# popd || die
#fi
if use userinfo; then
pushd gtklock-userinfo-module || die
@@ -53,11 +54,11 @@ src_install() {
popd || die
fi
if use playerctl; then
pushd gtklock-playerctl-module || die
insinto /usr/local/lib/gtklock && doins playerctl-module.so
popd || die
fi
#if use playerctl; then
# pushd gtklock-playerctl-module || die
# insinto /usr/local/lib/gtklock && doins playerctl-module.so
# popd || die
#fi
if use userinfo; then
pushd gtklock-userinfo-module || die
@@ -66,3 +67,10 @@ src_install() {
fi
}
pkg_postinst() {
if use playerctl; then
ewarn "The MAKEFILE for playerctl gtklock module is broken i will try to fixit later"
ewarn "For now the useflag will be disable on guru overlay to prevent the package failing to build"
ewarn "If you have a idea on how to fix open a issue here:https://github.com/MrDuartePT/mrduarte-ebuilds"
fi
}

View File

@@ -6,7 +6,7 @@
<flag name="playerctl">gtklock module adding media player controls to the lockscreen</flag>
<flag name="userinfo">gtklock module adding user info to the lockscreen</flag>
</use>
<upstream>
<remote-id type="github">MrDuartePT/gtklock-modules-gentoo</remote-id>
</upstream>
<upstream>
<remote-id type="github">MrDuartePT/gtklock-modules-gentoo</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -18,7 +18,6 @@ RDEPEND="sys-fs/fuse:0"
S="${WORKDIR}"
QA_PREBUILT="*"
S="${WORKDIR}"
src_install() {
newbin "${DISTDIR}/LosslessCut-linux-x86_64.AppImage" losslesscut-bin

View File

@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop
inherit desktop xdg-utils
DESCRIPTION="Dogecoin Core Qt 1.14.6 (with Graphical User Interface) with ultra-low transaction fees. Fast and lightweight; the default installation for desktop keeps downloaded blockchain size below 2.2GB, making it ideal for daily transactions, even on systems where disk space could be limited."
HOMEPAGE="https://github.com/dogecoin"
SRC_URI="https://github.com/dogecoin/dogecoin/archive/refs/tags/v${PV}.tar.gz -> ${PN}-v${PV}.tar.gz"
@@ -76,19 +76,29 @@ src_install() {
insinto "${DOGEDIR}/bin"
insinto /usr/share/pixmaps
doins src/qt/res/icons/dogecoin.png
dosym "${DOGEDIR}/bin/${PN}" "/usr/bin/${PN}"
dosym "${DOGEDIR}/bin/${PN}" "/usr/bin/${PN}"
if use prune ; then
domenu "${FILESDIR}"/"${PN}-prune.desktop"
fi
if ! use prune ; then
domenu "${FILESDIR}"/"${PN}.desktop"
fi
fi
find "${ED}" -type f -name '*.la' -delete || die
}
pkg_postinst() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
elog "Dogecoin Core Qt ${PV} has been installed."
elog "Dogecoin Core Qt binaries have been placed in ${DOGEDIR}/bin."
elog "${PN} has been symlinked with /usr/bin/${PN}."
}
pkg_postrm() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
}

View File

@@ -1,2 +1,2 @@
DIST dwarfs-0.7.0-RC4.tar.xz 14425176 BLAKE2B fdb2852da81f8d567c19dc83e3f7dd74e0de35e56579d50b6ce9ee6adda2d540bbbc7d5655a499f19ee340a2f904bfe9b2b977b9539e8e99dc9e8667b9b7435e SHA512 1e0d603507f93b6bcb79050877de0ac64eed931b192b43466d3b5e1ee55a759261ad937d33f24d145a61e8b3d431405a35bbd8ff95ead10ccdabe14ba4d840a5
DIST dwarfs-0.7.0-RC6.tar.xz 22486596 BLAKE2B 28aaae2cf732d61c7be39faf93496ed7ca38d9e6a30ab47e0a9a5f51c5bd805cd7cccc47a51a406d5e92b3bc13f2858de4cadf05e6801dcbe9e9df51d2f148b5 SHA512 845ea037b0e8ed1bd6c448aa12deb101553557938110e56ed94b70e7f575b100a638695f716c23e613663ce2cd3719de2b0427fbff39e60c88f70ae05d590d31
DIST dwarfs-0.7.0.tar.xz 14516672 BLAKE2B c48527f84af0c96ca573af94d1cdc9637ab5bc99934f02b457eec80548399ba362ebc20f6bc5d44d780e29d9538d6045f334a24b4264d49ab02c39fdfddc54bf SHA512 52ea209590a97ee11a902103b3862c55d733a899e199c5e436c4ad5f5278c10f6425c7e35853dd173e260f93e946628e2ac5677706af4ab4486c5af712265f27

View File

@@ -7,20 +7,17 @@ PYTHON_COMPAT=( python3_{10..12} )
inherit check-reqs cmake flag-o-matic python-single-r1
MY_PV="${PV/_rc/-RC}"
DESCRIPTION="A fast very high compression read-only FUSE file system"
HOMEPAGE="https://github.com/mhx/dwarfs"
SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${MY_PV}/${PN}-${MY_PV}.tar.xz"
SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${PN}-${PV}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="python +jemalloc test man"
S="${WORKDIR}/dwarfs-${MY_PV}"
S="${WORKDIR}/dwarfs-${PV}"
PATCHES=(
)
PATCHES=()
RDEPEND="
${PYTHON_DEPS}
@@ -36,6 +33,7 @@ RDEPEND="
dev-libs/double-conversion
dev-libs/libevent
dev-libs/libfmt
dev-libs/utfcpp
dev-libs/xxhash
sys-fs/fuse:3
dev-libs/fsst