Compare commits
No commits in common. "bd332c57b03803b525a84a881522df5040e14d9c" and "9a778e71e575189a8bdb6c70c54b96f14d8cc8b4" have entirely different histories.
bd332c57b0
...
9a778e71e5
@ -1 +1,2 @@
|
||||
DIST systemd-246.tar.gz 9534036 BLAKE2B 71b72abcd4d066d35d45d9835d41bec8faa9a7eddc80b48fe7073223f07d32f78a8442c52dc0800940f9750d9c5502123a633738981d797cf610d85df2035bf0 SHA512 7103f7da53f7ced3b5543c238f23bd11c82af8e37166c1720a90576b6b431b4329320c78726166c65a9f5e101dd465c0a86dd13c586c4e55e608a6273d8f324f
|
||||
DIST systemd-247.tar.gz 9887080 BLAKE2B b3b9399b0e0258453e1ea0bee1212bca7998d0c762fc2da1a3ee6f239bcdde5aa33cb6b7bab377f5dfcb029205b31b733589dbac463ec75cf0b6d371edc9c20f SHA512 dd11cf46e5d9cbf44beb2d383262e9b13eb80fbb3403d86d011b4c2f9e0a4778c7c9779c856960f5654177581c20d7336c00ce687d35fe35ce069c56924604c2
|
||||
|
169
app-admin/cgls/cgls-246.ebuild
Normal file
169
app-admin/cgls/cgls-246.ebuild
Normal file
@ -0,0 +1,169 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Based on:
|
||||
# - https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild
|
||||
# - https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-boot/systemd-boot/systemd-boot-245.ebuild
|
||||
# Difference: Is is possible to install this on a system running systemd.
|
||||
|
||||
EAPI=7
|
||||
|
||||
MINKV="3.11"
|
||||
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="cgls from systemd"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/systemd"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/systemd/systemd.git"
|
||||
else
|
||||
SRC_URI="https://github.com/systemd/systemd/archive/v${PV}.tar.gz -> systemd-${PV}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
# No tests for this one (if I mised them let me know)
|
||||
RESTRICT="mirror test"
|
||||
LICENSE="BSD-2 GPL-2 LGPL-2.1 MIT public-domain"
|
||||
SLOT="0"
|
||||
IUSE="selinux"
|
||||
|
||||
BDEPEND="
|
||||
>=dev-util/intltool-0.50
|
||||
>=dev-util/meson-0.46
|
||||
>=sys-apps/coreutils-8.16
|
||||
app-text/docbook-xml-dtd:4.2
|
||||
app-text/docbook-xml-dtd:4.5
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt:0
|
||||
sys-devel/m4
|
||||
virtual/pkgconfig
|
||||
"
|
||||
DEPEND="
|
||||
>=sys-apps/util-linux-2.30:0=
|
||||
>=sys-kernel/linux-headers-${MINKV}
|
||||
sys-apps/acl:0=
|
||||
sys-libs/libcap:0=
|
||||
selinux? ( sys-libs/libselinux:0= )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
|
||||
S="${WORKDIR}/systemd-${PV}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/246-${PN}-libshared-static.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local systemd_disable_options=(
|
||||
adm-group
|
||||
analyze
|
||||
apparmor
|
||||
audit
|
||||
backlight
|
||||
binfmt
|
||||
blkid
|
||||
bzip2
|
||||
coredump
|
||||
dbus
|
||||
efi
|
||||
elfutils
|
||||
environment-d
|
||||
fdisk
|
||||
firstboot
|
||||
gcrypt
|
||||
glib
|
||||
gnutls
|
||||
gshadow
|
||||
hibernate
|
||||
hostnamed
|
||||
hwdb
|
||||
idn
|
||||
ima
|
||||
initrd
|
||||
kernel-install
|
||||
kmod
|
||||
ldconfig
|
||||
libcryptsetup
|
||||
libcurl
|
||||
libfido2
|
||||
libidn
|
||||
libidn2
|
||||
libiptc
|
||||
link-networkd-shared
|
||||
link-systemctl-shared
|
||||
link-timesyncd-shared
|
||||
link-udev-shared
|
||||
localed
|
||||
logind
|
||||
lz4
|
||||
machined
|
||||
microhttpd
|
||||
networkd
|
||||
nss-myhostname
|
||||
nss-resolve
|
||||
nss-systemd
|
||||
openssl
|
||||
p11kit
|
||||
pam
|
||||
pcre2
|
||||
polkit
|
||||
portabled
|
||||
pstore
|
||||
pwquality
|
||||
qrencode
|
||||
quotacheck
|
||||
randomseed
|
||||
resolve
|
||||
rfkill
|
||||
seccomp
|
||||
smack
|
||||
sysusers
|
||||
timedated
|
||||
timesyncd
|
||||
tmpfiles
|
||||
tpm
|
||||
userdb
|
||||
utmp
|
||||
vconsole
|
||||
wheel-group
|
||||
xdg-autostart
|
||||
xkbcommon
|
||||
xz
|
||||
zlib
|
||||
zstd
|
||||
)
|
||||
# prepend -D and append =false, e.g. zstd becomes -Dzstd=false
|
||||
systemd_disable_options=( ${systemd_disable_options[@]/#/-D} )
|
||||
systemd_disable_options=( ${systemd_disable_options[@]/%/=false} )
|
||||
|
||||
local emesonargs=(
|
||||
-Dacl=true
|
||||
-Dstandalone-binaries=true
|
||||
-Dstatic-libsystemd=true
|
||||
-Dsysvinit-path=''
|
||||
${systemd_disable_options[@]}
|
||||
$(meson_use selinux)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local mytargets=(
|
||||
systemd-cgls
|
||||
man/systemd-cgls.1
|
||||
)
|
||||
meson_src_compile "${mytargets[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd "${BUILD_DIR}" >/dev/null || die
|
||||
|
||||
newbin systemd-cgls cgls
|
||||
newman man/systemd-cgls.1 cgls.1
|
||||
|
||||
popd >/dev/null || die
|
||||
}
|
@ -31,6 +31,7 @@ IUSE="selinux"
|
||||
|
||||
BDEPEND="
|
||||
>=dev-util/intltool-0.50
|
||||
>=dev-util/meson-0.46
|
||||
>=sys-apps/coreutils-8.16
|
||||
app-text/docbook-xml-dtd:4.2
|
||||
app-text/docbook-xml-dtd:4.5
|
||||
|
@ -1 +1,2 @@
|
||||
DIST systemd-246.tar.gz 9534036 BLAKE2B 71b72abcd4d066d35d45d9835d41bec8faa9a7eddc80b48fe7073223f07d32f78a8442c52dc0800940f9750d9c5502123a633738981d797cf610d85df2035bf0 SHA512 7103f7da53f7ced3b5543c238f23bd11c82af8e37166c1720a90576b6b431b4329320c78726166c65a9f5e101dd465c0a86dd13c586c4e55e608a6273d8f324f
|
||||
DIST systemd-247.tar.gz 9887080 BLAKE2B b3b9399b0e0258453e1ea0bee1212bca7998d0c762fc2da1a3ee6f239bcdde5aa33cb6b7bab377f5dfcb029205b31b733589dbac463ec75cf0b6d371edc9c20f SHA512 dd11cf46e5d9cbf44beb2d383262e9b13eb80fbb3403d86d011b4c2f9e0a4778c7c9779c856960f5654177581c20d7336c00ce687d35fe35ce069c56924604c2
|
||||
|
169
app-admin/cgtop/cgtop-246.ebuild
Normal file
169
app-admin/cgtop/cgtop-246.ebuild
Normal file
@ -0,0 +1,169 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Based on:
|
||||
# - https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild
|
||||
# - https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-boot/systemd-boot/systemd-boot-245.ebuild
|
||||
# Difference: Is is possible to install this on a system running systemd.
|
||||
|
||||
EAPI=7
|
||||
|
||||
MINKV="3.11"
|
||||
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="cgtop from systemd"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/systemd"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/systemd/systemd.git"
|
||||
else
|
||||
SRC_URI="https://github.com/systemd/systemd/archive/v${PV}.tar.gz -> systemd-${PV}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
# No tests for this one (if I mised them let me know)
|
||||
RESTRICT="mirror test"
|
||||
LICENSE="BSD-2 GPL-2 LGPL-2.1 MIT public-domain"
|
||||
SLOT="0"
|
||||
IUSE="selinux"
|
||||
|
||||
BDEPEND="
|
||||
>=dev-util/intltool-0.50
|
||||
>=dev-util/meson-0.46
|
||||
>=sys-apps/coreutils-8.16
|
||||
app-text/docbook-xml-dtd:4.2
|
||||
app-text/docbook-xml-dtd:4.5
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt:0
|
||||
sys-devel/m4
|
||||
virtual/pkgconfig
|
||||
"
|
||||
DEPEND="
|
||||
>=sys-apps/util-linux-2.30:0=
|
||||
>=sys-kernel/linux-headers-${MINKV}
|
||||
sys-apps/acl:0=
|
||||
sys-libs/libcap:0=
|
||||
selinux? ( sys-libs/libselinux:0= )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
|
||||
S="${WORKDIR}/systemd-${PV}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/246-${PN}-libshared-static.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local systemd_disable_options=(
|
||||
adm-group
|
||||
analyze
|
||||
apparmor
|
||||
audit
|
||||
backlight
|
||||
binfmt
|
||||
blkid
|
||||
bzip2
|
||||
coredump
|
||||
dbus
|
||||
efi
|
||||
elfutils
|
||||
environment-d
|
||||
fdisk
|
||||
firstboot
|
||||
gcrypt
|
||||
glib
|
||||
gnutls
|
||||
gshadow
|
||||
hibernate
|
||||
hostnamed
|
||||
hwdb
|
||||
idn
|
||||
ima
|
||||
initrd
|
||||
kernel-install
|
||||
kmod
|
||||
ldconfig
|
||||
libcryptsetup
|
||||
libcurl
|
||||
libfido2
|
||||
libidn
|
||||
libidn2
|
||||
libiptc
|
||||
link-networkd-shared
|
||||
link-systemctl-shared
|
||||
link-timesyncd-shared
|
||||
link-udev-shared
|
||||
localed
|
||||
logind
|
||||
lz4
|
||||
machined
|
||||
microhttpd
|
||||
networkd
|
||||
nss-myhostname
|
||||
nss-resolve
|
||||
nss-systemd
|
||||
openssl
|
||||
p11kit
|
||||
pam
|
||||
pcre2
|
||||
polkit
|
||||
portabled
|
||||
pstore
|
||||
pwquality
|
||||
qrencode
|
||||
quotacheck
|
||||
randomseed
|
||||
resolve
|
||||
rfkill
|
||||
seccomp
|
||||
smack
|
||||
sysusers
|
||||
timedated
|
||||
timesyncd
|
||||
tmpfiles
|
||||
tpm
|
||||
userdb
|
||||
utmp
|
||||
vconsole
|
||||
wheel-group
|
||||
xdg-autostart
|
||||
xkbcommon
|
||||
xz
|
||||
zlib
|
||||
zstd
|
||||
)
|
||||
# prepend -D and append =false, e.g. zstd becomes -Dzstd=false
|
||||
systemd_disable_options=( ${systemd_disable_options[@]/#/-D} )
|
||||
systemd_disable_options=( ${systemd_disable_options[@]/%/=false} )
|
||||
|
||||
local emesonargs=(
|
||||
-Dacl=true
|
||||
-Dstandalone-binaries=true
|
||||
-Dstatic-libsystemd=true
|
||||
-Dsysvinit-path=''
|
||||
${systemd_disable_options[@]}
|
||||
$(meson_use selinux)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local mytargets=(
|
||||
systemd-cgtop
|
||||
man/systemd-cgtop.1
|
||||
)
|
||||
meson_src_compile "${mytargets[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd "${BUILD_DIR}" >/dev/null || die
|
||||
|
||||
newbin systemd-cgtop cgtop
|
||||
newman man/systemd-cgtop.1 cgtop.1
|
||||
|
||||
popd >/dev/null || die
|
||||
}
|
@ -31,6 +31,7 @@ IUSE="selinux"
|
||||
|
||||
BDEPEND="
|
||||
>=dev-util/intltool-0.50
|
||||
>=dev-util/meson-0.46
|
||||
>=sys-apps/coreutils-8.16
|
||||
app-text/docbook-xml-dtd:4.2
|
||||
app-text/docbook-xml-dtd:4.5
|
||||
|
@ -1,2 +1 @@
|
||||
DIST cli-visualizer-1.8.tar.gz 55083 BLAKE2B 0179ef2f0f1a4f928b5e1030eda499c706ee9207918b5ead0054472c1ba3bf293418b1a622868855496f483967754a88dd7a0c545e41b045c55466134157a90c SHA512 e64b729818f870896cc1fdbdccb80ee141d00118df4f50696919ff04d90503c913953fa76082bd09db1fca16a047d1255908852e3cfc6b3b5ac5fbb841833415
|
||||
DIST cli-visualizer-1.8_p20220323.tar.gz 58820 BLAKE2B 3369693ed1357ab69b3e591b1e4971484b5d5af76fea22efd3c656052577af3e0f7ec9f98382ab22968726fba854209b44d0aa0332d370b92b29c9cc7a3cc8b8 SHA512 13e0c2699c52d03233cef7f42dccef98945b645d452ac4e897d8a9edcb214e35359969a4b0def513f83a930eeeafdbdffd5a27e24b7bf4e4fa1ac85a99c41634
|
||||
|
@ -1,55 +0,0 @@
|
||||
# Copyright 2020-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="CLI based audio visualizer"
|
||||
HOMEPAGE="https://github.com/dpayne/cli-visualizer"
|
||||
COMMIT="b98068ffbe55210ab4828556d243e13e79ba889d"
|
||||
SRC_URI="https://github.com/dpayne/cli-visualizer/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
media-libs/libpulse
|
||||
media-libs/portaudio
|
||||
sci-libs/fftw:3.0=
|
||||
sys-libs/ncurses:=[tinfo]
|
||||
test? (
|
||||
dev-cpp/gtest
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
# Handle automagic, upstream uses find_program and find_library instead find_package forcing this approach
|
||||
sed -i \
|
||||
-e '/find_program(CCACHE_FOUND ccache)/d' \
|
||||
-e '/find_library(JEMALLOC_FOUND NAMES jemalloc)/d' \
|
||||
-e '/ExternalProject_Add(googletest/,/)$/d' \
|
||||
-e '/if(VIS_WITH_TESTS)/afind_package(GTest REQUIRED)' \
|
||||
-e '/set(GTEST_INCLUDE_DIRS ${EXTERNAL_PROJECTS_INCLUDE_DIR})/,/add_dependencies(${GMOCK_MAIN_LIBRARY} ${GTEST_LIBRARY})/d' \
|
||||
-e 's/target_link_libraries(${PROJECT_TEST_NAME} gtest gmock pthread)/target_link_libraries(${PROJECT_TEST_NAME} GTest::gtest GTest::gmock pthread)/' \
|
||||
CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DVIS_WITH_TESTS=$(usex test)
|
||||
-DVIS_WITH_PERF_TESTS=OFF # possible false positive when under heavy load
|
||||
-DVIS_RUN_CLANG_FORMAT=OFF
|
||||
-DVIS_RUN_CLANG_TIDY=OFF
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST lci-0.11.2.tar.gz 312257 BLAKE2B 91b8f11fb7ad68f3774f3cda324f4ae120552cb735a96db517331efc0a8bc61e9d24b4316dc074129913c09a4ed162d337a8ea9a0e9b6366ce6692abc4107b5a SHA512 37e94cb6c51c0a41e6cc8953c5314b0f25a898f853053f748ad09af82f9c1948054866f7f2cee8e9f9c517a05bd7b367ea44f73aa74f63719ea25d9e0f507a73
|
||||
DIST lci-0.11.2_p20191019.tar.gz 313826 BLAKE2B 9634a02d85e4731394a7c089b31b11e6c7886f118305162162601460b1000440df06465ea3973b1128c0629cb335a41c887c5b802cff3ede7ee01bbbacad5859 SHA512 533e675cf79b5d497ffd89a9eceb507603c2d8f48c0041e4dd0974f7f32a25691f99d7ae7a298fc37069ad2e48d3926d3ded086e99de9309ef971f1de58aca3c
|
||||
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit cmake python-any-r1
|
||||
|
||||
DESCRIPTION="LOLCODE interpreter written in C"
|
||||
HOMEPAGE="http://www.lolcode.org/"
|
||||
COMMIT="58ed46a5b20a628f9da07088466acc45cda291cc"
|
||||
SRC_URI="https://github.com/justinmeza/lci/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/lci-${COMMIT}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="test? ( ${PYTHON_DEPS} )"
|
||||
BDEPEND="
|
||||
doc? (
|
||||
app-text/doxygen
|
||||
)
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
if use doc; then
|
||||
HTML_DOCS="${BUILD_DIR}/html"
|
||||
cmake_src_compile docs
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
einstalldocs
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST sdl-kitchensink-1.0.12.tar.gz 76856 BLAKE2B dbb0222255f5b6712f59b1629bb9dae0bf1011b6f8f6914cb055df061aaeeb3896867cf8e556569ed6bf831089d1d4cc349f1cb43824e6e4485c4a11d2de84ea SHA512 7f254a62cf4d7e42790d39ddcf94a89a5195daa9cf591e62d7262c98042c64637b9e7c5878397d5683fdd0ad3503825897e0e074c78c30e2c8bfe34a3ee3c9e3
|
||||
DIST sdl-kitchensink-1.0.8.tar.gz 74969 BLAKE2B 21960457fb00032ff6a4cfb586379b6bc29682daf4dfda3fbecfa765ab6b05a6672c967c4aecdc338f5036d8ab38bd2d61491ea24774fa342af2a09621a5a040 SHA512 9ed8b1bf594c45723965ca717615d23d654c90d6b2720ccf98d0e569e51bc0d69292f2f918f910e1e2971a1cfe4523d844f8d0b26da52e28a65fba25a4a7576b
|
||||
|
@ -4,4 +4,15 @@
|
||||
<upstream>
|
||||
<remote-id type="github">katajakasa/SDL_kitchensink</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="sanitize">
|
||||
Use sanitizer functions (ASAN/TSAN/etc...)
|
||||
</flag>
|
||||
<flag name="static">
|
||||
Build static libraries
|
||||
</flag>
|
||||
<flag name="examples">
|
||||
Build examples. If static is also set, examples will be linked against static library
|
||||
</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -25,7 +25,7 @@ RDEPEND="
|
||||
media-libs/libass:=
|
||||
"
|
||||
BDEPEND="
|
||||
doc? ( app-text/doxygen )
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
|
64
dev-libs/sdl-kitchensink/sdl-kitchensink-1.0.8-r1.ebuild
Normal file
64
dev-libs/sdl-kitchensink/sdl-kitchensink-1.0.8-r1.ebuild
Normal file
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="A Simple SDL2 / FFmpeg library for audio/video playback written in C99"
|
||||
HOMEPAGE="https://github.com/katajakasa/SDL_kitchensink"
|
||||
SRC_URI="https://github.com/katajakasa/SDL_kitchensink/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
|
||||
IUSE="static sanitize examples"
|
||||
|
||||
BDEPEND+="
|
||||
examples? ( sys-apps/coreutils )
|
||||
"
|
||||
RDEPEND+="
|
||||
sanitize? ( >=sys-devel/gcc-5.0.0[sanitize] )
|
||||
media-libs/libsdl2
|
||||
media-video/ffmpeg[libass]
|
||||
"
|
||||
|
||||
#S="${S}/${PN}"
|
||||
S="${WORKDIR}/SDL_kitchensink-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
SANITIZE="OFF"
|
||||
EXAMPLES="OFF"
|
||||
STATIC="OFF"
|
||||
|
||||
if use sanitize; then SANITIZE="ON"; fi
|
||||
if use examples; then EXAMPLES="ON"; fi
|
||||
if use static; then STATIC="ON"; fi
|
||||
|
||||
local mycmakeargs=(
|
||||
-DUSE_ASAN="${SANITIZE}"
|
||||
-DBUILD_EXAMPLES="${EXAMPLES}"
|
||||
-DBUILD_STATIC="${STATIC}"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
if use examples; then
|
||||
for i in audio complex custom rwops simple; do
|
||||
mv "${BUILD_DIR}"/${i} "${BUILD_DIR}"/SDL_kitchensink-${i}
|
||||
dobin "${BUILD_DIR}"/SDL_kitchensink-${i}
|
||||
elog "Installed ${i} example as SDL_kitchensink-${i}"
|
||||
done
|
||||
if use static; then
|
||||
elog "Examples are linked against static SDL_kitchensink library."
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@ -26,7 +26,7 @@ BDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
app-text/doxygen
|
||||
app-doc/doxygen
|
||||
media-gfx/graphviz
|
||||
)
|
||||
"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@ -26,7 +26,7 @@ BDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
app-text/doxygen
|
||||
app-doc/doxygen
|
||||
media-gfx/graphviz
|
||||
)
|
||||
"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@ -32,6 +32,7 @@ DEPEND="
|
||||
>=x11-libs/vte-0.54.4
|
||||
dev-libs/appstream-glib[introspection]
|
||||
dev-util/desktop-file-utils
|
||||
dev-util/meson
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
gui-libs/libhandy:1
|
||||
x11-libs/gtk+:3
|
||||
|
Loading…
Reference in New Issue
Block a user