Merge updates from master

This commit is contained in:
Repository mirror & CI
2023-09-21 10:16:29 +00:00
17 changed files with 399 additions and 99 deletions

View File

@@ -1,2 +1,3 @@
DIST linode-cli-5.42.1.tar.gz 133000 BLAKE2B def5cd7a02c94d9bb809e2da9bc29b631f6d1b65360945ab886a7af724f4e3ef98f96f17f5c8463e1ad772a226b6f1c2a3f3ffb561af1c997546fdb75388f766 SHA512 9b19fdfdba712bbbbdfa7ccc6d38eb37dab919d3f5e0693fd81362aad2d1bac3c8bbf618629080e13c930fd49e6cf62cfcf2e804997c0be3b5f911ea89ca7293
DIST linode-cli-5.43.0.tar.gz 124631 BLAKE2B 9961724935a51a0e6816c4c8d1a7e6b15b0441f60b93439636a2bd3b50c0823e52215d040b45cfce3a2ecc643922b2dbdd07fc2062ef2b5d9fc0d6517c4d9066 SHA512 95b43e1fd5541d230641d367fadc06c3c059909f68aa6739e2957f375748de075caa39a7d5974295dd3700f48e9c37b15b5a1d75dc48b8d7128a2eadd5d43960
DIST linode-cli-5.44.1.tar.gz 124767 BLAKE2B 0010864e2ecff81b7785585369a25f27747f768d6c37511f1f94e308b2abea1345d25c16d641d8ebc41d2123405827595d4bf542ddad3ee27bb0db418d76164d SHA512 bb87c873181dbbd2cf63dfbb4a957148bef089d1d46567fb744d4cbe4318906fc66112823f681449f00f6a6711efd95d4d0eaf5dbb932943da8b7af0f7b75ec3

View File

