Ajout mplayer
authorHugo Villeneuve <hugo@hugovil.com>
Mon, 24 Aug 2015 02:57:42 +0000 (22:57 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Mon, 24 Aug 2015 02:57:42 +0000 (22:57 -0400)
config/packages-list
stage5/hv-install-1
stage5/packages-update
stage5/pkg/mplayer [new file with mode: 0644]

index 94d156a..d3ca7ee 100644 (file)
@@ -221,7 +221,8 @@ BOOST="boost_1_57_0"
 LIBARCHIVE="libarchive-3.1.2"
 LIBCROCO="libcroco-0.6.8"
 LIBDVDCSS="libdvdcss-1.3.0"
-LIBDVDREAD="libdvdread-5.0.0"
+LIBDVDNAV="libdvdnav-5.0.3"
+LIBDVDREAD="libdvdread-5.0.3"
 LIBEPOXY="libepoxy-1.2"
 LIBEXIF="libexif-0.6.21"
 LIBEVENT="libevent-2.0.21"
@@ -293,6 +294,8 @@ MOC="moc-2.4.4"
 MMM_MODE="mmm-mode-purcell-2012-09-21"
 MOTIF="motif-2.3.4"
 MPC="mpc-1.0.2"
+MPLAYER="mplayer-2015-02-20"
+MPLAYER_SKIN="Clearlooks-1.6"
 MPFR="mpfr-3.1.2"
 MSMTP="msmtp-1.4.29"
 MTDEV="mtdev-1.1.3"
index 61ee5ec..22a36bc 100755 (executable)
@@ -112,6 +112,7 @@ ipkg -m noac ${CDRTOOLS}
 ipkg -m noac ${DVDRWTOOLS}
 ipkg ${LIBDVDCSS}
 ipkg -m acnb ${LIBDVDREAD}
+ipkg -m acnb ${LIBDVDNAV}
 ipkg -m noac ${DVDFS}
 ipkg -m acnb ${VOBCOPY}
 
@@ -239,6 +240,8 @@ if [ "x${INST_TYPE}" = "xworkstation" -o "x${INST_TYPE}" = "xltsp-server" ]; the
     if [ "x${USE_GNASH}" = "xyes" ]; then
         ipkg ${GNASH}
     fi
+
+    ipkg -m acnb ${MPLAYER}
 fi
 
 ipkg ${LIBGAMIN} "--libexecdir=/usr/sbin"
index 02cb840..b083a37 100755 (executable)
@@ -93,7 +93,9 @@ fpkg -e "tar.gz" ${DVDRWTOOLS} \
     "http://fy.chalmers.se/~appro/linux/DVD+RW/tools"
 fpkg -v 0 ${LIBDVDCSS} "http://www.videolan.org/pub/libdvdcss"
 fpkg -e "tar.bz2" -v 0 ${LIBDVDREAD} \
-    "http://download.videolan.org/pub/videolan/libdvdread"
+     "http://download.videolan.org/pub/videolan/libdvdread"
+fpkg -e "tar.bz2" -v 0 ${LIBDVDNAV} \
+     "http://download.videolan.org/videolan/libdvdnav"
 
 fpkg -e "tar.gz" ${DVDFS} "http://jspenguin.org:81/dvdfs"
 fpkg -e "tar.bz2" ${VOBCOPY} "http://vobcopy.org/download"
@@ -225,6 +227,11 @@ fpkg -m gnome ${GNOME_MENUS}
 fpkg -m sf -s "pcmanfm" -e "tar.xz" ${LIBFM}
 fpkg -m sf -e "tar.xz" ${PCMANFM}
 
+fpkg -e "tar.xz" ${MPLAYER} \
+     "http://anduin.linuxfromscratch.org/sources/other"
+fpkg -e "tar.bz2" ${MPLAYER_SKIN} \
+     "http://www.mplayerhq.hu/MPlayer/skins"
+
 fpkg -m gnome ${LIBGSF}
 fpkg -m gnome ${GOFFICE}
 fpkg -m gnome ${GNUMERIC}
diff --git a/stage5/pkg/mplayer b/stage5/pkg/mplayer
new file mode 100644 (file)
index 0000000..349f48d
--- /dev/null
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+hvconfig_pre()
+{
+    CONFIGURE_OPTS="\
+        --prefix=/usr \
+        --confdir=/etc/mplayer \
+        --enable-dynamic-plugins \
+        --enable-menu \
+        --enable-gui"
+}
+
+hvbuild_post()
+{
+    # Install skins
+    decompress_package ${MPLAYER_SKIN} /usr/share/mplayer/skins
+
+    ln  -sfvn Clearlooks /usr/share/mplayer/skins/default
+}