summaryrefslogtreecommitdiff
path: root/community/libmediainfo
diff options
context:
space:
mode:
Diffstat (limited to 'community/libmediainfo')
-rw-r--r--community/libmediainfo/PKGBUILD39
-rw-r--r--community/libmediainfo/libmediainfo-0.7.50-libmms.patch50
2 files changed, 0 insertions, 89 deletions
diff --git a/community/libmediainfo/PKGBUILD b/community/libmediainfo/PKGBUILD
deleted file mode 100644
index 3561880a4..000000000
--- a/community/libmediainfo/PKGBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# $Id: PKGBUILD 90920 2013-05-15 13:45:55Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer: hydro <hydro@freenet.de>
-
-pkgname=libmediainfo
-pkgver=0.7.63
-pkgrel=1
-pkgdesc="shared library for mediainfo"
-arch=('i686' 'x86_64')
-url="http://mediainfo.sourceforge.net"
-license=('GPL')
-depends=( 'curl' 'libmms' 'libzen')
-makedepends=('libtool' 'automake' 'autoconf')
-options=(!libtool)
-source=(http://downloads.sourceforge.net/mediainfo/${pkgname}_${pkgver}.tar.bz2
- libmediainfo-0.7.50-libmms.patch)
-md5sums=('7a50881744a29dac6f93a8f6cbaebc0c'
- '2f4b21cc250f663d52b497dedb963e3b')
-
-build() {
- cd $srcdir/MediaInfoLib/Project/GNU/Library
- sh ./autogen
- ./configure --prefix=/usr --enable-shared --disable-static --with-libcurl --with-libmms
- make clean
- (cd ../../.. && patch -p1 <$srcdir/libmediainfo-0.7.50-libmms.patch)
- make
-}
-
-package() {
- cd $srcdir/MediaInfoLib/Project/GNU/Library
- make DESTDIR=$pkgdir install
- for i in MediaInfo MediaInfoDLL; do
- install -dm 755 $pkgdir/usr/include/$i
- install -m 644 $srcdir/MediaInfoLib/Source/$i/*.h $pkgdir/usr/include/$i
- done
- install -dm 755 $pkgdir/usr/lib/pkgconfig
- install -m 644 $srcdir/MediaInfoLib/Project/GNU/Library/libmediainfo.pc $pkgdir/usr/lib/pkgconfig
- sed -i -e 's|Version: |Version: '$pkgver'|g' $pkgdir/usr/lib/pkgconfig/libmediainfo.pc
-}
diff --git a/community/libmediainfo/libmediainfo-0.7.50-libmms.patch b/community/libmediainfo/libmediainfo-0.7.50-libmms.patch
deleted file mode 100644
index 540e4c12d..000000000
--- a/community/libmediainfo/libmediainfo-0.7.50-libmms.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-diff -wbBur MediaInfoLib/Source/MediaInfo/Reader/Reader_libmms.cpp MediaInfoLib.my/Source/MediaInfo/Reader/Reader_libmms.cpp
---- MediaInfoLib/Source/MediaInfo/Reader/Reader_libmms.cpp 2011-08-25 15:14:50.000000000 +0400
-+++ MediaInfoLib.my/Source/MediaInfo/Reader/Reader_libmms.cpp 2011-10-05 17:29:12.000000000 +0400
-@@ -48,10 +48,8 @@
- #else
- #ifdef MEDIAINFO_LIBMMS_FROMSOURCE
- #include "mmsx.h"
-- #include "mmsh.h"
- #else //MEDIAINFO_LIBMMS_FROMSOURCE
- #include "libmms/mmsx.h"
-- #include "libmms/mmsh.h"
- #endif //MEDIAINFO_LIBMMS_FROMSOURCE
- #endif
- #include <iostream>
-@@ -71,34 +69,9 @@
- //---------------------------------------------------------------------------
- size_t Reader_libmms::Format_Test(MediaInfo_Internal* MI, const String &File_Name)
- {
-- mmsx_t* Handle;
--
-- //Opening the file
-- #if MEDIAINFO_LIBMMS_DESCRIBE_SUPPORT
-- if (MI->Config.File_Mmsh_Describe_Only_Get())
-- {
-- // Use MMSH & Send a DESCRIBE request
-- mmsh_t* MmshHandle;
--
-- MmshHandle=mmsh_describe_request(0, 0, Ztring(File_Name).To_Local().c_str());
-- if (MmshHandle==NULL)
-- return 0;
--
-- Handle=mmsx_set_mmsh_handle(MmshHandle);
-- if (Handle==NULL)
-- {
-- mmsh_close(MmshHandle);
-- return 0;
-- }
-- }
-- else
-- #endif //MEDIAINFO_LIBMMS_DESCRIBE_SUPPORT
-- {
-- // Use MMS or MMSH (Send a DESCRIBE & PLAY request)
-- Handle=mmsx_connect(0, 0, Ztring(File_Name).To_Local().c_str(), (int)-1);
-+ mmsx_t* Handle=mmsx_connect(0, 0, Ztring(File_Name).To_Local().c_str(), (int)-1);
- if (Handle==NULL)
- return 0;
-- }
-
- //Init
- size_t Buffer_Size_Max;