summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJonathan Liu2019-07-13 10:52:03 +1000
committerJonathan Liu2019-07-13 10:52:03 +1000
commit7cff14272e04787a9ed03521c13be0a9da7bafa3 (patch)
treee378c53b89b5a48c681c2967386f20250d597e7e /PKGBUILD
parent5d4ebff78418bbda49760803efb02f23744d39d9 (diff)
downloadaur-7cff14272e04787a9ed03521c13be0a9da7bafa3.tar.gz
Update to 1.3.0-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 11 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 16e04217cf3..17607832692 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,25 @@
# Maintainer: Jonathan Liu <net147@gmail.com>
# Contributer: N30N <archlinux@alunamation.com>
pkgname=djv
-pkgver=1.2.5
-pkgrel=4
+pkgver=1.3.0
+pkgrel=1
pkgdesc="Movie playback and image processing software for the film and computer animation industries"
url="http://djv.sourceforge.net/"
license=('BSD')
arch=('i686' 'x86_64')
depends=("desktop-file-utils" "ffmpeg" "glew" "libjpeg" "libpng" "libquicktime" "libtiff" "openexr" "qt5-base" "qt5-svg")
-makedepends=("cmake" "glm" "portaudio" "qt5-tools")
-source=("git://git.code.sf.net/p/djv/git#tag=1.2.5"
+makedepends=("cmake" "glm" "picojson-git" "portaudio" "qt5-tools")
+source=("${pkgname}::git+https://github.com/darbyjohnston/DJV#tag=${pkgver}"
"${pkgname}_view.desktop")
md5sums=('SKIP'
'2668ad2635036f33ba615b5dc538b1cf')
prepare() {
- cd git
+ cd "${pkgname}"
sed -i '/enable_testing()/d' CMakeLists.txt
sed -i '/add_subdirectory(tests)/d' CMakeLists.txt
sed -i 's/set(djvPackageThirdParty true)/set(djvPackageThirdParty false)/' CMakeLists.txt
+ sed -i 's#picojson/picojson.h#picojson.h#' lib/djvCore/PicoJSON.h
}
build() {
@@ -28,18 +29,19 @@ build() {
-DOpenGL_GL_PREFERENCE=LEGACY \
-DILMBASE_SHARED_LIBS=ON \
-DOPENEXR_SHARED_LIBS=ON \
+ -DPicoJSON_INCLUDE_DIR=/usr/include \
-DQT_INCLUDE_DIR=/usr/include/qt \
-DQT_CORE_INCLUDE_DIR=/usr/include/qt/QtCore \
-DQT_DBUS_INCLUDE_DIR=/usr/include/qt/QtDBus \
-DQT_GUI_INCLUDE_DIR=/usr/include/qt/QtGui \
-DQT_NETWORK_INCLUDE_DIR=/usr/include/qt/QtNetwork \
-DQT_OPENGL_INCLUDE_DIR=/usr/include/qt/QtOpenGL \
+ -DQT_PLATFORM_HEADERS_INCLUDE_DIR=/usr/include/qt/QtPlatformHeaders \
-DQT_PRINT_SUPPORT_INCLUDE_DIR=/usr/include/qt/QtPrintSupport \
-DQT_SQL_INCLUDE_DIR=/usr/include/qt/QtSql \
- -DQT_SVG_INCLUDE_DIR=/usr/include/qt/QtSvg \
-DQT_WIDGETS_INCLUDE_DIR=/usr/include/qt/QtWidgets \
-DQT_XML_INCLUDE_DIR=/usr/include/qt/QtXml \
- ../git
+ "../${pkgname}"
make
}
@@ -51,8 +53,8 @@ package() {
ln -s "/opt/${pkgname}/bin/$x" "${pkgdir}/usr/bin/$x"
done
install -D -m644 {"${srcdir}","${pkgdir}/usr/share/applications"}/"${pkgname}_view.desktop"
- install -D -m644 "${srcdir}/git/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
- install -D -m644 "${srcdir}/git/etc/Windows/djv_view_512x512.png" "${pkgdir}/usr/share/pixmaps/djv_view.png"
+ install -D -m644 "${srcdir}/${pkgname}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+ install -D -m644 "${srcdir}/${pkgname}/etc/Windows/djv_view_512x512.png" "${pkgdir}/usr/share/pixmaps/djv_view.png"
rm "${pkgdir}/opt/${pkgname}/bin/djv_view.sh"
}