summaryrefslogtreecommitdiff
path: root/multimedia/mythtv/mythtv.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-10-05 19:12:26 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-10-05 19:12:26 -0400
commitc6552875f8362bbb7fdb89c47f7481303b29087d (patch)
treeb83f244e48a2c477eec6298fdd854f2a86ffa0e0 /multimedia/mythtv/mythtv.SlackBuild
parent05aee03c4d4f3b94e7231c0b40ffa45334c52357 (diff)
downloadslackbuilds-c6552875f8362bbb7fdb89c47f7481303b29087d.tar.gz
multimedia/mythtv: Updated for version 0.26.0
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'multimedia/mythtv/mythtv.SlackBuild')
-rw-r--r--multimedia/mythtv/mythtv.SlackBuild19
1 files changed, 14 insertions, 5 deletions
diff --git a/multimedia/mythtv/mythtv.SlackBuild b/multimedia/mythtv/mythtv.SlackBuild
index e9c55ff50c..df60728d82 100644
--- a/multimedia/mythtv/mythtv.SlackBuild
+++ b/multimedia/mythtv/mythtv.SlackBuild
@@ -28,7 +28,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mythtv
-VERSION=0.25.2
+VERSION=0.26.0
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -83,6 +83,7 @@ CXXFLAGS="$SLKCFLAGS" \
--compile-type=release \
--dvb-path=/usr/include \
--with-bindings="perl,python,php" \
+ --perl-config-opts="INSTALLDIRS=vendor" \
--disable-ccache \
--disable-distcc \
--disable-hdhomerun \
@@ -96,12 +97,20 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-libfaac \
--enable-libx264 \
--enable-libvpx \
- --enable-libxvid
+ --enable-libxvid \
+ --enable-symbol-visibility \
+ --enable-pic
+
+# Pass libdir to zeromq.
+sed -i \
+ -e"s|--without-documentation|--without-documentation --libdir=/usr/lib$LIBDIRSUFFIX|" \
+ external/Makefile
make
-make install \
- INSTALLDIRS=vendor \
- INSTALL_ROOT="$PKG"
+make install INSTALL_ROOT="$PKG"
+
+# Don't package empty and wrong man directories.
+rm -rf $PKG/usr/share/man
mkdir -p $PKG/var/lib/mythtv
mkdir -p $PKG/var/cache/mythtv