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

New package: anilibria winmaclinux #53953

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
--- a/src/AniLibria.pro
+++ b/src/AniLibria.pro
@@ -271,17 +271,8 @@ QML_IMPORT_PATH =
# Additional import path used to resolve QML modules just for Qt Quick Designer
QML_DESIGNER_IMPORT_PATH =

-# Default rules for deployment.
-!flatpak{
- qnx: target.path = /tmp/$${TARGET}/bin
- else: unix:!android: target.path = /opt/$${TARGET}/bin
-}else{
- target.path = $$PREFIX/bin
-}
-!isEmpty(target.path) {
- unix: INSTALLS += target desktop $${UNIX_ICONS}
- else:macx: INSTALLS += target
-}
+target.path = /usr/bin
+INSTALLS += target desktop $${UNIX_ICONS}

HEADERS += \
Classes/ListModels/allmyanilibrialistmodel.h \

Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
installation path

---
data/anilibria.desktop | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/anilibria.desktop b/data/anilibria.desktop
index 3dfcc73..04c92a5 100644
--- a/data/anilibria.desktop
+++ b/data/anilibria.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=AniLibria
Comment=AniLibria desktop client
-Exec=/opt/AniLibria/bin/AniLibria
+Exec=/usr/bin/AniLibria
Icon=anilibria
Type=Application
Version=0.1.2
--
2.26.2

29 changes: 29 additions & 0 deletions srcpkgs/anilibria-winmaclinux/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Template file for 'anilibria-winmaclinux'

pkgname="anilibria-winmaclinux"
version="2.2.24"
revision=1
build_style="qmake"
hostmakedepends="git"
makedepends="gcc qt5-declarative-devel qt5-webview-devel qt5-webengine-devel qt5-multimedia-devel qt5-svg-devel qt5-websockets-devel qt5-declarative-devel qt5-quickcontrols2-devel qt5-quickcontrols gstreamer1 pkg-config mpv-devel"
short_desc="AniLibria cross platform desktop client"
maintainer="Jaymz665 <[email protected]>"
homepage="https://github.com/anilibria/anilibria-winmaclinux"
license="GPL-3.0-only"
distfiles="https://github.com/anilibria/anilibria-winmaclinux/archive/refs/tags/${version}.tar.gz"
checksum=7a1f4b950e54ee6dd96611fea3c1609548c06a3b4f3de3ee0fc9d37ad4370c0d

do_configure() {
cd "${wrksrc}/src"
qmake CONFIG+=unixmpv
}

do_build() {
cd "${wrksrc}/src"
make -j$(nproc) VERBOSE=1
}

do_install() {
cd "${wrksrc}/src"
make INSTALL_ROOT=${DESTDIR} install
}