Skip to content

Commit

Permalink
media-video/xine-ui: bump to 0.99.10
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.19, Repoman-2.3.6
  • Loading branch information
aballier committed Jan 13, 2018
1 parent b5ad239 commit 1041138
Show file tree
Hide file tree
Showing 2 changed files with 93 additions and 0 deletions.
1 change: 1 addition & 0 deletions media-video/xine-ui/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST xine-ui-0.99.10.tar.xz 1762968 BLAKE2B eede1a7b43f3fca37c092541145a4d13813185a740c396503bdfc93fd96d4d3bf52ad2daed4389634e2a517972c1233e3d9b1af74b718dd9def58eb2e702d967 SHA512 73cbc72375b27335e9d5f5527c35dab12d1ae40539b587630b3d8709471e4c61ce7b619062b75f587252c0647c234ffcf611f3b4e38e0447f7041b7ca5d7289e
DIST xine-ui-0.99.9.tar.xz 1759568 BLAKE2B 5e8d94c64d254f52c0e5f6926b5c0e8cc7ba065f00363e728e48d6dafb26e2cd5496fb20e3d81a1c4f5bf6165b6f13ed2b28eea31e6efd4f9e9256bed5bafc49 SHA512 575b20a19c5740ba0336af9dea0a1bc15d23b7471379b9d72aeb585e23f95b336368b96a28d4804726507f059dc431cc3f9adfd8b615b08c0e67b65287c2b6c7
92 changes: 92 additions & 0 deletions media-video/xine-ui/xine-ui-0.99.10.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5
inherit fdo-mime gnome2-utils

DESCRIPTION="Xine movie player"
HOMEPAGE="http://xine.sourceforge.net/"
SRC_URI="mirror://sourceforge/xine/${P}.tar.xz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd"
IUSE="aalib curl debug libcaca lirc nls readline vdr X xinerama"

RDEPEND="|| ( app-arch/tar app-arch/libarchive )
media-libs/libpng:0=
>=media-libs/xine-lib-1.2:=[aalib?,libcaca?]
virtual/jpeg:0
aalib? ( media-libs/aalib:= )
curl? ( >=net-misc/curl-7.10.2:= )
libcaca? ( media-libs/libcaca:= )
lirc? ( app-misc/lirc:= )
nls? ( virtual/libintl )
readline? ( >=sys-libs/readline-6.2:= )
X? (
x11-libs/libICE:=
x11-libs/libSM:=
x11-libs/libX11:=
x11-libs/libXext:=
x11-libs/libXft:=
x11-libs/libXrender:=
x11-libs/libXScrnSaver:=
x11-libs/libXtst:=
x11-libs/libXv:=
x11-libs/libXxf86vm:=
xinerama? ( x11-libs/libXinerama:= )
)"
DEPEND="${RDEPEND}
nls? ( >=sys-devel/gettext-0.18.3 )
X? (
x11-libs/libXt
x11-proto/inputproto
x11-proto/xf86vidmodeproto
xinerama? ( x11-proto/xineramaproto )
)
virtual/pkgconfig"

src_prepare() {
rm -f misc/xine-bugreport
}

src_configure() {
econf \
$(use_enable nls) \
$(use_enable xinerama) \
$(use_enable lirc) \
$(use_enable vdr vdr-keys) \
--disable-nvtvsimple \
$(use_enable debug) \
$(use_with X x) \
$(use_with readline) \
$(use_with curl) \
$(use_with aalib) \
$(use_with libcaca caca) \
--without-fb
}

src_install() {
emake \
DESTDIR="${D}" \
docdir="/usr/share/doc/${PF}" \
docsdir="/usr/share/doc/${PF}" \
install
dodoc AUTHORS ChangeLog NEWS README
}

pkg_preinst() {
gnome2_icon_savelist
}

pkg_postinst() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
gnome2_icon_cache_update
}

pkg_postrm() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
gnome2_icon_cache_update
}

0 comments on commit 1041138

Please sign in to comment.