Date: Friday, December 20, 2013 @ 02:02:54 Author: heftig Revision: 102781
2.1.1 Added: libmirage/trunk/missing-xml.patch Modified: libmirage/trunk/PKGBUILD -------------------+ PKGBUILD | 15 ++++++++++----- missing-xml.patch | 24 ++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-12-19 18:19:41 UTC (rev 102780) +++ PKGBUILD 2013-12-20 01:02:54 UTC (rev 102781) @@ -4,8 +4,8 @@ # Contributor: Charles Lindsay <char...@chaoslizard.org> pkgname=libmirage -pkgver=2.1.0 -pkgrel=2 +pkgver=2.1.1 +pkgrel=1 pkgdesc="CD-ROM image (B6T/C2D/CCD/CDI/CIF/CUE/ISO/MDS/MDX/NRG/TOC) access library" arch=(i686 x86_64) url="http://cdemu.sourceforge.net/" @@ -13,11 +13,15 @@ depends=(glib2 libsndfile libsamplerate zlib bzip2 xz shared-mime-info) makedepends=(gtk-doc gobject-introspection cmake) install=libmirage.install -source=(http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.bz2) -sha256sums=('fb30eea15b8c1fc55e194e1af55127fa3b3860a79fec0b6c60588cf9ae8d1ca9') +source=(http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.bz2 + missing-xml.patch) +sha256sums=('f606391095200df510b923201881bfbadb6ab032035ce9a67aa24fcae3145108' + 'c20e5d8d0695e3832971646eef2d735f1d12a4da767da1ff4f9c9af92ad7ad02') prepare() { mkdir build + cd $pkgname-$pkgver + patch -Np2 -i ../missing-xml.patch } build() { @@ -25,7 +29,8 @@ cmake ../$pkgname-$pkgver \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib + -DCMAKE_INSTALL_LIBDIR=lib \ + -DPOST_INSTALL_HOOKS:BOOL=OFF make } Added: missing-xml.patch =================================================================== --- missing-xml.patch (rev 0) +++ missing-xml.patch 2013-12-20 01:02:54 UTC (rev 102781) @@ -0,0 +1,24 @@ +diff --git i/libmirage/src/filters/filter-daa/CMakeLists.txt w/libmirage/src/filters/filter-daa/CMakeLists.txt +index ebd2890..e7021c1 100644 +--- i/libmirage/src/filters/filter-daa/CMakeLists.txt ++++ w/libmirage/src/filters/filter-daa/CMakeLists.txt +@@ -35,6 +35,7 @@ if (${ZLIB_FOUND}) + + # Install MIME type + install(FILES "libmirage-${filter_short}.xml" DESTINATION ${CMAKE_INSTALL_DATADIR}/mime/packages) ++ install(FILES "libmirage-gbi.xml" DESTINATION ${CMAKE_INSTALL_DATADIR}/mime/packages) + if (POST_INSTALL_HOOKS) + install(CODE "execute_process (COMMAND ${UPDATE_MIME_DATABASE_EXECUTABLE} ${CMAKE_INSTALL_FULL_DATADIR}/mime)") + endif () +diff --git i/libmirage/src/parsers/image-mds/CMakeLists.txt w/libmirage/src/parsers/image-mds/CMakeLists.txt +index c97be8f..bb0ee2b 100644 +--- i/libmirage/src/parsers/image-mds/CMakeLists.txt ++++ w/libmirage/src/parsers/image-mds/CMakeLists.txt +@@ -20,6 +20,7 @@ if (TRUE) + + # Install MIME type + install(FILES "libmirage-${parser_short}.xml" DESTINATION ${CMAKE_INSTALL_DATADIR}/mime/packages) ++ install(FILES "libmirage-xmd.xml" DESTINATION ${CMAKE_INSTALL_DATADIR}/mime/packages) + if (POST_INSTALL_HOOKS) + install(CODE "execute_process (COMMAND ${UPDATE_MIME_DATABASE_EXECUTABLE} ${CMAKE_INSTALL_FULL_DATADIR}/mime)") + endif ()