Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package request: Dooble #39353

Closed
Eloitor opened this issue Sep 18, 2022 · 6 comments · Fixed by #39405
Closed

Package request: Dooble #39353

Eloitor opened this issue Sep 18, 2022 · 6 comments · Fixed by #39405
Labels
request Package request

Comments

@Eloitor
Copy link
Contributor

Eloitor commented Sep 18, 2022

Package name

dooble

Package homepage

https://textbrowser.github.io/dooble/

Description

Dooble, the scientific browser. Minimal, cute, and unusually stable.

Does the requested package meet the package requirements?

System, Compiled

Is the requested package released?

Yes

@Eloitor Eloitor added the request Package request label Sep 18, 2022
@Eloitor
Copy link
Contributor Author

Eloitor commented Sep 21, 2022

This is what I tried so far:

# Template file for 'dooble'
pkgname=dooble
version=2022.06.15
revision=1
#wrksrc=
#create_wrksrc=yes
build_style=gnu-makefile
hostmakedepends="qt5-qmake"
makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel"
short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable"
maintainer="Eloi Torrents <eloitor@disroot.org>"
license="GPL-3.0-or-later"
homepage="https://textbrowser.github.io/dooble/"
distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz"
checksum=3af9a06c477f9317cf279389bd66237109fa205fb5526f4df7909250dc2c8e41

do_configure() {
  qmake -o Makefile dooble.pro
}

I don't know what license code to put, and this template gives me this error: https://pastebin.com/erFsw630

@sgn
Copy link
Member

sgn commented Sep 21, 2022

Use qmake build-style. Not sure if it works ootb. If not maybe CFLAGS=-fPIC and CXXFLAGS=-fPIC

@Eloitor
Copy link
Contributor Author

Eloitor commented Sep 21, 2022

Thank you now my template is

# Template file for 'dooble'
pkgname=dooble
version=2022.06.15
revision=1
build_style=qmake
configure_args="dooble.pro"
hostmakedepends="qt5-qmake"
makedepends="qt5-charts-devel qt5-webengine-devel qt5-webchannel-devel qt5-location-devel"
depends=""
short_desc="Dooble, the scientific browser. Minimal, cute, and unusually stable"
maintainer="Eloi Torrents <elotor@disroot.org>"
license="GPL-3.0-or-later"
homepage="https://textbrowser.github.io/dooble/"
distfiles="https://github.com/textbrowser/dooble/archive/refs/tags/${version}.tar.gz"
checksum=3af9a06c477f9317cf279389bd66237109fa205fb5526f4df7909250dc2c8e41

Now the compilation works fine but the installation phase doesn't.
https://pastebin.com/8hd1dqPh

@sgn
Copy link
Member

sgn commented Sep 21, 2022

make: Nothing to be done for 'install'.

Their *.pro file is broken. Please write a do_install function and install manually.

@Eloitor
Copy link
Contributor Author

Eloitor commented Sep 21, 2022

Thank you, now my template works, but I don't know which license to put
#39405

@sgn
Copy link
Member

sgn commented Sep 22, 2022

Thank you, now my template works, but I don't know which license to put #39405

https://github.com/textbrowser/dooble/blob/master/Source/dooble_main.cc#L2-L25 BSD-3-Clause

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request Package request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants