New package: mplayer-1.1.
This commit is contained in:
parent
225bf0af8d
commit
64bba700a1
21
srcpkgs/mplayer/files/mplayer.desktop
Normal file
21
srcpkgs/mplayer/files/mplayer.desktop
Normal file
@ -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;
|
BIN
srcpkgs/mplayer/files/mplayer.png
Normal file
BIN
srcpkgs/mplayer/files/mplayer.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
58
srcpkgs/mplayer/template
Normal file
58
srcpkgs/mplayer/template
Normal file
@ -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 <xtraeme@gmail.com>"
|
||||
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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user