summaryrefslogtreecommitdiff
path: root/multimedia/mythtv/mythtv.SlackBuild
diff options
context:
space:
mode:
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