@@ -0,0 +1,26 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
inherit distutils-r1 pypi
DESCRIPTION="Linode Command Line Interface"
HOMEPAGE="https://github.com/linode/linode-cli https://www.linode.com/"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/boto3[${PYTHON_USEDEP}]
dev-python/openapi3[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/rich[${PYTHON_USEDEP}]
<dev-python/urllib3-3[${PYTHON_USEDEP}]
"

View File

@@ -1,3 +1,4 @@
DIST timeshift-21.09.1.tar.gz 1401994 BLAKE2B 5b1b3650fadb02745150d8996b46b53be473c66c73d4f5209c4f8634f58c4019905524516089b9f2a77b3bf1dcc49ee4db5ac9cbd2c1419683ead01e2e36b4e7 SHA512 0e79b41861c1eb041e0592508636f87f77ca240001b238e9e70239898d9a66bcf367380e830682fb8671ade7c1cbdb10ca8c89585f2cb30de35c7480a0fa792b
DIST timeshift-22.06.5-r2.tar.gz 1494015 BLAKE2B 915bfabf78a6ad8b7212dc1c47b9a31467a3f38b7890e5a958d007e2ac8e5b6f226cffe693bc618fce56fb2dbbb951df1bd4e988052320b1dd98bb1953ce85c7 SHA512 6a24b7164f522e443bd1cc0646b867eeebf7ecb4bfb2948701a7b72571bd1f83fc8f372d82b7422ed86fd246291b76cf7061e347dc61132cc809163cd38e7756
DIST timeshift-22.11.1-r1.tar.gz 1490993 BLAKE2B ddee86cada8cb9982725c754977f96d260b161a15a12086fcd325d9da9789b6600a3d99d44d8c6fbe60ed39187c93f3bfde62dc889c2217219a44121d831f58f SHA512 cd5226e2400743ce0c1da077103caeb61f320c73e5fb409f57c0f10bba5c06893bcc0e5e588fb03b397ffbd76bb43498f18e70e5964947ad950d4edfe1dd6967
DIST timeshift-23.07.1.tar.gz 1583725 BLAKE2B 7887f10d69a49231da57499b6287b82698a8d2053d7c18ea29863a48c4a8bf23145fa7dad306088d2e5f0bca840212daf27dc761d652408484bf7ee42fb67c4c SHA512 b5d9adde872f562f2af582e75dcfdee32e8b8d3a7ffc9c9592416d47ee9370603dd2140e9fb3d4970bbf1ddbe87c459c4cb041349a34c14865d38492289828d4

View File

@@ -0,0 +1,50 @@
# Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit optfeature meson vala xdg
DESCRIPTION="A system restore utility for Linux"
HOMEPAGE="https://github.com/linuxmint/timeshift"
SRC_URI="https://github.com/linuxmint/${PN}/archive/${PV}.tar.gz -> ${PF}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="
dev-libs/glib:2
dev-libs/gobject-introspection
x11-libs/gtk+:3
dev-libs/json-glib
x11-libs/vte:2.91[vala]
>=dev-libs/libgee-0.18.0:=
>=x11-libs/xapp-1.0.4
x11-libs/cairo
x11-libs/gdk-pixbuf:2
"
RDEPEND="${DEPEND}
virtual/cron
"
BDEPEND="
$(vala_depend)
virtual/pkgconfig
sys-apps/help2man
"
src_prepare() {
default
vala_setup
}
pkg_postinst() {
xdg_pkg_postinst
optfeature "btrfs support" sys-fs/btrfs-progs
optfeature "rsync support" net-misc/rsync
}
pkg_postrm() {
xdg_pkg_postrm
}

View File

@@ -1,4 +1,4 @@
DIST pulsar-bin-1.107.1-amd64.tar.gz 229779993 BLAKE2B 36262b199a034461f9e8c99aeacfb503bcf14ed753cbaee0743a78741b8b4b52f846fb1995e215151ddd152ee47abeed0a0ee29a296a62043829a3dbe673bef8 SHA512 5f06db0ada92017f1493fdc2032eeb65cbc0db08ecb0b729670ba2fbbcd8d898f4e37f844b7d6109c65c8769a9ffb5f7e16db3d432589635d64fd2af34af7ec7
DIST pulsar-bin-1.107.1-arm64.tar.gz 191166102 BLAKE2B 517e2fbd5878d8fcced8fc3726c26a7592fe1f45dc2b42758f685b156b03b875d8ec34b06a50fde029d68c47da9ff0f02fe923a7480455107aac961a023303f7 SHA512 6258e102e62574dfb5e5a01a05421375e5a6ba15f8e5c176419d8d3323f13440d15239b68f71058a2384caca7cdde6eec66e285576f04cf7b107ebe555183015
DIST pulsar-bin-1.108.0-amd64.tar.gz 230184003 BLAKE2B 706208f24deaf90ac381358c46747c0ac00954c5aa9d7cb4db45dee15a4450df9a4abe88df096c00b8be4cb86b7bd207c60227b0e3c261ce208b4a08ebc2cd1b SHA512 8c90f8dbec1dcfa8e8ada01809dc1b95b6f8f61886cf0e767509f04c72ec49abd7edd5cfe773df649ff7c081d936bf1dcf906e3e70a831cbb417e5a3a033f2f1
DIST pulsar-bin-1.108.0-arm64.tar.gz 191573170 BLAKE2B 1f8242730531ccf0395fbfcfd0c6284a0191ce40a1d700f449014662f93de72db6d55599e92baaba1c9b3135c73c8f17c063494778620974c0e37880621723d8 SHA512 d049d6f6951e9e3438b7334d7aafde612719be8c71e647970ad99031be1bf5581f0d02711c7b3a05d1248d0e9783b83a982a60178f6aee2f3f8d4609beea18ca
DIST pulsar-bin-1.109.0-amd64.tar.gz 230323361 BLAKE2B 1f97a0ad37bb32d677923fcfe18870dffd8865b116a21936178ef8deed276409cb38fd5b22f9375a7fc72d5996030afc15648d13da36fa4bd30e74febd79ce4c SHA512 c95d1b1a6a644eff5eee0ce49fd88b56062effb7ecc7a37a6de732846ee86c862504d3341e9b5fc10cdadf71051f427f7d252ed66865cc4b83f8861680b7624e
DIST pulsar-bin-1.109.0-arm64.tar.gz 191749896 BLAKE2B 2097ffcb98f3b0b1862b7852f5cf497bf04b6f55629e7ecb863b0b0b2bad36b983c76eb57b46e38b281fabdc3aeff4c97045cd0ee21a34d7b6cd42dd0db712d9 SHA512 683e1c495808643f5f380c7c231a6b811f7834be6d6c8f1021cd4535f1a6c9416180f919aab7d3f7aaa4feef91d713e5f25a540246145641baca35814eec951d

View File

@@ -6,3 +6,5 @@ DIST lf-29-deps.tar.xz 16965264 BLAKE2B 0e57ea4b64d467c307e5a1ec8744d20bd463149b
DIST lf-29.tar.gz 123717 BLAKE2B 8fd81c5333c2b4732a3fe72f8f6d92ebf41713128806bd6f4b781ba65430dd8cbee84c12ad1502ef824fb7887ce052b628c8acfe36bcd67d3c37ff0245315d2d SHA512 7e55fa284a491aef1e3a78ac33de74df2c350a750fa87411540a46a2bd663cdec8c46326586e63e3dd2db4a27f6d6042100c57c18a554ebbcebff1356cc9bf32
DIST lf-30-deps.tar.xz 1141300 BLAKE2B fe668d052e6ace68d4c6a0cfdb838a16bee62215a31e297b48b80ad3ae9e154055be60df5b0d5789d4a278ed343d8cf35ce6516abe2e33320272036fddbb5110 SHA512 be6622fe040497e71cf505f6e336bd12b31eb85dde929e30d831da7268a34f30baf48730cd40acfb4d88e68f9a12f1fd9949cd58219ba822d626f79100b3ea60
DIST lf-30.tar.gz 125152 BLAKE2B 082ddfc2438dd7133a72ed951c093bbf9514cea2b9aa58ed8263d7d759d6112dc14ca811287543bc61f0b79570ed15f69fd561bda34652ec53c8735baa95082d SHA512 2318b8b1ebb92cec5247b3f8819492182085776bc437b223a92377f731f26a85a7b9bf3c475b31ee28ba204cc2e9abf8330e7a64b7d57631da9cb285aa80326d
DIST lf-31-deps.tar.xz 17010484 BLAKE2B 3e92a87c1ce48565512456db504cddbb195499c7e02565d35b8d1bb462c19b5e442032ec8bb90191a6f039e9075148e5afb8e4d726a4b800f2c8ca2851a4f6c5 SHA512 7cbc7806b89e9fd5d225622ecb974f48971ff7a07b7099d401489b0f0a43604ecaf0454e1a7f4c37130271c943c2966f18187bbe56bcb3afe00bea5096f281df
DIST lf-31.tar.gz 138687 BLAKE2B 757d785e24c7f1ad664f81210ab33f8aedca62c5acfe3d8bad140a13c2321155d8c8b9f90da948666315ac1bd2755d92c1b6f01276e078d4b23949da1faade45 SHA512 8029c5310d94be853d82b9fe6359853db37340231bd291dddc675d053d020a7a98f17931734bb65022278ccf3ab94513a6fdc0e37986388572fc4afff28e0380

55
app-misc/lf/lf-31.ebuild Normal file
View File

@@ -0,0 +1,55 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module shell-completion desktop xdg
SRC_URI="https://github.com/gokcehan/lf/archive/r${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/ephemer4l/gentoo-lf/raw/main/${P}-deps.tar.xz"
DESCRIPTION="Terminal file manager"
HOMEPAGE="https://github.com/gokcehan/lf"
IUSE="+static"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
LICENSE="MIT"
SLOT="0"
S="${WORKDIR}/${PN}-r${PV}"
src_compile() {
local ldflags="-s -w -X main.gVersion=r${PV}"
use static && {
export CGO_ENABLED=0
ldflags+=' -extldflags "-static"'
}
go build -ldflags="${ldflags}" || die 'go build failed'
}
src_install() {
local DOCS=( README.md etc/lfrc.example )
dobin "${PN}"
einstalldocs
doman "${PN}.1"
# bash & zsh cd script
insinto "/usr/share/${PN}"
doins "etc/${PN}cd.sh"
# bash-completion
newbashcomp "etc/${PN}.bash" "${PN}"
# zsh-completion
newzshcomp "etc/${PN}.zsh" "_${PN}"
# fish-completion
dofishcomp "etc/${PN}.fish"
dofishcomp "etc/${PN}cd.fish"
domenu "${PN}.desktop"
}

View File

@@ -1,2 +1,2 @@
DIST Insomnia.Core-2020.3.3.deb 52765644 BLAKE2B c80231e0148361d22294fe60c1d2fa806fc3a090642c0379f29b25f4d7dd26e5c3f8c6d93c16859c98e1aef45a7b3353b944fc4fc9dff1d9312b1173393d639a SHA512 d86a7b42863b9ffa805aac755aa4d9ae0d1073b9c36afa5b9902af5006b8fb135b878471d8259e7663f471b1a9aef8b12dcc864aa00073ab4f7d149e0888d787
DIST Insomnia.Core-2020.5.2.deb 68621834 BLAKE2B fd74af79132c85db1815e1fc2176c8f45d9349fbbbb2cf99304b2884212df8b1db6c5d0ce57d9e33b6efd01d1dd0e9445c8fee035c90c8a980170a8fdacb0772 SHA512 0b770c5ebc9ee3d8153932c1729dbd51aa781683ffc54f4b73a74dde7b8f3f808f68001f2c3d221ab26eccba6582588179ad0ab512a06d33b0f0301261d8cc56
DIST Insomnia.Core-2023.5.8.deb 89120858 BLAKE2B 94dd3e0546faf69f13b57b71cf6de737f74b33e588453c4173b3fbb6c52a04f35a482b24c9c96b91e5936183b623ff6300902041277759c2e6d0b2f3875c8a02 SHA512 5ea73e2aa5a69782a54dae02454d72a4b37a313617ce276dc9f95128341e6808ce70f02df305ff7e350896b00efbc3ec5c78816027c321bf718b41f8d36e6a1a

View File

@@ -1,78 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN="${PN/-bin/}"
inherit desktop pax-utils unpacker xdg
DESCRIPTION="HTTP and GraphQL client for developers"
HOMEPAGE="https://insomnia.rest"
SRC_URI="https://github.com/Kong/${MY_PN}/releases/download/core@${PV}/Insomnia.Core-${PV}.deb"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="ayatana"
RDEPEND="app-accessibility/at-spi2-atk:2
dev-libs/atk:0
dev-libs/expat:0
dev-libs/glib:2
dev-libs/nspr:0
dev-libs/nss:0
media-libs/alsa-lib:0
media-libs/fontconfig:1.0
net-print/cups:0
sys-apps/dbus:0
x11-libs/cairo:0
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
x11-libs/libX11:0
x11-libs/libxcb:0
x11-libs/libXcomposite:0
x11-libs/libXcursor:0
x11-libs/libXdamage:0
x11-libs/libXext:0
x11-libs/libXfixes:0
x11-libs/libXi:0
x11-libs/libXrandr:0
x11-libs/libXrender:0
x11-libs/libXScrnSaver:0
x11-libs/libXtst:0
x11-libs/pango:0
ayatana? ( dev-libs/libappindicator:3 )"
QA_PREBUILT="opt/Insomnia/insomnia
opt/Insomnia/libnode.so
opt/Insomnia/libffmpeg.so"
S="${WORKDIR}"
src_prepare() {
default
if use ayatana ; then
sed -i '/Exec/s|=|=env XDG_CURRENT_DESKTOP=Unity |' \
usr/share/applications/insomnia.desktop \
|| die "sed failed for insomnia.desktop"
fi
}
src_install() {
for size in 16x16 32x32 48x48 128x128 256x256 512x512 ; do
doicon -s "${size}" usr/share/icons/hicolor/"${size}"/apps/insomnia.png
done
dosym ../icons/hicolor/512x512/apps/insomnia.png \
/usr/share/pixmaps/insomnia.png
domenu usr/share/applications/insomnia.desktop
insinto /opt/Insomnia
doins -r opt/Insomnia/.
fperms +x /opt/Insomnia/insomnia
dosym ../Insomnia/insomnia opt/bin/insomnia
pax-mark -m "${ED}"/opt/Insomnia/insomnia
}

View File

@@ -0,0 +1,62 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PN="${PN/-bin/}"
inherit desktop unpacker xdg
DESCRIPTION="HTTP and GraphQL client for developers"
HOMEPAGE="https://insomnia.rest"
SRC_URI="https://github.com/Kong/${MY_PN}/releases/download/core@${PV}/Insomnia.Core-${PV}.deb"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="fontconfig cups alsa dbus accessibility"
RDEPEND="
dev-libs/glib
dev-libs/nss
dev-libs/nspr
app-accessibility/at-spi2-core
x11-libs/libdrm
x11-libs/gtk+
x11-libs/pango
x11-libs/cairo
x11-libs/libX11
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXrandr
media-libs/mesa
dev-libs/expat
x11-libs/libxcb
x11-libs/libxkbcommon
sys-devel/gcc
alsa? ( media-libs/alsa-lib )
cups? ( net-print/cups )
dbus? ( sys-apps/dbus )
fontconfig? ( media-libs/fontconfig:1.0 )
accessibility? ( app-accessibility/at-spi2-core )
"
S="$WORKDIR"
src_install() {
for size in 16x16 32x32 48x48 128x128 256x256 512x512 ; do
doicon -s "${size}" usr/share/icons/hicolor/"${size}"/apps/insomnia.png
done
dosym ../icons/hicolor/512x512/apps/insomnia.png \
/usr/share/pixmaps/insomnia.png
domenu usr/share/applications/insomnia.desktop
insinto /opt/Insomnia
doins -r opt/Insomnia/.
fperms +x /opt/Insomnia/insomnia
fperms +x /opt/Insomnia/chrome_crashpad_handler
dosym ../Insomnia/insomnia opt/bin/insomnia
}

View File

@@ -43,13 +43,22 @@ if(IMGUI_VULKAN)
list(APPEND GENERATOR_ARGS vulkan)
endif()
list(APPEND GENERATOR_ARGS ${IMGUI_COMMON_FLAGS} ${CMAKE_CPP_FLAGS})
file(GLOB GENERATOR_OUTPUT_FILES "${CMAKE_SOURCE_DIR}/generator/output/*")
list(APPEND
GENERATOR_OUTPUT_FILES
set(CIMGUI_EXTRA_STUFF
${CMAKE_SOURCE_DIR}/generator/output/definitions.json
${CMAKE_SOURCE_DIR}/generator/output/definitions.lua
${CMAKE_SOURCE_DIR}/generator/output/impl_definitions.json
${CMAKE_SOURCE_DIR}/generator/output/impl_definitions.lua
${CMAKE_SOURCE_DIR}/generator/output/overloads.txt
${CMAKE_SOURCE_DIR}/generator/output/structs_and_enums.json
${CMAKE_SOURCE_DIR}/generator/output/structs_and_enums.lua
${CMAKE_SOURCE_DIR}/generator/output/typedefs_dict.json
${CMAKE_SOURCE_DIR}/generator/output/typedefs_dict.lua
)
set(GENERATOR_OUTPUT_FILES
${CMAKE_SOURCE_DIR}/cimgui.cpp
${CMAKE_SOURCE_DIR}/cimgui.h
${CMAKE_SOURCE_DIR}/generator/output/cimgui_nopreprocess.cpp
${CMAKE_SOURCE_DIR}/generator/output/cimgui_nopreprocess.h
${CMAKE_SOURCE_DIR}/generator/output/cimgui_impl.h
${CIMGUI_EXTRA_STUFF}
)
ADD_CUSTOM_COMMAND(VERBATIM
OUTPUT ${GENERATOR_OUTPUT_FILES}
@@ -57,7 +66,10 @@ ADD_CUSTOM_COMMAND(VERBATIM
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/generator"
)
set(CIMGUI_SOURCES "${CMAKE_SOURCE_DIR}/cimgui.cpp")
set(CIMGUI_INCLUDE_FILES "${CMAKE_SOURCE_DIR}/cimgui.h")
set(CIMGUI_INCLUDE_FILES
"${CMAKE_SOURCE_DIR}/cimgui.h"
"${CMAKE_SOURCE_DIR}/generator/output/cimgui_impl.h"
)
target_sources(cimgui
PUBLIC
@@ -70,6 +82,7 @@ include(GNUInstallDirs)
#install
install(TARGETS cimgui LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(FILES ${CIMGUI_INCLUDE_FILES} DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/imgui")
install(FILES ${CIMGUI_EXTRA_STUFF} DESTINATION "${CMAKE_INSTALL_DATADIR}/cimgui")
#test
set(CIMGUI_TEST "no" CACHE STRING "Enable compilation of a test unit based on imgui null")
@@ -78,3 +91,4 @@ if (CIMGUI_TEST)
add_subdirectory(test)
endif ()
endif()

View File

@@ -0,0 +1,113 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Bloat-free graphical user interface library for C++"
HOMEPAGE="
https://github.com/ocornut/imgui
https://github.com/cimgui/cimgui
"
SRC_URI="
https://github.com/ocornut/imgui/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
https://github.com/cimgui/cimgui/archive/refs/tags/${PV}.tar.gz -> c${P}.gh.tar.gz
"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="allegro bindings examples freetype glfw glut opengl sdl vulkan"
S="${WORKDIR}/c${P}"
RDEPEND="
dev-libs/stb:=
allegro? ( media-libs/allegro:5 )
freetype? ( media-libs/freetype )
glfw? ( media-libs/glfw:0 )
glut? ( media-libs/freeglut )
opengl? ( virtual/opengl )
sdl? ( media-libs/libsdl2 )
vulkan? ( media-libs/vulkan-loader )
"
DEPEND="
${RDEPEND}
vulkan? ( dev-util/vulkan-headers )
"
BDEPEND="
bindings? ( dev-lang/luajit )
virtual/pkgconfig
"
REQUIRED_USE="
|| (
allegro
glfw
glut
sdl
)
|| (
allegro
opengl
vulkan
)
"
PATCHES=( "${FILESDIR}/${P}-fpermissive.patch" )
src_prepare() {
pushd ../ || die
rm -rf "${S}/imgui" || die
mv "${P}" "${S}/imgui" || die
pushd "${S}/imgui" || die
# imgui
rm -r examples/libs || die
rm -r misc/*/*.ttf || die
rm -r misc/single_file || die
cp "${FILESDIR}/${P}-CMakeLists.txt" CMakeLists.txt || die
cp "${FILESDIR}/imgui.pc.in" imgui.pc.in || die
sed -e "s|@version@|${PV}|g" -i imgui.pc.in || die
pushd "${S}" || die
cp "${FILESDIR}/c${P}-CMakeLists.txt" CMakeLists.txt || die
# remove files to be generated
rm cimgui.cpp cimgui.h generator/output/* || die
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DIMGUI_ALLEGRO=$(usex allegro)
-DIMGUI_BINDINGS=$(usex bindings)
-DIMGUI_EXAMPLES=$(usex examples)
-DIMGUI_FREETYPE=$(usex freetype)
-DIMGUI_GLFW=$(usex glfw)
-DIMGUI_GLUT=$(usex glut)
-DIMGUI_OPENGL=$(usex opengl)
-DIMGUI_SDL=$(usex sdl)
-DIMGUI_VULKAN=$(usex vulkan)
)
cmake_src_configure
}
src_install() {
cmake_src_install
pushd imgui || die
# imgui
rm -rf misc/{fonts,freetype} || die
dodoc -r misc
popd || die
if use bindings; then
# cimgui
insinto "/usr/share/doc/${PF}/cimgui"
doins README.md TODO.txt
fi
}

View File

@@ -1,5 +1,5 @@
DIST SourceCode_With_Submodules.tar.xz 1116144 BLAKE2B 6e1f900c07fb8094e46b3382fabee27ddf23954b66e849853a02f635b8058155bbfd57fadb93f4478a4b42e63bf98d3dc6343d12d765cb2277a53cbbd964c329 SHA512 525b4234c43178944c7afea3a429c7f640c6fd668cc6b544014cde1cd79c9934b848c93b25d28113605a7a75a0d029d1b77ac51cd37397fb25eb5a009c619161
DIST openSeaChest-22.07.tar.gz 806167 BLAKE2B 937b67aaaa071f7ade15039d4239c63aadbf43ff2e06e86e4bcc8f45b5767898d52a1a518754ec3dddb3baee7688885c24bca7dd58f8e6292fde7890e1f59876 SHA512 314e466d64104dd949833f72b089b3cea3f0cded55ddc8aec945fd69374baa6e2409269fee679618e6893e2dc4aafac4878cf54a5621f116f9c721c8b7a5db60
DIST openSeaChest-v23.03.1.tar.xz 1119132 BLAKE2B 63a03a56068fd02bb37e9f3dfadfb70611aa245cdd85f47a492625685ff7ef34416e998b4a046898570ff29ccd46fb3a1e408ac04b76988b4b9834d33f57cb10 SHA512 8a95893627e73fbd59bf363aa991d871b41e49971c24377d06c6d9279cecbfe4b5a0e91642476a97849ae0aad2bfb4a1d594ddf306b8f3323e3ad619fc071d38
DIST opensea-common-a2155bb5d1f45e50cc2e0158ed183d15e12de6bd.tar.gz 123800 BLAKE2B ecfe7a464907e2f1f444f7080349e889b314612d05588450589659eb42f98045212d631f65fbb866b6587f302bc7b89697074ddfc30b3b108cffdc044768fbe8 SHA512 5f9561bdef38b8099db9c592c1ca16f0072b5b3d014d815ab855951d9e963187c56c1c06ca03cb9eab47bd19bac6310787ce8a38f8840daf587c8ca2b3505048
DIST opensea-operations-f9eab78b3cc349a74a1878b484ca27812506357b.tar.gz 463379 BLAKE2B 216ac13290ba1be7c6404b981327c46cddc7197ee3c978f156a7a42f0dde0ad38bdeaf4b5f88ce118143494f9c4de1a953a510cb6dfeb42675b264957bbaaf5f SHA512 3e145108ec4a557c237f135a3afe0c716bd6b8ab3db940338c8543b8a58105db44fca9d10c8e8914e37c4f7759912b14abacd123bf2b59a4fefb6e32d2e8cb58
DIST opensea-transport-f09d599a992e4e12e2537e9e5592c8bdf799dc0a.tar.gz 758522 BLAKE2B e49a0980d0f2780da5d684af6881239d45cd585738b02b0eb2e88080d9e76a4e1b2005dc74794d3f3c6b6c98134a10d764768c903046ff95446ba57fd4d4d20f SHA512 3b578295e5ff57e38182c358e4c62fe73462dadf219306dd66984cd67b7ca36d5cdb63258d9badbfa4a09a9b4ea33be6485c24c3ba8d4db99f4838ca4a64d14d

View File

@@ -7,17 +7,8 @@ inherit meson
DESCRIPTION="SeaGate's open source harddrive control utilities"
HOMEPAGE="https://github.com/Seagate/openSeaChest"
SRC_URI="https://github.com/Seagate/openSeaChest/releases/download/v${PV}/SourceCode_With_Submodules.tar.xz"
SRC_URI="https://github.com/Seagate/openSeaChest/releases/download/v${PV}/SourceCode_With_Submodules.tar.xz -> openSeaChest-v${PV}.tar.xz"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
src_unpack() {
default
# upstream decompresses to openSeaChest-vXX.YY. We need openSeaChest-XX.YY
# without the 'v'.
# ... for 23.03.1 they still made the source extract to 23.03, so I guess
# we need to just put the version number here literally instead of using PV
mv "${WORKDIR}/openSeaChest-v23.03" "${S}"
}
S="${WORKDIR}/openSeaChest-v${PV}"

View File

@@ -1 +1,2 @@
DIST badwolf-1.2.2.tar.gz 80102 BLAKE2B ae8727391742352b3e9db28ecbe0ac3402ac028a668f84c13ef3d4512e54d0bef5196f30d526297d2bc2eaec61f0c3dc4039ec9070ec5bc0d78aaa40782562ee SHA512 0f7bd28ab9bae51323082bad172914009ba979cc9f990a782f7f032ca65589284708ffcaa530f737ecd3d00b580000988b5d18fbb2643ce0df3bc001a58ef611
DIST badwolf-1.3.0.tar.gz 114477 BLAKE2B e79c223b597b08acdc5d090a47c179a8ab27727d3cb7b7f842c021b5f1d1f25c2e5604bf8b1cea986270ec97f3a8e25eeae866a124e72df7a7aaf876ecff9b08 SHA512 f83884f9a1c4d12d641f68697d7fab7885803975ead6cb78e88b0b8d2f7b6f9da116f72e39f02c47e8dca89e4ced9b932524338a6211c7d4509c12206c10cdeb

View File

@@ -0,0 +1,62 @@
# Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit xdg ninja-utils
if [[ "${PV}" == "9999" ]]
then
EGIT_REPO_URI="https://hacktivis.me/git/badwolf.git"
inherit git-r3
else
MY_P="${PN}-$(ver_rs 3 - 4 .)"
SRC_URI="https://hacktivis.me/releases/${MY_P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${MY_P}"
inherit savedconfig
fi
DESCRIPTION="Minimalist and privacy-oriented WebKitGTK+ browser"
HOMEPAGE="https://hacktivis.me/projects/badwolf"
LICENSE="BSD"
SLOT="0"
DOCS=("README.md" "KnowledgeBase.md")
IUSE="+webkit41 test"
RESTRICT="!test? ( test )"
DEPEND="
x11-libs/gtk+:3
webkit41? ( net-libs/webkit-gtk:4.1= )
!webkit41? ( net-libs/webkit-gtk:4= )
"
RDEPEND="${DEPEND}"
BDEPEND="test? ( app-text/mandoc )"
src_configure() {
[[ "${PV}" == "9999" ]] || restore_config config.h
CC="${CC:-cc}" \
CFLAGS="${CFLAGS:--02 -Wall -Wextra}" \
LDFLAGS="${LDFLAGS}" \
DOCDIR="/usr/share/doc/${PF}" \
WITH_WEBKITGTK=$(usex webkit41 4.1 4.0) \
PREFIX="/usr" \
./configure
}
src_compile() {
eninja
}
src_test() {
eninja test
}
src_install() {
DESTDIR="${ED}" eninja install
[[ "${PV}" == "9999" ]] || save_config config.h
}