mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-05-06 03:23:01 +02:00
Added new version of tvtime.
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2021 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools eutils git-r3
|
||||
|
||||
DESCRIPTION="High quality television application for use with video capture cards"
|
||||
HOMEPAGE="https://git.linuxtv.org/tvtime.git/about/"
|
||||
EGIT_REPO_URI="https://git.linuxtv.org/tvtime.git"
|
||||
EGIT_COMMIT="v${PV}"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64-linux ~arm-linux ~x86-linux"
|
||||
IUSE="nls static xinerama"
|
||||
|
||||
RDEPEND="dev-libs/icu
|
||||
dev-libs/libxml2
|
||||
media-libs/alsa-lib
|
||||
media-libs/freetype
|
||||
media-libs/libpng
|
||||
sys-libs/zlib
|
||||
x11-libs/libICE
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXext
|
||||
x11-libs/libXv
|
||||
x11-libs/libXxf86vm
|
||||
xinerama? ( x11-libs/libXinerama )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-saveconfig.patch"
|
||||
"${FILESDIR}/${P}-home.diff"
|
||||
"${FILESDIR}/${P}-freetype.patch"
|
||||
"${FILESDIR}/${P}-fix-warning-implicit-declaration-major.patch"
|
||||
"${FILESDIR}/${P}-disable-insecure-temp-file.patch"
|
||||
"${FILESDIR}/${P}-libxml2.patch"
|
||||
"${FILESDIR}/${P}-metainfo.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
eapply ${PATCHES[@]}
|
||||
eapply_user
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_enable static) \
|
||||
$(use_with xinerama) \
|
||||
|| die "econf failed"
|
||||
}
|
||||
Reference in New Issue
Block a user