-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-misc/doublecmd: new package, add 1.1.16
Bug: https://bugs.gentoo.org/415029 Signed-off-by: Viorel Munteanu <[email protected]>
- Loading branch information
Showing
4 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST doublecmd-1.1.16-src.tar.gz 9607249 BLAKE2B d46ba3be34e6758005a9e5be9cc8563e8c9f09026c5bbaa84093183f39583334af458bb74071a4da5e35851ae055be511dc567c0ec2d43a830bf5081f83c236f SHA512 efedbd3166df7dae3254d0585794fcb8c780e33b4c999cf9671a0bfc3e0eebc5f33229c246bd76289d152a927e2fb0519b010e34bcf8e871e52130ed02dce9a9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Copyright 2016-2024 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
inherit xdg | ||
|
||
DESCRIPTION="Cross Platform file manager" | ||
HOMEPAGE="https://doublecmd.sourceforge.io/ https://github.com/doublecmd/doublecmd" | ||
SRC_URI="https://downloads.sourceforge.net/${PN}/${P}-src.tar.gz" | ||
|
||
LICENSE="GPL-2+ LGPL-2.1+ LGPL-3 MPL-1.1 Boost-1.0 BZIP2" | ||
SLOT="0" | ||
KEYWORDS="~amd64" | ||
IUSE="qt6" | ||
|
||
RDEPEND=" | ||
!app-misc/doublecmd-bin | ||
dev-libs/glib:2 | ||
sys-apps/dbus | ||
x11-libs/libX11 | ||
qt6? ( | ||
dev-libs/libqt6pas:= | ||
) | ||
!qt6? ( | ||
dev-libs/libqt5pas:= | ||
) | ||
" | ||
|
||
DEPEND=" | ||
${RDEPEND} | ||
sys-libs/ncurses:= | ||
" | ||
|
||
BDEPEND=" | ||
qt6? ( | ||
>=dev-lang/lazarus-3.0[qt6] | ||
) | ||
!qt6? ( | ||
>=dev-lang/lazarus-3.0[qt5] | ||
) | ||
" | ||
|
||
PATCHES=( "${FILESDIR}"/${P}-build.patch ) | ||
|
||
# Built with fpc, does not respect anything | ||
QA_FLAGS_IGNORED=".*" | ||
QA_PRESTRIPPED=".*" | ||
|
||
src_compile(){ | ||
./build.sh release $(usex qt6 qt6 qt5) || die | ||
} | ||
|
||
src_install(){ | ||
./install/linux/install.sh --install-prefix="${D}" || die | ||
dodoc doc/README.txt doc/changelog.txt | ||
rm -r "${ED}"/usr/share/doublecmd/doc || die | ||
dosym -r /usr/share/doc/"${PF}" /usr/share/doublecmd/doc | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/build.sh | ||
+++ b/build.sh | ||
@@ -15,7 +15,7 @@ | ||
# default - compiling DC only (using by default) | ||
|
||
# path to lazbuild | ||
-export lazbuild=$(which lazbuild) | ||
+export lazbuild="/usr/bin/lazbuild --pcp=~/.lazarus --lazarusdir=/usr/share/lazarus" | ||
|
||
# Set up widgetset: gtk or gtk2 or qt | ||
# Set up processor architecture: i386 or x86_64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'> | ||
<pkgmetadata> | ||
<!-- maintainer-needed --> | ||
<upstream> | ||
<remote-id type="sourceforge">doublecmd</remote-id> | ||
<remote-id type="github">doublecmd/doublecmd</remote-id> | ||
</upstream> | ||
</pkgmetadata> |