i try to make recipe for an aplication that use phonon4qt5 (al-anvar)… i have been test it is compile correctly on al-anvar.pro file contain phonon4qt5… but when build from recipe .
throw error…
You have 2 options: 1) install libqt4_x86_devel and phonon_x86_devel, and try to build it with that version of Qt.
2) re-port the app to Qt5 (you will have to know how to patch the source code) and remove the " QT: phonon4qt5" part from the al-anvar.pro file.
If you go with option (1) you will have to temporarely remove the qt5_x86_devel package from your system and put it back once you are done, and remove the libqt4_x86_devel package leave only the libqt4_x86 installed so you can run that app with it.
Hope it helps.
Good luck.
i have been port app to qt5 and can compiled successfully…
problem come when i try to make recipe for it.
i’m fork haikuports and hope later if success i make pr for that… so app can show on depot
thanks to all, but unfortunately my vm broken again after i forget to pause/shutdown cleanly vm before exit the virtualbox . . i still try to rebuild and redo what i have done and i will reported here when i have some result…
SUMMARY="Al-Anvar, a Quran Study Software "
DESCRIPTION="Al-Anvar is a cross-platform Quran Study Software. It uses Tanzil.net and Zekr.org database as its database,
It has lots of features:
-Text of the Quran
-Adding different translations of the Quran
-Adding interpretation of the Quran
-Direct download and install for translations and interpretations and so on through program \
-Comparison between translations
-Comparison between interpretations
-Putting note in the following of each verse
-Classifying the subject for verses of the Quran (with classifying the subject possibility by user)
-Repeated verses
-Related verses in terms of subject
-Reading online Quran (with storing downloaded files) and offline by different readers of the Quran
from website http://everyayah.com
-Repeat adjustment of reading of verses
-reading verses in the range a chapter (sura) or a division or a component.
-Advanced search
-Presenting chapters or chapters on different tabs
-Saving with Html, PDF and ODF formats
-Changing the font and color and size of the text and translations of the Quran and also font,
style and themes of software separately "
local APP_SIGNATURE=“application/x-vnd.al-anvar”
local MAJOR=“echo "$portVersion" | cut -d. -f1”
local MIDDLE=“echo "$portVersion" | cut -d. -f2”
local LONG_INFO=“$SUMMARY”
As Diver already mentioned, the “devel:libphonon4qt5$secondaryArchSuffix” is missing from the BUILD_REQUIRES section, and you also need to add the following “lib:libphonon4qt5$secondaryArchSuffix” to the REQUIRES section.
It’s also not recommended to add the whole mesa$secondaryArchSuffix pkg, change it to “lib:libGL$secondaryArchSuffix” and “devel:libGL$secondaryArchSuffix” for the REQUIRES and BUILD_REQUIRES respectively.
thanks for @Diver and @khallebal… right now apps compiled successfully…
recipe still not find application and copy to the $appsDir …
still learn and figure out and read again wiki on haikuports…
…how to debug the recipe file?
like detect $portDir
i’m stuck because seem recipe cannot find additional files
$portDir/additional-files/alanvar.rdef.in