diff --git a/multimedia/video/libmpeg2/actions.py b/multimedia/video/libmpeg2/actions.py
new file mode 100644
index 0000000000..c71ff55ade
--- /dev/null
+++ b/multimedia/video/libmpeg2/actions.py
@@ -0,0 +1,29 @@
+#!/usr/bin/python
+# -*- coding: utf-8 -*-
+#
+# Licensed under the GNU General Public License, version 3.
+# See the file http://www.gnu.org/licenses/gpl.txt
+
+from pisi.actionsapi import autotools
+from pisi.actionsapi import pisitools
+from pisi.actionsapi import libtools
+from pisi.actionsapi import get
+
+
+def setup():
+ autotools.autoreconf("-fi")
+ autotools.configure("--enable-shared \
+ --disable-dependency-tracking \
+ --disable-static \
+ --disable-sdl \
+ --without-x")
+
+def build():
+ autotools.make('OPT_CFLAGS="%s" \
+ MPEG2DEC_CFLAGS="%s" \
+ LIBMPEG2_CFLAGS=""' % (get.CFLAGS(), get.CFLAGS()))
+
+def install():
+ autotools.rawInstall('DESTDIR="%s"' % get.installDIR())
+
+ pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README", "TODO")
diff --git a/multimedia/video/libmpeg2/files/libmpeg2-0.4.1-use-readelf-for-test.patch b/multimedia/video/libmpeg2/files/libmpeg2-0.4.1-use-readelf-for-test.patch
new file mode 100644
index 0000000000..7d091cfbb0
--- /dev/null
+++ b/multimedia/video/libmpeg2/files/libmpeg2-0.4.1-use-readelf-for-test.patch
@@ -0,0 +1,26 @@
+--- test/globals.orig 2006-04-29 19:19:59.000000000 +0200
++++ test/globals 2006-04-29 19:24:35.000000000 +0200
+@@ -14,8 +14,9 @@
+
+ error=0
+
+-bad_globals=`nm -g --defined-only $builddir/../libmpeg2/*.o |\
+- awk '{if ($3) print $3}' | grep -v '^_\?mpeg2_'`
++bad_globals=`readelf -s $builddir/../libmpeg2/*.o |\
++ awk '$5=="GLOBAL" && $6!="HIDDEN" && $7!="UND" {print $8}' |\
++ grep -v '^_\?mpeg2_'`
+
+ if test x"$bad_globals" != x""; then
+ echo BAD GLOBAL SYMBOLS:
+@@ -23,8 +24,9 @@
+ error=1
+ fi
+
+-bad_globals=`nm -g --defined-only $builddir/../libmpeg2/convert/*.o |\
+- awk '{if ($3) print $3}' | grep -v '^_\?mpeg2convert_'`
++bad_globals=`readelf -s $builddir/../libmpeg2/convert/*.o |\
++ awk '$5=="GLOBAL" && $6!="HIDDEN" && $7!="UND" {print $8}' |\
++ grep -v '^_\?mpeg2convert_'`
+
+ if test x"$bad_globals" != x""; then
+ echo BAD GLOBAL SYMBOLS:
diff --git a/multimedia/video/libmpeg2/pspec.xml b/multimedia/video/libmpeg2/pspec.xml
new file mode 100644
index 0000000000..5a307424eb
--- /dev/null
+++ b/multimedia/video/libmpeg2/pspec.xml
@@ -0,0 +1,66 @@
+
+
+
+
+ libmpeg2
+ http://libmpeg2.sourceforge.net/
+
+ PisiLinux Community
+ admins@pisilinux.org
+
+ GPLv2
+ library
+ libmpeg2 is a free library for decoding mpeg-2 and mpeg-1 video streams
+ libmpeg2 is a free library for decoding mpeg-2 and mpeg-1 video streams. libmpeg2 is able to decode all mpeg streams that conform to certain restrictions: "constrained parameters" for mpeg-1, and "main profile" for mpeg-2.
+ http://libmpeg2.sourceforge.net/files/libmpeg2-0.5.1.tar.gz
+
+ libmpeg2-0.4.1-use-readelf-for-test.patch
+
+
+
+
+ libmpeg2
+
+ /usr/bin
+ /usr/lib
+ /usr/share/man
+ /usr/share/doc
+
+
+
+
+ libmpeg2-devel
+ Development files for libmpeg2
+
+ libmpeg2
+
+
+ /usr/include
+ /usr/lib/pkgconfig
+
+
+
+
+
+ 2014-05-25
+ 0.5.1
+ Rebuild
+ Kamil Atlı
+ suvarice@gmail.com
+
+
+ 2014-01-31
+ 0.5.1
+ Rebuild
+ Stefan Gronewold(groni)
+ groni@pisilinux.org
+
+
+ 2010-10-12
+ 0.5.1
+ First release
+ Pisi Linux Admins
+ admins@pisilinux.org
+
+
+
diff --git a/multimedia/video/libmpeg2/translations.xml b/multimedia/video/libmpeg2/translations.xml
new file mode 100644
index 0000000000..d0c5382b18
--- /dev/null
+++ b/multimedia/video/libmpeg2/translations.xml
@@ -0,0 +1,15 @@
+
+
+
+ libmpeg2
+ mpeg-2 ve mpeg-1 video görüntülerini çözmek için ücretsiz bir kütüphane
+ libmpeg2, mpeg-1 ve mpeg-2 video akışlarının çözülerek okunması için ücretsiz bir kütüphanedir. Libmpeg-2, bir takım kısıtlayıcı kurallara (mpeg-1 için "kısıtlanmış parametreler" ve mpeg-2 için "ana profil") uyan bütün mpeg yayınlarını çözebilir.
+ libmpeg2 est une librairie libre pour décoder les flux vidéos mpeg-2 et mpeg-1. libmpeg2 est capable de décoder tous les flux vidéos se conformant à certaines restrictions : "paramètres contraints (constrained parameters)" pour mpeg-1 et "profil principal (main profile)" pour mpeg-2.
+ libmpeg2 es una librería libre para decodificar flujos de video mpeg-2 y mpeg-1. libmpeg2 puede decodificar todo tipo de flujos mpeg que cumplen ciertos restricciones: "constrained parameters" para mpeg-1, y "main profile" para mpeg-2.
+
+
+
+ libmpeg2-devel
+ libmpeg2 için geliştirme dosyaları
+
+