gemini-client/lagrange: add 1.5.0, drop 1.4.0
* use xdg eclass instead of xdg-utils * do not use -Werror for build * add flag for SSE4.1
This commit is contained in:
parent
a95660ce7b
commit
12f7ec9266
|
@ -1,2 +1,2 @@
|
||||||
DIST lagrange-1.4.0.tar.gz 21615275 BLAKE2B 8c068f8808a5a7691371f8fe4a268aacadb86dd0dd146a03ffc92503a7915876d2da42cee141ff787faa9abb6e702047095df8f0705c19289e6d4f9d7459c325 SHA512 3e173b4ed3732369ab7c83587b3810e4999c33fd46ffbe3338688268f96c300c0c7f932f5df6a47123c9627756fd7835671a596fccdceda3c7d2e73769083cd6
|
|
||||||
DIST lagrange-1.4.2.tar.gz 21616139 BLAKE2B a4fea160c292892ac938df155314564e162be60f236965604d2c2967bd057c2afd27312159f6bce86f64254d5d3c9818882c32631fdcebb9dbf36546cbb2d248 SHA512 ea0c8331011ba3d64b3e3053ec1a36016f49da188165552db90cb7f8bf2c46d4c42fd197d5d8edd4e243abb9821e7d520f1e5d12bbc6f49917f8b417329cb291
|
DIST lagrange-1.4.2.tar.gz 21616139 BLAKE2B a4fea160c292892ac938df155314564e162be60f236965604d2c2967bd057c2afd27312159f6bce86f64254d5d3c9818882c32631fdcebb9dbf36546cbb2d248 SHA512 ea0c8331011ba3d64b3e3053ec1a36016f49da188165552db90cb7f8bf2c46d4c42fd197d5d8edd4e243abb9821e7d520f1e5d12bbc6f49917f8b417329cb291
|
||||||
|
DIST lagrange-1.5.0.tar.gz 20403900 BLAKE2B ecf6c523a318e3e1880e862fa9f77194e31be43c800e9ddadd2e0a48a350b6178ebcadcd7e07a60666e25f48d9bfe8f8dba8d876254cbb623fbaad758f0767ee SHA512 157c0bf3eee446ed66f9ad90a24aaee763a0a88834c9cecfafd95112e35f22f569766cb56567dde97a18b96a2485885374962571b0d0545d356b9fc65e9994b1
|
||||||
|
|
|
@ -3,19 +3,20 @@
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
inherit cmake optfeature xdg-utils
|
inherit cmake xdg
|
||||||
|
|
||||||
DESCRIPTION="Desktop GUI client for browsing Geminispace"
|
DESCRIPTION="Desktop GUI client for browsing Geminispace"
|
||||||
HOMEPAGE="https://gmi.skyjake.fi/lagrange/
|
HOMEPAGE="https://gmi.skyjake.fi/lagrange/
|
||||||
https://git.skyjake.fi/gemini/lagrange"
|
https://git.skyjake.fi/gemini/lagrange"
|
||||||
SRC_URI="https://git.skyjake.fi/gemini/${PN}/releases/download/v${PV}/${P}.tar.gz"
|
SRC_URI="https://git.skyjake.fi/gemini/${PN}/releases/download/v${PV}/${P}.tar.gz"
|
||||||
|
|
||||||
LICENSE="BSD-2"
|
LICENSE="|| ( MIT Unlicense ) Apache-2.0 BSD-2 OFL-1.1"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64 ~x86"
|
KEYWORDS="~amd64 ~x86"
|
||||||
IUSE="+mp3"
|
IUSE="cpu_flags_x86_sse4_1 +mp3"
|
||||||
|
|
||||||
DEPEND="dev-libs/libpcre
|
DEPEND="
|
||||||
|
dev-libs/libpcre
|
||||||
dev-libs/libunistring
|
dev-libs/libunistring
|
||||||
dev-libs/openssl
|
dev-libs/openssl
|
||||||
media-libs/libsdl2
|
media-libs/libsdl2
|
||||||
|
@ -23,18 +24,20 @@ DEPEND="dev-libs/libpcre
|
||||||
sys-libs/zlib
|
sys-libs/zlib
|
||||||
"
|
"
|
||||||
RDEPEND="${DEPEND}"
|
RDEPEND="${DEPEND}"
|
||||||
BDEPEND=""
|
|
||||||
|
src_prepare() {
|
||||||
|
cmake_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
local mycmakeargs=(
|
local mycmakeargs=(
|
||||||
-DENABLE_MPG123=$(usex mp3)
|
-DENABLE_MPG123=$(usex mp3)
|
||||||
-DENABLE_IDLE_SLEEP=OFF # improves perfomance
|
-DENABLE_IDLE_SLEEP=OFF # reduce latency
|
||||||
|
|
||||||
|
# lib/the_Foundation
|
||||||
|
-DTFDN_ENABLE_WARN_ERROR=OFF
|
||||||
|
-DTFDN_ENABLE_SSE41=$(usex cpu_flags_x86_sse4_1)
|
||||||
)
|
)
|
||||||
|
|
||||||
cmake_src_configure
|
cmake_src_configure
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
Loading…
Reference in a new issue