mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-03-26 22:53:32 +01:00
Compare commits
7 Commits
1b5c3155fe
...
9241ca63af
| Author | SHA1 | Date | |
|---|---|---|---|
| 9241ca63af | |||
| c98c50a550 | |||
| 35b3f354a6 | |||
| 7135b5daad | |||
| 15449ef97e | |||
| 0df3104f43 | |||
| c928b11676 |
@@ -1 +1,5 @@
|
||||
AUX jpilot-1.8.2-fix-paths.patch 3619 BLAKE2B 01d77eb206f2ce4c1f28b2950334f0814fb398cc61bc4164e573a7290b6ff0a1d6c710c6932ce0170b8634459beb8f2f53c296b3fcf79ea56d8ca061459babd4 SHA512 25e026aafc04e488183a7537f37566b30c1300f090cc1b4c9eca6531e30654751e10f72c8d45f0ad1bcfa441c659380831de520f41906daec61b4b069fc84f81
|
||||
AUX jpilot-1.8.2-fno-common.patch 1094 BLAKE2B 50e039c59bd36af356c9eb53d144be622cc36af5be86464c135ff3184ad5f7bc59bfcb9d19287ba56d59e3eab33274cb8dcc220c8fc1429d4c82df0711d3feb5 SHA512 50d4f6c924fb3c5241d424ec5457f80f93a4fa5dc6dcd9f31e0a2d44bc696ea5ad9f6cd447dfae6f3a6b97a9c951977a0b98379ef3b548eba4b0d1732443bf87
|
||||
AUX jpilot-1.8.2-qa-desktop-file.patch 280 BLAKE2B 8a84005ce60627cea1f6b8b9ce96e824a65b621d63706703d15a3dd1ed48945ab100927a885d8c7e40c2688194f89a151be96729b26d6cb4d081024095ed3178 SHA512 ccc59b87c5e7f9074e83e9c3a47799c6779c29583fbd9845a26ad735342b22bf390bf8bed50dc2adac097dea00823ea587c8a5abdce4c197f5160e59c4617a37
|
||||
DIST jpilot-1.8.2.tar.gz 1740735 BLAKE2B efc9fb8e88843d6e0f4f2245753d67856c9d0cd455c9a22c829bb103631fd8a8111ead3cb4bc434a6be00ad0cb35fe554a9ebbe1f2d38bfaf560e1b414c62260 SHA512 733dd51a2acc60760bb1ffaa0d7b4433584a571793d5e4f857492349bae8d032625baf9f0060e619d760628ddda3559bf4be057f45f4dc17ddf1af1ca795c024
|
||||
EBUILD jpilot-1.8.2-r1.ebuild 1013 BLAKE2B 983d386a0cb727151d9dd2f69d5480bf0a211fef47ffa50ad97978dff4c869d615e81996489c9cc1c513578acc7ab71f8965ac13b896a9334d68803a6523b4c4 SHA512 6f9cadabb42969ffe320e6260fd441b278265bafb5613f527df85dd3918c9359dce26240c3a648a760643df4268292241e1c34aa0852d9bd415d27b25e393bad
|
||||
|
||||
@@ -2,5 +2,7 @@ AUX apktool 2322 BLAKE2B afa09f0a202072e3481825ece3ee70686cc570f2767c39613bc30e5
|
||||
AUX apktool.patch 273 BLAKE2B 0cf02ea5aa30de379c9a3ab402c89be60b83a293592b1485399830d86ef4a2a9cc72402307e28e80b5819a3dd91041f5bf75755e43f377b1762fb352415f0599 SHA512 12a59d7459596aa0e7b66288a6882aa32969060509cd5eb560023d9a28c035a257deed4740a30f6a537d08fa4ba926d106b3c0f6ec2191dc94d2391df3e5e95f
|
||||
DIST apktool_2.6.1.jar 19981711 BLAKE2B 8919af612112d660121d6374d85354f7c8c22d3ec6194ffc3b00b2a57c3c61345028050ca5a49602c27e8fc6856c4dd0eb46d8d38a72b0b9836161a9757fc3c9 SHA512 3cab65fe5cdbcc072f486281cbc1efde84eb0ecb5db52bd633c07640bf3f09fb79861df303e9c569f1399aa307226545ff0973039c31c3934a70890c6af5f48e
|
||||
DIST apktool_2.7.0.jar 23171720 BLAKE2B 9ae90ecd9482464a342d94152d5de05f8d90b0edfb07c6e7181f578f5f8661f180a3676045f720b006be735b19b01989e0ed6aeed809d38766aba5dc46aac81d SHA512 6593a7e8ff220f03f4c78cb3c832a6ab7d593936b43dac214a3c607ec9a7db96f115ec5b37a6f0260cf43fc4eccdf7e97f6c5e5c5dbbfac921b42f2844274006
|
||||
DIST apktool_2.9.0.jar 23256540 BLAKE2B ba8ab7c66704f85d0c45fc9851c46334f7c62dd09d8f0f5f5cdceeee3fa969f5e90a6bc5d351f564130d78f9b7e281edeb3a5736b3c739b70dbfa6509bbbed00 SHA512 9b08c60d8f39210da8693ac934eb5f4b36d243b8d03acf9c00e6dc6feda27dde1c1e4db7d4e3a20a4e3ef89088745f2fde0ccc4d4c43e8120649672bcfdaa434
|
||||
EBUILD apktool-2.6.1.ebuild 687 BLAKE2B 86b1bfee5e79cb9c16bd0450f38850cf1d9c64e97d7db3c996365e10d473a44de4ef814cfb23a880714637eda70dde09c4331c338d6f2ff649bfcb3200913449 SHA512 1ad1e6bdb9686866d86e75a67dec0c9595a0803fb170371c149c56a395b16654446537de3d76fc1c5038f7eed905215d08e9aef6a9ae31efc45f8fa94781577d
|
||||
EBUILD apktool-2.7.0.ebuild 687 BLAKE2B 86b1bfee5e79cb9c16bd0450f38850cf1d9c64e97d7db3c996365e10d473a44de4ef814cfb23a880714637eda70dde09c4331c338d6f2ff649bfcb3200913449 SHA512 1ad1e6bdb9686866d86e75a67dec0c9595a0803fb170371c149c56a395b16654446537de3d76fc1c5038f7eed905215d08e9aef6a9ae31efc45f8fa94781577d
|
||||
EBUILD apktool-2.9.0.ebuild 687 BLAKE2B 86b1bfee5e79cb9c16bd0450f38850cf1d9c64e97d7db3c996365e10d473a44de4ef814cfb23a880714637eda70dde09c4331c338d6f2ff649bfcb3200913449 SHA512 1ad1e6bdb9686866d86e75a67dec0c9595a0803fb170371c149c56a395b16654446537de3d76fc1c5038f7eed905215d08e9aef6a9ae31efc45f8fa94781577d
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
AUX vector.ini 116 BLAKE2B 7dbc58708e0c371c6d8116891a37048d5477b1b92b61c26441f15fff81f8dd01bf8f49cc1bddd256c56ecba592a8dac5fb1674fab5f0adb488410dc6e1d13025 SHA512 6d84eb7b9c4e9f134b57e64ba9ae30dcaaa620296830f7c9858611fde9064f803bd7d230a989a5cce34d8b815b5a98d323b19d3eef3d4c688b5c32b96b299f5f
|
||||
DIST mame-0.247.tar.gz 185778600 BLAKE2B 9d9238652c40cb9685875ec03cdfaa4b4cd7c8529da93c991a5531dc7500c4ce3f3b0f49dbf720b1fecc68b3c36e87f15c8f57ed9d57574e8b7aa9a673b2b10f SHA512 e763c8769dbae30bc8185412ca10ae6ed01bc357472d3d1982a6bda0cb5213f05d309b86b2cb0185cd5c7181609f1170c64a3dc5999089d9a863e72428f0bed9
|
||||
DIST mame-0.254.tar.gz 203449561 BLAKE2B d0c4f8ea8b92c885cdb1e763380efc9e0aadf42b9d08403dd53761473f832a9bedce6da087c31cb3de4dcaa3b41768859baf4c18a60c3dc24b7ee2885347bfef SHA512 efb89074229f5662ff23176cfc042c5e5f4732a54498574bac6b74d3726be9bf8e93fc49370e1b94e5f1ed2f7ead8b0a6d46bb965e2a22ef528bcc2131abf8a7
|
||||
DIST mame-0.260.tar.gz 205251800 BLAKE2B 32c84208f11df3a6eb63460a0cf6e9455e5fba8ce74c59946d2c759c7e762b448722f843e785b872c920f07a62b60ac0a2e8c909c1e3149eb5ea60abc335e07d SHA512 87b9d157d62456d1a3f4b751ff869d8366ea90566304f1e5ce5b1cef60d1879a249b9ca2c281355c8abb6c7e1cdba1f57b3fb7209e3cc2f11adf0c7f6f960b12
|
||||
DIST sdlmame.png 15733 BLAKE2B 7a4dea45062338a86a290d8a20b82fb7283e11c93191e0c3d337d08e15cbc383b64363c9ac2520666f3f3ac05249bd0da51f2b0dc3f292c4509d9ed88340ffa8 SHA512 2610fdf6768fab6ca16b7f2bd2b32abf11de4fa57e77c025b0857f213f26ab3b1d6220722f742092d818564b553e8444d0e6a06676b3a16997910113b271a7f5
|
||||
EBUILD sdlmame-0.247.ebuild 6145 BLAKE2B 6e76e66d0cbac0521065106837f09aa695333632c9adf5ecad3ddb4abeb7896e96acfd9e82cb8e992bc15cd0ebbcce7bef2e2953698e1e85daf5c5d57bf56cd0 SHA512 e7508e83e17fdec4da4af4131b546104463f9e5497190ff330236d4e1d28ae2018d237ef3c92078c71f419b1e3c3ff6c05184cdd2c74572f6fa6cccf900e41e9
|
||||
EBUILD sdlmame-0.254.ebuild 6145 BLAKE2B 6e76e66d0cbac0521065106837f09aa695333632c9adf5ecad3ddb4abeb7896e96acfd9e82cb8e992bc15cd0ebbcce7bef2e2953698e1e85daf5c5d57bf56cd0 SHA512 e7508e83e17fdec4da4af4131b546104463f9e5497190ff330236d4e1d28ae2018d237ef3c92078c71f419b1e3c3ff6c05184cdd2c74572f6fa6cccf900e41e9
|
||||
EBUILD sdlmame-0.260.ebuild 6145 BLAKE2B 6e76e66d0cbac0521065106837f09aa695333632c9adf5ecad3ddb4abeb7896e96acfd9e82cb8e992bc15cd0ebbcce7bef2e2953698e1e85daf5c5d57bf56cd0 SHA512 e7508e83e17fdec4da4af4131b546104463f9e5497190ff330236d4e1d28ae2018d237ef3c92078c71f419b1e3c3ff6c05184cdd2c74572f6fa6cccf900e41e9
|
||||
|
||||
228
games-emulation/sdlmame/sdlmame-0.260.ebuild
Normal file
228
games-emulation/sdlmame/sdlmame-0.260.ebuild
Normal file
@@ -0,0 +1,228 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python2_7 python3_{8..11} )
|
||||
inherit desktop python-any-r1 toolchain-funcs qmake-utils xdg-utils
|
||||
|
||||
MY_PV="${PV/.}"
|
||||
|
||||
DESCRIPTION="Multiple Arcade Machine Emulator + Multi Emulator Super System (MESS)"
|
||||
HOMEPAGE="http://mamedev.org/"
|
||||
SRC_URI="https://github.com/mamedev/mame/archive/mame${MY_PV}.tar.gz -> mame-${PV}.tar.gz
|
||||
https://icon-icons.com/downloadimage.php?id=20820&root=159/PNG/256/&file=mame_22338.png -> sdlmame.png
|
||||
"
|
||||
|
||||
LICENSE="GPL-2+ BSD-2 MIT CC0-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="alsa +arcade debug +mess opengl openmp tools"
|
||||
REQUIRED_USE="|| ( arcade mess )"
|
||||
|
||||
# MESS (games-emulation/sdlmess) has been merged into MAME upstream since mame-0.162 (see below)
|
||||
# MAME/MESS build combined (default) +arcade +mess (mame)
|
||||
# MAME build only +arcade -mess (mamearcade)
|
||||
# MESS build only -arcade +mess (mess)
|
||||
# games-emulation/sdlmametools is dropped and enabled instead by the 'tools' useflag
|
||||
RDEPEND="!games-emulation/sdlmametools
|
||||
!games-emulation/sdlmess
|
||||
dev-db/sqlite:3
|
||||
dev-libs/expat
|
||||
media-libs/fontconfig
|
||||
media-libs/flac
|
||||
media-libs/libsdl2[joystick,opengl?,sound,video,X]
|
||||
media-libs/portaudio
|
||||
media-libs/sdl2-ttf
|
||||
sys-libs/zlib
|
||||
virtual/jpeg:0
|
||||
virtual/opengl
|
||||
alsa? ( media-libs/alsa-lib
|
||||
media-libs/portmidi )
|
||||
debug? ( dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5 )
|
||||
x11-libs/libX11
|
||||
x11-libs/libXinerama"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
x11-base/xorg-proto"
|
||||
BDEPEND="${PYTHON_DEPS}"
|
||||
S="${WORKDIR}/mame-mame${MY_PV}"
|
||||
|
||||
# Function to disable a makefile option
|
||||
disable_feature() {
|
||||
sed -i -e "/^[ ]*$1.*=/s:^:# :" makefile || die
|
||||
}
|
||||
|
||||
# Function to enable a makefile option
|
||||
enable_feature() {
|
||||
sed -i -e "/^#.*$1.*=/s:^#[ ]*::" makefile || die
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Disable using bundled libraries
|
||||
enable_feature USE_SYSTEM_LIB_EXPAT
|
||||
enable_feature USE_SYSTEM_LIB_FLAC
|
||||
enable_feature USE_SYSTEM_LIB_JPEG
|
||||
# Use bundled lua for now to ensure correct compilation (ref. b.g.o #407091)
|
||||
# enable_feature USE_SYSTEM_LIB_LUA
|
||||
enable_feature USE_SYSTEM_LIB_PORTAUDIO
|
||||
enable_feature USE_SYSTEM_LIB_SQLITE3
|
||||
enable_feature USE_SYSTEM_LIB_ZLIB
|
||||
|
||||
# Disable warnings being treated as errors and enable verbose build output
|
||||
enable_feature NOWERROR
|
||||
enable_feature VERBOSE
|
||||
|
||||
use amd64 && enable_feature PTR64
|
||||
use debug && enable_feature DEBUG
|
||||
use tools && enable_feature TOOLS
|
||||
disable_feature NO_X11 # bgfx needs X
|
||||
use openmp && enable_feature OPENMP
|
||||
|
||||
if use alsa ; then
|
||||
enable_feature USE_SYSTEM_LIB_PORTMIDI
|
||||
else
|
||||
enable_feature NO_USE_MIDI
|
||||
fi
|
||||
|
||||
sed -i \
|
||||
-e 's/-Os//' \
|
||||
-e '/^\(CC\|CXX\|AR\) /s/=/?=/' \
|
||||
3rdparty/genie/build/gmake.linux/genie.make || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local targetargs
|
||||
local qtdebug=$(usex debug 1 0)
|
||||
|
||||
use arcade && ! use mess && targetargs="SUBTARGET=arcade"
|
||||
! use arcade && use mess && targetargs="SUBTARGET=mess"
|
||||
|
||||
function my_emake() {
|
||||
# Workaround conflicting $ARCH variable used by both Gentoo's
|
||||
# portage and by Mame's build scripts
|
||||
PYTHON_EXECUTABLE=${PYTHON} \
|
||||
OVERRIDE_CC=$(tc-getCC) \
|
||||
OVERRIDE_CXX=$(tc-getCXX) \
|
||||
OVERRIDE_LD=$(tc-getCXX) \
|
||||
QT_SELECT=qt5 \
|
||||
QT_HOME="$(qt5_get_libdir)/qt5" \
|
||||
ARCH= \
|
||||
emake "$@" \
|
||||
AR=$(tc-getAR)
|
||||
}
|
||||
my_emake -j1 generate
|
||||
|
||||
my_emake ${targetargs} \
|
||||
SDL_INI_PATH="\$\$\$\$HOME/.sdlmame;/etc/${PN}" \
|
||||
USE_QTDEBUG=${qtdebug}
|
||||
|
||||
#if use tools ; then
|
||||
# my_emake -j1 TARGET=ldplayer USE_QTDEBUG=${qtdebug}
|
||||
#fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local MAMEBIN
|
||||
local suffix="$(use debug && echo d)"
|
||||
local f
|
||||
|
||||
function mess_install() {
|
||||
dosym ${MAMEBIN} "/usr/bin/mess${suffix}"
|
||||
dosym ${MAMEBIN} "/usr/bin/sdlmess"
|
||||
}
|
||||
if use arcade ; then
|
||||
if use mess ; then
|
||||
MAMEBIN="mame${suffix}"
|
||||
mess_install
|
||||
else
|
||||
MAMEBIN="mamearcade${suffix}"
|
||||
fi
|
||||
doman docs/man/mame.6
|
||||
newman docs/man/mame.6 ${PN}.6
|
||||
elif use mess ; then
|
||||
MAMEBIN="mess${suffix}"
|
||||
mess_install
|
||||
fi
|
||||
dobin ${MAMEBIN}
|
||||
dosym ${MAMEBIN} "/usr/bin/${PN}"
|
||||
|
||||
insinto "/usr/share/${PN}"
|
||||
doins -r keymaps $(use mess && echo hash)
|
||||
|
||||
# Create default mame.ini and inject Gentoo settings into it
|
||||
# Note that '~' does not work and '$HOME' must be used
|
||||
./${MAMEBIN} -noreadconfig -showconfig > "${T}/mame.ini" || die
|
||||
# -- Paths --
|
||||
for f in {rom,hash,sample,art,font,crosshair} ; do
|
||||
sed -i \
|
||||
-e "s:\(${f}path\)[ \t]*\(.*\):\1 \t\t\$HOME/.${PN}/\2;/usr/share/${PN}/\2:" \
|
||||
"${T}/mame.ini" || die
|
||||
done
|
||||
for f in {ctrlr,cheat} ; do
|
||||
sed -i \
|
||||
-e "s:\(${f}path\)[ \t]*\(.*\):\1 \t\t\$HOME/.${PN}/\2;/etc/${PN}/\2;/usr/share/${PN}/\2:" \
|
||||
"${T}/mame.ini" || die
|
||||
done
|
||||
# -- Directories
|
||||
for f in {cfg,nvram,memcard,input,state,snapshot,diff,comment} ; do
|
||||
sed -i \
|
||||
-e "s:\(${f}_directory\)[ \t]*\(.*\):\1 \t\t\$HOME/.${PN}/\2:" \
|
||||
"${T}/mame.ini" || die
|
||||
done
|
||||
# -- Keymaps --
|
||||
sed -i \
|
||||
-e "s:\(keymap_file\)[ \t]*\(.*\):\1 \t\t\$HOME/.${PN}/\2:" \
|
||||
"${T}/mame.ini" || die
|
||||
for f in keymaps/km*.map ; do
|
||||
sed -i \
|
||||
-e "/^keymap_file/a \#keymap_file \t\t/usr/share/${PN}/keymaps/${f##*/}" \
|
||||
"${T}/mame.ini" || die
|
||||
done
|
||||
insinto "/etc/${PN}"
|
||||
doins "${T}/mame.ini"
|
||||
|
||||
insinto "/etc/${PN}"
|
||||
doins "${FILESDIR}/vector.ini"
|
||||
|
||||
#dodoc docs/{config,mame,newvideo}.txt
|
||||
keepdir \
|
||||
"/usr/share/${PN}"/{ctrlr,cheat,roms,samples,artwork,crosshair} \
|
||||
"/etc/${PN}"/{ctrlr,cheat}
|
||||
|
||||
if use tools ; then
|
||||
for f in castool chdman floptool imgtool jedutil ldresample ldverify romcmp ; do
|
||||
newbin ${f} ${PN}-${f}
|
||||
newman docs/man/${f}.1 ${PN}-${f}.1
|
||||
done
|
||||
#newbin ldplayer${suffix} ${PN}-ldplayer
|
||||
#newman docs/man/ldplayer.1 ${PN}-ldplayer.1
|
||||
fi
|
||||
|
||||
newicon "${DISTDIR}/${PN}.png" "${PN}".png
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
|
||||
elog "It is strongly recommended to change either the system-wide"
|
||||
elog " /etc/${PN}/mame.ini or use a per-user setup at ~/.${PN}/mame.ini"
|
||||
elog
|
||||
if use opengl ; then
|
||||
elog "You built ${PN} with opengl support and should set"
|
||||
elog "\"video\" to \"opengl\" in mame.ini to take advantage of that"
|
||||
elog
|
||||
elog "For more info see http://wiki.mamedev.org"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm(){
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
DIST heroic-2.6.2.tar.xz 96936084 BLAKE2B 5e74d444a9c0e692303ccde962c725a07c576e770bc7360f307a0963abe4c418572d1b06eb04b2134d4f215a26ab0c01002c089a7e01955ce5bd3cba44755a1e SHA512 4f2b590a0c2de77d14eb953cfd0e2e80aa1512b5187f972c28eaddb88f9120c034f9dbbf7ab0b85867a9750d25810d35f27a8dd511b5bad9c08667dd7d5e8c3a
|
||||
DIST heroic-2.7.0.tar.xz 97955260 BLAKE2B 61efd8c92ff125b8d599ed2d20f8efbd528ab18c648512350c8128007dc65cf668d14be62d4a584c2f203ca9c274da99f5db6e22ecdd2c0bf805686eadafa93d SHA512 a576dc2fe1ee92dfe41270aad3d8d64a132ea8e5965ffeb656081f8174a9f4ff352d93599a4e9961416466e9d83b04bbc0fae12f9443aa36248a01466df7c4f8
|
||||
EBUILD heroic-2.6.2.ebuild 1337 BLAKE2B affa5e676096e63a8c52fbfec3e39b2e082546f94719ca58ef554722dbfc9bb465ae456e98b35b0359183fbb007dff23738070179eb4e028a3f874b481046d03 SHA512 98c2f858529b6cd2bde6a1ad1db3d739ea77d9287cd96f20badeee8c9af4034f051ad0dc3ae9fdeb74cbfb2ca121b1f9b72c15b258bad990fd177411372abd1c
|
||||
EBUILD heroic-2.7.0.ebuild 1337 BLAKE2B affa5e676096e63a8c52fbfec3e39b2e082546f94719ca58ef554722dbfc9bb465ae456e98b35b0359183fbb007dff23738070179eb4e028a3f874b481046d03 SHA512 98c2f858529b6cd2bde6a1ad1db3d739ea77d9287cd96f20badeee8c9af4034f051ad0dc3ae9fdeb74cbfb2ca121b1f9b72c15b258bad990fd177411372abd1c
|
||||
@@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop linux-info unpacker xdg
|
||||
|
||||
DESCRIPTION="a Native alternative Linux Launcher for Epic Games and GOG"
|
||||
HOMEPAGE="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher"
|
||||
SRC_URI="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases/download/v${PV}/${PN}-${PV}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
RESTRICT="mirror"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/wayland
|
||||
net-misc/curl
|
||||
sys-apps/gawk
|
||||
virtual/wine"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/heroic/chrome-sandbox
|
||||
opt/heroic/libEGL.so
|
||||
opt/heroic/${PN}
|
||||
opt/heroic/libvulkan.so.1
|
||||
opt/heroic/libffmpeg.so
|
||||
opt/heroic/libGLESv2.so
|
||||
opt/heroic/swiftshader/libEGL.so
|
||||
opt/heroic/swiftshader/libGLESv2.so
|
||||
opt/heroic/libvk_swiftshader.so
|
||||
opt/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl
|
||||
opt/heroic/resources/app.asar.unpacked/build/bin/linux/legendary
|
||||
"
|
||||
|
||||
CONFIG_CHECK="~USER_NS"
|
||||
|
||||
src_install() {
|
||||
insinto /opt
|
||||
doins -r .
|
||||
mv ../image/opt/${P} ../image/opt/${PN}
|
||||
fperms +x /opt/${PN}/${PN}
|
||||
fperms +x /opt/${PN}/resources/app.asar.unpacked/build/bin/linux/legendary
|
||||
fperms +x /opt/${PN}/resources/app.asar.unpacked/build/bin/linux/gogdl
|
||||
mkdir -p opt/bin
|
||||
dosym ../../opt/${PN}/${PN} opt/bin/${PN}
|
||||
}
|
||||
@@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop linux-info unpacker xdg
|
||||
|
||||
DESCRIPTION="a Native alternative Linux Launcher for Epic Games and GOG"
|
||||
HOMEPAGE="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher"
|
||||
SRC_URI="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases/download/v${PV}/${PN}-${PV}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
RESTRICT="mirror"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/wayland
|
||||
net-misc/curl
|
||||
sys-apps/gawk
|
||||
virtual/wine"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/heroic/chrome-sandbox
|
||||
opt/heroic/libEGL.so
|
||||
opt/heroic/${PN}
|
||||
opt/heroic/libvulkan.so.1
|
||||
opt/heroic/libffmpeg.so
|
||||
opt/heroic/libGLESv2.so
|
||||
opt/heroic/swiftshader/libEGL.so
|
||||
opt/heroic/swiftshader/libGLESv2.so
|
||||
opt/heroic/libvk_swiftshader.so
|
||||
opt/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl
|
||||
opt/heroic/resources/app.asar.unpacked/build/bin/linux/legendary
|
||||
"
|
||||
|
||||
CONFIG_CHECK="~USER_NS"
|
||||
|
||||
src_install() {
|
||||
insinto /opt
|
||||
doins -r .
|
||||
mv ../image/opt/${P} ../image/opt/${PN}
|
||||
fperms +x /opt/${PN}/${PN}
|
||||
fperms +x /opt/${PN}/resources/app.asar.unpacked/build/bin/linux/legendary
|
||||
fperms +x /opt/${PN}/resources/app.asar.unpacked/build/bin/linux/gogdl
|
||||
mkdir -p opt/bin
|
||||
dosym ../../opt/${PN}/${PN} opt/bin/${PN}
|
||||
}
|
||||
@@ -1,4 +1,6 @@
|
||||
DIST gscreenshot-2.18.0.tar.gz 123583 BLAKE2B edd9b9da59a1faee23e28b99af7ca7b868282341dfffc207fdb0c622475094ccdf785e6c1c689d3bb6b5e3d9b25fd3678af2c895d7a2c9832796e0a808636184 SHA512 2a0bf2e067ecd35c1688cb9f6f1656ffd0e93efe0d665fb23ea240eb2e20ff8dd8f824517b3a96ca6b0e359d61ca4d1d2ee37ebf1efd684bed79435ee5a4afe8
|
||||
DIST gscreenshot-3.3.0.tar.gz 150046 BLAKE2B 68701c9a6cabb9a8c0cba5833c554f78eb54787a80b3f5fc964e74ca5249b4c022fce83f3507247569443fcfba09933ea9d26a672863a48ff5952aa30c717509 SHA512 65406a02629f493729fc9d83eaa3004f5dd4a0c1e298a33ea17d31623b483c49fb1794b6dcd44acef1bc41854accb260528dafa8e98d92009351379f0a274aa1
|
||||
DIST gscreenshot-3.4.1.tar.gz 150794 BLAKE2B aa5a6654ca2ecaa373343fdf68948c7368871ded3bb46deef574c7b61896c0a090a13a2b217685bd0bd20819e7f145c7d39cc8f8b5fef6cbdb7c7e5cdb06c346 SHA512 d1cfc29ea82769cbd792bf7e83e2cbe4ddd90548162a7c04e16da22305a7eb2691aa04d1c9518c7089696ea5969503f7d16cfea5054e30f7d7a0a1eaada3a2c6
|
||||
EBUILD gscreenshot-2.18.0.ebuild 625 BLAKE2B c87d3f0f37fbe96b4981eb8a3160a18959a4ac37acc2f059a5918714a9e413ecf3228c9a9c31b63aee5bf968ad1d2b2131f822136e65a546fc1f96bb9c8c0387 SHA512 0d605ac86c0205be3f44c3d3529f35c96e75968cfbfb86d8b0cd52527e26ebdeb308798466ab0615fad5e274f0a920584eb253b68eb8c919795549db7e5837b5
|
||||
EBUILD gscreenshot-3.3.0.ebuild 625 BLAKE2B dabcf94d53910c8aba0da32d4d641f8fc955c7e5659218d2ae8e6b9ee7841aba0acdf9fc65e71f85923ee77835bcb513b09c8e3716b8906d5dc1647c16fa71f7 SHA512 347911bfb213fe63122ecf1ae45b60108f974ede2ffb6899603daeadcd09a0178e1081fa8f5128995561695ece4c58814b111fa2f682059df28393f02fffbe54
|
||||
EBUILD gscreenshot-3.4.1.ebuild 625 BLAKE2B dabcf94d53910c8aba0da32d4d641f8fc955c7e5659218d2ae8e6b9ee7841aba0acdf9fc65e71f85923ee77835bcb513b09c8e3716b8906d5dc1647c16fa71f7 SHA512 347911bfb213fe63122ecf1ae45b60108f974ede2ffb6899603daeadcd09a0178e1081fa8f5128995561695ece4c58814b111fa2f682059df28393f02fffbe54
|
||||
|
||||
27
media-gfx/gscreenshot/gscreenshot-3.4.1.ebuild
Normal file
27
media-gfx/gscreenshot/gscreenshot-3.4.1.ebuild
Normal file
@@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A simple GUI frontend for the scrot, imlib2, or ImageMagick screenshooters"
|
||||
HOMEPAGE="https://github.com/thenaterhood/gscreenshot"
|
||||
SRC_URI="https://github.com/thenaterhood/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-python/pillow
|
||||
dev-python/pygobject
|
||||
dev-python/setuptools
|
||||
media-gfx/scrot
|
||||
x11-misc/xclip"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( README.md )
|
||||
@@ -1,4 +1,4 @@
|
||||
DIST recoil-6.3.1.tar.gz 499409 BLAKE2B f3a31a18c6af8aea511a45fdf73b6f10de4f47956867f77a7c8565ef219732f7ba9f6779d1619779704ca7e1c13da1958f2928448176421088405d4d503454f4 SHA512 807d6daae7734dac7ae1377cbd473030e63bb30296f81493ad99582f4ebd053d902f7c016aa8d0d357cf592a5971a7435dbf52baba733971b94169e1c3879329
|
||||
DIST recoil-6.3.2.tar.gz 502472 BLAKE2B 0c1e950c3ec97197af73eae4323ee449404a2d8e55eed03cc5b011acd35961474054308402509f0147d064aad81647444d337b6af83d6fd72480c80272405b79 SHA512 b32673008a21365269e35f7af1131fa5856d6187410078b40897c5fab9ac841760e8b489abe5d96c0553323340c945a6fb1a28570d20cc10b417e66060bda3a6
|
||||
EBUILD recoil-6.3.1.ebuild 478 BLAKE2B 9a5cadf2f6296621996d6019f3f5f0a5af2db01d06460f810882cadba158ab689fe1e243881510d9288792cc8d768d8f12f43c96b1410cabca4fe1aed823108a SHA512 8f045f808bb7c1dcdcdb3dcf0439b2931a1525a9e2b4c32e0b60ffdfcdd1266bdc19104403f530c3a1ed51b8d82ef93451e35defbda249a5416b8eb3143e8a6b
|
||||
DIST recoil-6.3.4.tar.gz 508678 BLAKE2B b27fbcc40bb996773fc5b8f62feb9d54cb29a28283ecb655127628610d7eb8474f3c3df05f656a527fdb620806d5617f831d16d1421fa2c861809623b4b60417 SHA512 5ab496b06b3c0c1069e75235024272d4e2348d45189bb39f2e8823eea4b871504e06a9ea91a06d8a23b3f8f3f5fa0a26381dde6265df10193a285207180f62aa
|
||||
EBUILD recoil-6.3.2.ebuild 478 BLAKE2B 9a5cadf2f6296621996d6019f3f5f0a5af2db01d06460f810882cadba158ab689fe1e243881510d9288792cc8d768d8f12f43c96b1410cabca4fe1aed823108a SHA512 8f045f808bb7c1dcdcdb3dcf0439b2931a1525a9e2b4c32e0b60ffdfcdd1266bdc19104403f530c3a1ed51b8d82ef93451e35defbda249a5416b8eb3143e8a6b
|
||||
EBUILD recoil-6.3.4.ebuild 478 BLAKE2B 9a5cadf2f6296621996d6019f3f5f0a5af2db01d06460f810882cadba158ab689fe1e243881510d9288792cc8d768d8f12f43c96b1410cabca4fe1aed823108a SHA512 8f045f808bb7c1dcdcdb3dcf0439b2931a1525a9e2b4c32e0b60ffdfcdd1266bdc19104403f530c3a1ed51b8d82ef93451e35defbda249a5416b8eb3143e8a6b
|
||||
|
||||
@@ -4,9 +4,4 @@ AUX wicd-1.7.3-bitrate-property.patch 775 BLAKE2B d1897f86293f11ea3cab807500eb08
|
||||
AUX wicd-1.7.3-undefined-LANG.patch 946 BLAKE2B 8f9cbebc5acb32d36c7335083f13e76ba46424bc0069d057770c94f7fbd64039c8d00d8323bd737ec39079554bb607723ca7ed3886da8bc1fdeaa59f63f545c1 SHA512 c2d197d41a84975bb3caf44de9b05b741b6702c38079ecc917632f9eedcf2be71373416154013690620511f2e9e99fb0d88cee0b22292fe007795cde664e63e5
|
||||
AUX wicd-1.7.3-urwid-1.3.0.patch 477 BLAKE2B b573ad0b47e1cf5ec0b78d0beff0c2791f5d918a59190afe48fc3f7cd1920c45e27818dcf88ece610d5187ee5ba5f2a014e290c625c0c586b5a78490879ed9fc SHA512 f5904e9fd082fb77d6b930285d6f1662d603d11c348068ec29820683aee319adf4ff0ddd28f7da80dc3c5b5834d9f9a0649d4077aed09d6c8ce8e24d8791d5c6
|
||||
AUX wicd-init-sve-start.patch 317 BLAKE2B 12fbe09fc6649b24b9f5c11dd867a8f1c5f88c39ea82381a4d5b063324493895963435ec1d874d7ce25783cdc4bf1f4eff3637a45ad407e073063ebe4e047782 SHA512 d62db40a156aa9e7b97b23b3ebceded77bcae18ae513c39b8e4ef8733c30429059a83f932c83b3cf0b90fd0aeeeadc6249a71498c569630df057037acf43f3fc
|
||||
DIST Icone-Wicd-Lucid.tar.gz 9015 BLAKE2B 20c55968fe2be08a6dc5e2b3584f9c4294c69a988789bcaad80bed02daf0cc971344578eac7a69208fabb0c5faefb47891dec0977d04d7bcfcb24c9ba7394385 SHA512 0df0dbdf05b462264dca2dd9955454a82f688b0fbfa7c2ad70a424df57eb27b35561d37819fc88b5746cff8a54de5b7b43ec325d2f98a4a1a30e4d500e86d2f8
|
||||
DIST wicd-1.7.4.tar.gz 547393 BLAKE2B 045073781eb81a29754a238c0fded5d3225727497ea24c6cea58a1c72b83da76af6fc40a8e7345652c2dc9eb68ed24e0d97e421fd8c9e4d909a2c8f9460881ea SHA512 1e99a45daa858eba634e60e50c22aa2fab3fc4d643979a6741b6164bf500bd6db285d11c12ccd164ab6cf0792284e319e3c3447804088e74b4fc67bb6f431959
|
||||
DIST wicd-mac4lin-icons.tar.xz 53136 BLAKE2B 5064546c2aebda92ce168847f2821ff11653939c21667f7f48263d3be0a9100dffa1322b9b2842cb92a2ca50dec39114b1246b057663ede8708db17271f16af3 SHA512 98ed3f92ec361aa8651c64efdb5128b8f73068f1cf2423640dafc4b46889ae32c1d1f56f509ad609b2bf98f634f8ada4c501f2294e3a64affd1befd4400498a8
|
||||
EBUILD wicd-1.7.4-r3.ebuild 5063 BLAKE2B 64b0a6b00f68c554b240bfff6572e766d9ea88928896c68dccbcaac37d1bd56328ea032e6a6f4f554400bb301ed8362c735772540751edbbfedd2d2b4a51c2ca SHA512 defa56dc408a9175a0ca806c66056ed97d3972910284887a177e0dc312ec70b434b8b7ecbaf10cdac29b825796b2ca064892925b0f24f0dbd6a1e0e3485c9b7e
|
||||
EBUILD wicd-9999.ebuild 2898 BLAKE2B 08a3935e58a417319e15d36805c64a96bc04f8aa64cd0172fdb363dbb3f8d31664c49e82d1c317c67359aff95c182163cbb6cac0c2accf361dcadff73407f594 SHA512 c1fcf27b2ef13cb1dbdce27969a433f7052302f02036d94821d5c3f2f6bb09960eb530c64d610c215b37dd3c88d3f1db3318f551db350acd1f8a0d6d27fef387
|
||||
MISC metadata.xml 913 BLAKE2B 8e18aa7554e1bafb89f90f6fa27bfbfedf76d3cc63929311d2ad4c87cd13869dcc2cc90c126c9ef61ebba5ff765e59656a5516cb410fb365beaa97dc47d54e11 SHA512 2cc53e7e0f14169b88d26324b071b2078012cc57bd9ddae0b14f18efbe2d1bc1ef0b66122c178b0e3019a48bec2ba87fc09186b4d8a96e8e7d8e51a997c09d69
|
||||
EBUILD wicd-9999.ebuild 3788 BLAKE2B 4fb919309de40f2c21fc9918fb6ba150ab43c9f28b580aaf8203eb116f3534f3fcd47593c2f3aa546e386f8d65fc6fa481aaeb321f37eab1bccd8025573ca1e1 SHA512 3c922d9286a7b5b454b60f6ec3647bdb9e4b90dd7caa0f9500256f8f4b987f92b3c85f25a0222e50cb3a511650557da8f580dcb0b5da3943713d0ae2a9e46266
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<use>
|
||||
<flag name="ambiance">Install icons from Ubuntu's ambiance theme</flag>
|
||||
<flag name="gtk">Installs a gtk UI. This is enabled by default because it is
|
||||
intended behavior. Requires <pkg>dev-python/pygtk</pkg></flag>
|
||||
<flag name="ioctl">Installs additional python libraries to use as a backend.
|
||||
This will improve speed but is experimental.</flag>
|
||||
<flag name="mac4lin">Change default icons to mac4lin icon set</flag>
|
||||
<flag name="ncurses">Installs a ncurses UI</flag>
|
||||
<flag name="pm-utils">Installs the pm-utils hooks for suspend/resume and
|
||||
requires <pkg>sys-power/pm-utils</pkg></flag>
|
||||
<flag name="gnome-shell">Install gnome-shell extension</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="launchpad">wicd</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,153 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="ncurses?,xml"
|
||||
|
||||
inherit eutils distutils-r1 linux-info readme.gentoo-r1 systemd
|
||||
|
||||
DESCRIPTION="A lightweight wired and wireless network manager for Linux"
|
||||
HOMEPAGE="https://launchpad.net/wicd"
|
||||
SRC_URI="https://launchpad.net/wicd/1.7/${PV}/+download/${P}.tar.gz
|
||||
mac4lin? ( https://dev.gentoo.org/~anarchy/dist/wicd-mac4lin-icons.tar.xz )
|
||||
ambiance? ( http://freetimesblog.altervista.org/blog/wp-content/uploads/downloads/2010/05/Icone-Wicd-Lucid.tar.gz )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
|
||||
IUSE="doc X ambiance +gtk ioctl libnotify mac4lin ncurses nls +pm-utils gnome-shell"
|
||||
|
||||
DEPEND="nls? ( dev-python/Babel[${PYTHON_USEDEP}] )"
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
X? (
|
||||
gtk? ( dev-python/pygtk[${PYTHON_USEDEP}] )
|
||||
|| (
|
||||
x11-misc/ktsuss
|
||||
kde-plasma/kde-cli-tools[kdesu]
|
||||
)
|
||||
)
|
||||
|| (
|
||||
net-misc/dhcpcd
|
||||
net-misc/dhcp
|
||||
net-misc/pump
|
||||
)
|
||||
net-wireless/wireless-tools
|
||||
net-wireless/wpa_supplicant
|
||||
|| (
|
||||
sys-apps/net-tools
|
||||
sys-apps/ethtool
|
||||
)
|
||||
!gtk? ( dev-python/pygobject:2[${PYTHON_USEDEP}] )
|
||||
ioctl? ( dev-python/python-iwscan[${PYTHON_USEDEP}]
|
||||
dev-python/python-wpactrl[${PYTHON_USEDEP}] )
|
||||
libnotify? ( dev-python/notify-python[${PYTHON_USEDEP}] )
|
||||
ncurses? (
|
||||
dev-python/urwid[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:2[${PYTHON_USEDEP}]
|
||||
)
|
||||
pm-utils? ( sys-power/pm-utils )
|
||||
gnome-shell? ( gnome-base/gnome-shell )
|
||||
|| (
|
||||
>=sys-apps/util-linux-2.31_rc1
|
||||
net-wireless/rfkill
|
||||
)
|
||||
"
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-init-sve-start.patch
|
||||
# The Categories entry in the .desktop files is outdated
|
||||
"${FILESDIR}"/${PN}-1.7.2.4-fix-desktop-categories.patch
|
||||
# Upstream bug https://bugs.launchpad.net/wicd/+bug/1412413
|
||||
# Creates files -> give -p
|
||||
"${FILESDIR}"/${PN}-1.7.3-add-missing-gnome-shell-extension.patch
|
||||
# If LANG is undefined, build can fail (bug 537202)
|
||||
"${FILESDIR}"/${PN}-1.7.3-undefined-LANG.patch
|
||||
# Fix urwid compat again
|
||||
"${FILESDIR}"/${PN}-1.7.3-urwid-1.3.0.patch
|
||||
# Another compatibility patch from launchpad bug 1075399
|
||||
"${FILESDIR}"/${PN}-1.7.3-bitrate-property.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
CONFIG_CHECK="~CFG80211_WEXT"
|
||||
local WARNING_CFG80211_WEXT="Wireless extensions have not been \
|
||||
configured in your kernel. Wicd will not work unless CFG80211_WEXT is set."
|
||||
check_extra_config
|
||||
|
||||
default
|
||||
|
||||
# get rid of opts variable to fix bug 381885
|
||||
sed -i "/opts/d" "in/init=gentoo=wicd.in" || die
|
||||
# Need to ensure that generated scripts use Python 2 at run time.
|
||||
sed -e "s:self.python = '/usr/bin/python':self.python = '/usr/bin/python2':" \
|
||||
-i setup.py || die "sed failed"
|
||||
# Fix misc helper scripts:
|
||||
sed -e "s:/usr/bin/env python:/usr/bin/env python2:" \
|
||||
-i wicd/suspend.py wicd/autoconnect.py wicd/monitor.py || die
|
||||
# fix shebang for openrc init script (bug #573846)
|
||||
sed 's@/sbin/runscript@/sbin/openrc-run@' \
|
||||
-i in/init=gentoo=wicd.in || die
|
||||
if use nls; then
|
||||
# Asturian is faulty with PyBabel
|
||||
# (https://bugs.launchpad.net/wicd/+bug/928589)
|
||||
rm po/ast.po
|
||||
# zh_CN fails with newer PyBabel (Aug 2013)
|
||||
rm po/zh_CN.po
|
||||
else
|
||||
# nuke translations
|
||||
rm po/*.po
|
||||
fi
|
||||
|
||||
DOC_CONTENTS="To start wicd at boot with openRC, add
|
||||
/etc/init.d/wicd to a runlevel and: (1) Remove all net.*
|
||||
initscripts (except for net.lo) from all runlevels (2) Add these
|
||||
scripts to the RC_PLUG_SERVICES line in /etc/rc.conf (For
|
||||
example, rc_hotplug=\"!net.eth* !net.wlan*\")"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use gtk || myconf="${myconf} --no-install-gtk"
|
||||
use libnotify || myconf="${myconf} --no-use-notifications"
|
||||
use ncurses || myconf="${myconf} --no-install-ncurses"
|
||||
use pm-utils || myconf="${myconf} --no-install-pmutils"
|
||||
use gnome-shell || myconf="${myconf} --no-install-gnome-shell-extensions"
|
||||
python_setup
|
||||
"${EPYTHON}" ./setup.py configure --no-install-docs \
|
||||
--resume=/usr/share/wicd/scripts/ \
|
||||
--suspend=/usr/share/wicd/scripts/ \
|
||||
--verbose ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
keepdir /var/lib/wicd/configurations
|
||||
keepdir /etc/wicd/scripts/{postconnect,disconnect,preconnect}
|
||||
keepdir /var/log/wicd
|
||||
use nls || rm -rv "${D}"/usr/share/locale
|
||||
systemd_dounit "${S}/other/wicd.service"
|
||||
|
||||
if use mac4lin; then
|
||||
rm -rf "${D}"/usr/share/pixmaps/wicd || die "Failed to remove old icons"
|
||||
mv "${WORKDIR}"/wicd "${D}"/usr/share/pixmaps/ || die
|
||||
fi
|
||||
if use ambiance; then
|
||||
# Overwrite tray icons with ambiance icon
|
||||
rm "${WORKDIR}/Icone Wicd Lucid"/signal* || die
|
||||
cp "${WORKDIR}/Icone Wicd Lucid"/*.png "${D}"/usr/share/pixmaps/wicd/ || die
|
||||
fi
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Maintainer's note: the consolekit use flag short circuits a dbus rule and
|
||||
# allows the connection. Else, you need to be in the group.
|
||||
if ! has_version sys-auth/consolekit; then
|
||||
ewarn "Wicd-1.6 and newer requires your user to be in the 'users' group. If"
|
||||
ewarn "you are not in that group, then modify /etc/dbus-1/system.d/wicd.conf"
|
||||
fi
|
||||
|
||||
readme.gentoo_print_elog
|
||||
}
|
||||
@@ -1,23 +1,30 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
# NOTE: WICD is still broken, although there was some work done with porting
|
||||
# it to Python3 and make it work again. See https://git.launchpad.net/wicd for
|
||||
# latest commits.
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8} )
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11,12} )
|
||||
PYTHON_REQ_USE="ncurses,xml"
|
||||
|
||||
inherit eutils distutils-r1 linux-info readme.gentoo-r1 systemd git-r3
|
||||
inherit distutils-r1 linux-info readme.gentoo-r1 systemd git-r3
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
DESCRIPTION="A lightweight wired and wireless network manager for Linux"
|
||||
HOMEPAGE="https://launchpad.net/wicd"
|
||||
#EGIT_REPO_URI='https://git.launchpad.net/wicd'
|
||||
EGIT_REPO_URI='https://git.launchpad.net/wicd'
|
||||
#EGIT_COMMIT='63812468bec3ee94c2dd6c8268f9e7b341273be5'
|
||||
#EGIT_REPO_URI='https://github.com/gryf/wicd'
|
||||
EGIT_REPO_URI='file:///home/gryf/Devel/Python/wicd'
|
||||
#EGIT_REPO_URI='file:///home/gryf/Devel/Python/wicd'
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
|
||||
#KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
|
||||
|
||||
KEYWORDS=""
|
||||
IUSE="doc nls +pm-utils"
|
||||
|
||||
DEPEND="nls? ( dev-python/Babel[${PYTHON_USEDEP}] )"
|
||||
@@ -38,6 +45,21 @@ RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
pm-utils? ( sys-power/pm-utils )
|
||||
"
|
||||
PATCHES=(
|
||||
# This one is probably not needed: "${FILESDIR}"/${PN}-init-sve-start.patch
|
||||
# The Categories entry in the .desktop files is outdated. Valid.
|
||||
"${FILESDIR}"/${PN}-1.7.2.4-fix-desktop-categories.patch
|
||||
# Upstream bug https://bugs.launchpad.net/wicd/+bug/1412413
|
||||
# Creates files -> give -p
|
||||
# This one is probably outdated now: "${FILESDIR}"/${PN}-1.7.3-add-missing-gnome-shell-extension.patch
|
||||
# If LANG is undefined, build can fail (bug 537202)
|
||||
# Outdated, setup.py is totally rewroten: "${FILESDIR}"/${PN}-1.7.3-undefined-LANG.patch
|
||||
# Fix urwid compat again
|
||||
# This one might be not needed, as currently urwid is in version 2.1.x: "${FILESDIR}"/${PN}-1.7.3-urwid-1.3.0.patch
|
||||
# Another compatibility patch from launchpad bug 1075399. This one is
|
||||
# valid.
|
||||
"${FILESDIR}"/${PN}-1.7.3-bitrate-property.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
CONFIG_CHECK="~CFG80211_WEXT"
|
||||
|
||||
Reference in New Issue
Block a user