[packages/mythtv] - enable python bindings - rel 3

baggins baggins at pld-linux.org
Fri May 17 22:45:46 CEST 2013


commit 2529ba62dc5304d2c4d2bc03aae02be1921f917f
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri May 17 22:45:28 2013 +0200

    - enable python bindings
    - rel 3

 mythtv.spec | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/mythtv.spec b/mythtv.spec
index 738ac69..c12ee26 100644
--- a/mythtv.spec
+++ b/mythtv.spec
@@ -5,10 +5,8 @@
 # - http://outflux.net/software/pkgs/mythtvfs-fuse/
 # - vaapi support - check for compatible versions of libva?
 # - bindings:
-#   WARNING: disabling Python bindings; missing MySQLdb
 #   WARNING: disabling Perl bindings; missing Net::UPnP::QueryResponse
 #   WARNING: disabling Perl bindings; missing Net::UPnP::ControlPoint
-# - dozen of unpackaged files
 #
 # Specfile for MythTV
 #
@@ -36,7 +34,7 @@
 %bcond_with     dshowserver	# enable directshow codecs server
 %bcond_with	perl
 %bcond_with	php
-%bcond_with	python
+%bcond_without	python
 %bcond_with	nvidia_headers	# build vdpau support with nvidia headers
 				# instead of libvdpau
 
@@ -57,7 +55,7 @@ Summary:	A personal video recorder (PVR) application
 Summary(pl.UTF-8):	Osobista aplikacja do nagrywania obrazu (PVR)
 Name:		mythtv
 Version:	0.26.0
-Release:	2
+Release:	3
 License:	GPL v2
 Group:		Applications/Multimedia
 Source0:	ftp://ftp.osuosl.org/pub/mythtv/%{name}-%{version}.tar.bz2
@@ -115,6 +113,9 @@ BuildRequires:	perl-Net-UPnP-QueryResponse
 BuildRequires:	perl-Net-UPnP-ControlPoint
 BuildRequires:	perl-IO-Socket-INET6
 %endif
+%if %{with python}
+BuildRequires:	python-MySQLdb
+%endif
 BuildRequires:	pkgconfig
 %{?with_pulseaudio:BuildRequires: pulseaudio-devel}
 BuildRequires:	python-devel
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mythtv.git/commitdiff/2529ba62dc5304d2c4d2bc03aae02be1921f917f



More information about the pld-cvs-commit mailing list