From 64bba700a142bc87cfdc2c91b03fd1b95d5392d4 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 17 Dec 2012 16:54:18 +0100 Subject: [PATCH] New package: mplayer-1.1. --- srcpkgs/mplayer/files/mplayer.desktop | 21 ++++++++++ srcpkgs/mplayer/files/mplayer.png | Bin 0 -> 1982 bytes srcpkgs/mplayer/template | 58 ++++++++++++++++++++++++++ 3 files changed, 79 insertions(+) create mode 100644 srcpkgs/mplayer/files/mplayer.desktop create mode 100644 srcpkgs/mplayer/files/mplayer.png create mode 100644 srcpkgs/mplayer/template diff --git a/srcpkgs/mplayer/files/mplayer.desktop b/srcpkgs/mplayer/files/mplayer.desktop new file mode 100644 index 00000000000..07acea13f10 --- /dev/null +++ b/srcpkgs/mplayer/files/mplayer.desktop @@ -0,0 +1,21 @@ +[Desktop Entry] +Type=Application +Name=MPlayer Media Player +Name[ca]=Reproductor multimèdia MPlayer +Name[pl]=MPlayer odtwarzacz multimedialny +GenericName=Multimedia player +Comment=Play movies and songs +Comment[ca]=Reproduïu vídeos i cançons +Comment[de]=Filme und Musik abspielen +Comment[es]=Reproduzca vídeos y canciones +Comment[fr]=Lecteur multimédia +Comment[it]=Lettore multimediale +Comment[zh]=多媒体播放器 +Comment[pl]=Odtwarzaj filmy i muzykę +Icon=mplayer +TryExec=mplayer +Exec=mplayer %F +Terminal=false +NoDisplay=true +Categories=GTK;AudioVideo;Audio;Video;Player;TV; +MimeType=application/ogg;application/x-ogg;application/sdp;application/smil;application/x-smil;application/streamingmedia;application/x-streamingmedia;application/vnd.rn-realmedia;application/vnd.rn-realmedia-vbr;audio/aac;audio/x-aac;audio/m4a;audio/x-m4a;audio/mp1;audio/x-mp1;audio/mp2;audio/x-mp2;audio/mp3;audio/x-mp3;audio/mpeg;audio/x-mpeg;audio/mpegurl;audio/x-mpegurl;audio/mpg;audio/x-mpg;audio/rn-mpeg;audio/scpls;audio/x-scpls;audio/vnd.rn-realaudio;audio/wav;audio/x-pn-windows-pcm;audio/x-realaudio;audio/x-pn-realaudio;audio/x-ms-wma;audio/x-pls;audio/x-wav;video/mpeg;video/x-mpeg;video/x-mpeg2;video/mp4;video/msvideo;video/x-msvideo;video/quicktime;video/vnd.rn-realvideo;video/x-ms-afs;video/x-ms-asf;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvxvideo;video/x-avi;video/x-fli;video/x-flv;video/x-theora;video/x-matroska; diff --git a/srcpkgs/mplayer/files/mplayer.png b/srcpkgs/mplayer/files/mplayer.png new file mode 100644 index 0000000000000000000000000000000000000000..7997693350bb2398bd53ecd3e7bb8ca320f212e4 GIT binary patch literal 1982 zcmeAS@N?(olHy`uVBq!ia0y~yU{C;I0X7B(2IW`Fwlgp=uqAoByZi?O&WP`K7#J8h z3p^r=85kHmz}W3%wjD^YtiUlHq!*0af6bZ8z`*w0)5S3)_N#sWhY z*Xh1O5*3(=)_7O%|T{Q6D_PujP?m9^Wy&%5(^ZuP$6 zd#rg6#r}z(I3K=RzHY{gsOz0#)sJ5;xc>ZU?mZus>E27VL^tF_KGK|M;FI?3>P-cv zeZSv5pa1=h;L@+f2RV0q_UnDtsopV7ck;;)Erpj8LbN8{DZ710*wf|6=L6sG|NnIQ z_4?&PiaVp6_4ns&zWLVWq=$;^#FIuwn>I5}^iUDfUHDmq>+IQ$Iv?I{|ND3G;_Dj< z-rhQQ?(*`^J@(iuQ!*8dy^Yq z-vb6qgcPQoEPGpIAynVta-jBmYP$D2E5kfF5pfV$-q-EA=**d?r&}3k_9RXV(u>z$ za#_Rh;+HMgt3Mt&dhbx@)czS+J7(Mpj~S^FNaEaBqjCD4dkzd9D|8DU9pSg%areN=;Le{LBXq?2ndSPAKmN#Y7!10fZ-|MD z{{3urlf<$Ucke&0|MO#Ga-R8zQ`)z;Z{N=R_ANVK&V9Z&_x2_qUp}9y>hGCEMKOV8V`4rk`K+fi5R$9Lfl2=J7E!JP`GBack8 z-|hRosQh8N&apxVw_{6LcHG_n*UXkzCw|`K$ul|M+|Axz|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24731b50dc3 --- /dev/null +++ b/srcpkgs/mplayer/template @@ -0,0 +1,58 @@ +# Template file for 'mplayer' +pkgname=mplayer +version=1.1 +revision=1 +wrksrc="MPlayer-${version}" +short_desc="A movie player" +maintainer="Juan RP " +license="GPL-2" +homepage="http://www.mplayerhq.hu/" +distfiles="http://www2.mplayerhq.hu/MPlayer/releases/MPlayer-1.1.tar.xz" +checksum=76cb47eadb52b420ca028276ebd8112114ad0ab3b726af60f07fb2f39dae6c9c +long_desc=" + Sed, the GNU Stream Editor, copies the named files (standard input default) + to the standard output, edited according to a script of commands." + +build_style=configure +configure_args="--prefix=/usr --enable-runtime-cpudetection + --disable-gui --disable-arts --disable-liblzo --disable-speex + --disable-openal --disable-libdv --disable-musepack --disable-esd + --disable-mga --disable-ass-internal --disable-cdparanoia --enable-xvmc + --enable-radio --enable-radio-capture --language=all --confdir=/etc/mplayer" + +makedepends="pkg-config videoproto libudev-devel>=183 libpng-devel>=1.5.10 + libvorbis-devel SDL_image-devel x264-devel jack-devel samba-devel mpg123-devel + xcb-util-devel>=0.3.9 xcb-util-keysyms-devel>=0.3.9 libsamplerate-devel + libXxf86vm-devel libXinerama-devel libXpm-devel libXvMC-devel libXv-devel + libmpeg2-devel libflac-devel fribidi-devel freetype-devel libmtp-devel>=1.1.4 + avahi-libs-devel MesaLib-devel libmad-devel liba52-devel libdca-devel + libdvbpsi-devel libgcrypt-devel gtk+-devel libnotify-devel dbus-glib-devel + gnutls-devel>=3.1.5 taglib-devel libmatroska-devel libmpcdec-devel libproxy-devel + libcdio-devel libdvdnav-devel libsysfs-devel libusb-compat-devel libass-devel + sqlite-devel librsvg-devel libtheora-devel speex-devel pulseaudio-devel + libmodplug-devel libva-devel v4l-utils-devel yasm" + +conf_files=" +/etc/mplayer/input.conf +/etc/mplayer/codecs.conf" + +pre_configure() { + if [ "$XBPS_MACHINE" = "i686" ]; then + sed 's|-march=i486||g' -i config.mak + fi + : +} + +post_install() { + vmkdir etc/mplayer + install -Dm644 etc/{codecs.conf,input.conf} \ + ${DESTDIR}/etc/mplayer + vinstall etc/example.conf 644 usr/share/examples/mplayer + vmkdir usr/share/mplayer + ln -s /usr/share/fonts/TTF/DejaVuSans.ttf \ + ${DESTDIR}/usr/share/mplayer/subfont.ttf + rm -rf ${DESTDIR}/usr/share/mplayer/font + vinstall ${FILESDIR}/mplayer.desktop 644 usr/share/applications + vinstall etc/mplayer256x256.png 644 usr/share/pixmaps mplayer.png +} +