mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-db/sqliteman: EAPI-8 bump, switch to cmake.eclass, xdg.eclass
Cleanup obsolete minimum version deps Fix pixmap icon installation path for use with desktop file Improve desktop file (patch thx to Fedora) Bug: https://bugs.gentoo.org/834312 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
10
dev-db/sqliteman/files/sqliteman-1.2.2-cmake.patch
Normal file
10
dev-db/sqliteman/files/sqliteman-1.2.2-cmake.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -154,6 +154,6 @@
|
||||
)
|
||||
INSTALL(FILES
|
||||
sqliteman/icons/sqliteman.png
|
||||
- DESTINATION "${CMAKE_INSTALL_PREFIX}/share/icons/hicolor"
|
||||
+ DESTINATION "${CMAKE_INSTALL_PREFIX}/share/pixmaps"
|
||||
)
|
||||
ENDIF (WIN32)
|
||||
11
dev-db/sqliteman/files/sqliteman-1.2.2-desktop.patch
Normal file
11
dev-db/sqliteman/files/sqliteman-1.2.2-desktop.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/sqliteman.desktop
|
||||
+++ b/sqliteman.desktop
|
||||
@@ -8,7 +8,7 @@
|
||||
Terminal=false
|
||||
StartupNotify=true
|
||||
MimeType=application/x-sqlite3;
|
||||
-
|
||||
+Categories=Development;Database;
|
||||
# Translations
|
||||
GenericName[cs]=Sqlite administrace
|
||||
|
||||
38
dev-db/sqliteman/sqliteman-1.2.2-r5.ebuild
Normal file
38
dev-db/sqliteman/sqliteman-1.2.2-r5.ebuild
Normal file
@@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake flag-o-matic xdg
|
||||
|
||||
DESCRIPTION="Powerful GUI manager for the Sqlite3 database"
|
||||
HOMEPAGE="https://sourceforge.net/projects/sqliteman/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtsql:5[sqlite]
|
||||
dev-qt/qtwidgets:5
|
||||
>=x11-libs/qscintilla-2.10.3:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-lpthread.patch"
|
||||
"${FILESDIR}/${P}-qt5.patch"
|
||||
"${FILESDIR}/${P}-cmake.patch"
|
||||
"${FILESDIR}/${P}-desktop.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# remove bundled lib
|
||||
rm -rf ${PN}/qscintilla2 || die
|
||||
|
||||
append-flags -fPIC
|
||||
cmake_src_prepare
|
||||
}
|
||||
Reference in New Issue
Block a user