mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
sqlitebrowser: bump version (#4274)
This commit is contained in:
81
dev-db/sqlitebrowser/sqlitebrowser-3.11.2.recipe
Normal file
81
dev-db/sqlitebrowser/sqlitebrowser-3.11.2.recipe
Normal file
@@ -0,0 +1,81 @@
|
||||
SUMMARY="DB Browser for SQLite"
|
||||
DESCRIPTION="DB Browser for SQLite is a high quality, visual, open source tool \
|
||||
to create, design, and edit database files compatible with SQLite."
|
||||
HOMEPAGE="https://sqlitebrowser.org/"
|
||||
COPYRIGHT="2012-2019 Martin Kleusberg"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/sqlitebrowser/sqlitebrowser/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="298acb28878aa712277a1c35c185b07a5a1671cc3e2c6a21b323477b91d486fc"
|
||||
SOURCE_FILENAME="sqlitebrowser-$portVersion.tar.gz"
|
||||
PATCHES="sqlitebrowser-$portVersion.patchset"
|
||||
ADDITIONAL_FILES="sqlitebrowser.rdef.in"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
sqlitebrowser$secondaryArchSuffix = $portVersion
|
||||
app:sqlitebrowser$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Network$secondaryArchSuffix
|
||||
lib:libQt5PrintSupport$secondaryArchSuffix
|
||||
lib:libQt5Test$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
lib:libsqlite3$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
devel:libQt5Network$secondaryArchSuffix
|
||||
devel:libQt5PrintSupport$secondaryArchSuffix
|
||||
devel:libQt5Test$secondaryArchSuffix
|
||||
devel:libQt5Widgets$secondaryArchSuffix
|
||||
devel:libsqlite3$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:lrelease$secondaryArchSuffix >= 5
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -DCMAKE_INSTALL_PREFIX=$prefix .
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make $jobArgs install
|
||||
mkdir -p $appsDir
|
||||
mv $prefix/bin/sqlitebrowser $appsDir/SQLiteBrowser
|
||||
|
||||
rm -rf $prefix/share
|
||||
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
||||
|
||||
sed \
|
||||
-e "s|@MAJOR@|$MAJOR|" \
|
||||
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||
-e "s|@MINOR@|$MINOR|" \
|
||||
$portDir/additional-files/sqlitebrowser.rdef.in > sqlitebrowser.rdef
|
||||
addResourcesToBinaries sqlitebrowser.rdef $appsDir/SQLiteBrowser
|
||||
|
||||
addAppDeskbarSymlink $appsDir/SQLiteBrowser SQLiteBrowser
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user