mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
qPDFView: bump version
This commit is contained in:
@@ -5,11 +5,11 @@ Subject: Haiku build fix
|
|||||||
|
|
||||||
|
|
||||||
diff --git a/application.pro b/application.pro
|
diff --git a/application.pro b/application.pro
|
||||||
index 7d0f0c0..ead2b6a 100644
|
index 509f6e2..4893525 100644
|
||||||
--- a/application.pro
|
--- a/application.pro
|
||||||
+++ b/application.pro
|
+++ b/application.pro
|
||||||
@@ -242,6 +242,8 @@ lessThan(QT_MAJOR_VERSION, 5) : !without_magic {
|
@@ -262,6 +262,8 @@ static_resources {
|
||||||
SOURCES += sources/signalhandler.cpp
|
RESOURCES += help.qrc translations.qrc
|
||||||
}
|
}
|
||||||
|
|
||||||
+haiku:LIBS += -lnetwork -lpoppler -lpoppler-qt5
|
+haiku:LIBS += -lnetwork -lpoppler -lpoppler-qt5
|
||||||
@@ -18,5 +18,5 @@ index 7d0f0c0..ead2b6a 100644
|
|||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
2.13.1
|
2.23.0
|
||||||
|
|
||||||
@@ -4,10 +4,10 @@ DjVuLibre, CUPS and Qt, licensed under GPL version 2 or later."
|
|||||||
HOMEPAGE="https://launchpad.net/qpdfview/"
|
HOMEPAGE="https://launchpad.net/qpdfview/"
|
||||||
COPYRIGHT="Adam Reichold et al."
|
COPYRIGHT="Adam Reichold et al."
|
||||||
LICENSE="GNU GPL v2"
|
LICENSE="GNU GPL v2"
|
||||||
REVISION="8"
|
REVISION="1"
|
||||||
SOURCE_URI="$HOMEPAGE/trunk/0.4.17beta1/+download/qpdfview-0.4.17beta1.tar.gz"
|
SOURCE_URI="$HOMEPAGE/trunk/$portVersion/+download/qpdfview-$portVersion.tar.gz"
|
||||||
CHECKSUM_SHA256="60206c5f76410a35098e3c965552cec08cd85941776ea6f6b207d7ea63ce940f"
|
CHECKSUM_SHA256="cc642e7fa74029373ca9b9fbc29adc4883f8b455130a78ad54746d6844a0396c"
|
||||||
SOURCE_DIR="qpdfview-0.4.17beta1"
|
SOURCE_DIR="qpdfview-$portVersion"
|
||||||
PATCHES="qpdfview-$portVersion.patchset"
|
PATCHES="qpdfview-$portVersion.patchset"
|
||||||
ADDITIONAL_FILES="qpdfview.rdef.in"
|
ADDITIONAL_FILES="qpdfview.rdef.in"
|
||||||
|
|
||||||
@@ -27,7 +27,6 @@ REQUIRES="
|
|||||||
lib:libpoppler_qt5$secondaryArchSuffix
|
lib:libpoppler_qt5$secondaryArchSuffix
|
||||||
lib:libQt5Concurrent$secondaryArchSuffix
|
lib:libQt5Concurrent$secondaryArchSuffix
|
||||||
lib:libQt5Core$secondaryArchSuffix
|
lib:libQt5Core$secondaryArchSuffix
|
||||||
lib:libQt5DBus$secondaryArchSuffix
|
|
||||||
lib:libQt5Gui$secondaryArchSuffix
|
lib:libQt5Gui$secondaryArchSuffix
|
||||||
lib:libQt5PrintSupport$secondaryArchSuffix
|
lib:libQt5PrintSupport$secondaryArchSuffix
|
||||||
lib:libQt5Sql$secondaryArchSuffix
|
lib:libQt5Sql$secondaryArchSuffix
|
||||||
@@ -37,7 +36,6 @@ REQUIRES="
|
|||||||
|
|
||||||
BUILD_REQUIRES="
|
BUILD_REQUIRES="
|
||||||
haiku${secondaryArchSuffix}_devel
|
haiku${secondaryArchSuffix}_devel
|
||||||
devel:libdbus_1$secondaryArchSuffix
|
|
||||||
devel:libdjvulibre$secondaryArchSuffix
|
devel:libdjvulibre$secondaryArchSuffix
|
||||||
devel:libGl$secondaryArchSuffix
|
devel:libGl$secondaryArchSuffix
|
||||||
devel:libmagic$secondaryArchSuffix
|
devel:libmagic$secondaryArchSuffix
|
||||||
@@ -45,7 +43,6 @@ BUILD_REQUIRES="
|
|||||||
devel:libpoppler_qt5$secondaryArchSuffix
|
devel:libpoppler_qt5$secondaryArchSuffix
|
||||||
devel:libQt5Concurrent$secondaryArchSuffix
|
devel:libQt5Concurrent$secondaryArchSuffix
|
||||||
devel:libQt5Core$secondaryArchSuffix
|
devel:libQt5Core$secondaryArchSuffix
|
||||||
devel:libQt5DBus$secondaryArchSuffix
|
|
||||||
devel:libQt5Gui$secondaryArchSuffix
|
devel:libQt5Gui$secondaryArchSuffix
|
||||||
devel:libQt5PrintSupport$secondaryArchSuffix
|
devel:libQt5PrintSupport$secondaryArchSuffix
|
||||||
devel:libQt5Sql$secondaryArchSuffix
|
devel:libQt5Sql$secondaryArchSuffix
|
||||||
@@ -67,7 +64,7 @@ BUILD()
|
|||||||
|
|
||||||
mkdir -p haiku_build && cd haiku_build
|
mkdir -p haiku_build && cd haiku_build
|
||||||
qmake ../qpdfview.pro \
|
qmake ../qpdfview.pro \
|
||||||
CONFIG+="without_ps without_cups without_synctex" \
|
CONFIG+="without_ps without_cups without_synctex without_dbus without_signals" \
|
||||||
TARGET_INSTALL_PATH=$appsDir/qPDFView \
|
TARGET_INSTALL_PATH=$appsDir/qPDFView \
|
||||||
PLUGIN_INSTALL_PATH=$appsDir/qPDFView/lib \
|
PLUGIN_INSTALL_PATH=$appsDir/qPDFView/lib \
|
||||||
MANUAL_INSTALL_PATH=$manDir
|
MANUAL_INSTALL_PATH=$manDir
|
||||||
@@ -84,7 +81,7 @@ INSTALL()
|
|||||||
# Icon
|
# Icon
|
||||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||||
local MINOR="`echo "$portVersion" | cut -d. -f3 | cut -d~ -f1`"
|
local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
||||||
|
|
||||||
sed \
|
sed \
|
||||||
-e "s|@MAJOR@|$MAJOR|" \
|
-e "s|@MAJOR@|$MAJOR|" \
|
||||||
Reference in New Issue
Block a user