Date: Saturday, June 13, 2020 @ 15:12:09 Author: bgyorgy Revision: 642868
Move pencil2d from AUR Added: pencil2d/ pencil2d/trunk/ pencil2d/trunk/PKGBUILD pencil2d/trunk/pencil2d.appdata.xml pencil2d/trunk/qt5-5.15.patch ----------------------+ PKGBUILD | 34 +++++++++++++++++++++++++++++ pencil2d.appdata.xml | 56 +++++++++++++++++++++++++++++++++++++++++++++++++ qt5-5.15.patch | 36 +++++++++++++++++++++++++++++++ 3 files changed, 126 insertions(+) Added: pencil2d/trunk/PKGBUILD =================================================================== --- pencil2d/trunk/PKGBUILD (rev 0) +++ pencil2d/trunk/PKGBUILD 2020-06-13 15:12:09 UTC (rev 642868) @@ -0,0 +1,34 @@ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Contributor: Jakob Gahde <[email protected]> + +pkgname=pencil2d +pkgver=0.6.4 +pkgrel=2 +pkgdesc="Easy, intuitive tool to make 2D hand-drawn animations" +arch=(x86_64) +url="https://www.pencil2d.org/" +license=(GPL2) +depends=(hicolor-icon-theme qt5-multimedia qt5-svg qt5-xmlpatterns) +source=("$pkgname-$pkgver.tar.gz::https://github.com/pencil2d/pencil/archive/v${pkgver}.tar.gz" + "pencil2d.appdata.xml" + "qt5-5.15.patch") +sha256sums=('9be6d699cb5a960af89a10ee77dce33ddfe050eb3f0327a055e13f395d92afe6' + '8bf2cf68f0ca45a153e36d36defeb1f4602ec821bebb48dca8b8e6b4691f2eb8' + 'c148c3ac06cd9851c3ee032b3693dcf014097f96c21bbc5431b64ace40aff246') + +prepare() { + cd pencil-$pkgver + patch -Np1 -i ../qt5-5.15.patch +} + +build() { + cd pencil-$pkgver + qmake PREFIX=/usr + make +} + +package() { + cd pencil-$pkgver + make INSTALL_ROOT="$pkgdir" install + install -Dm644 ../pencil2d.appdata.xml "$pkgdir/usr/share/metainfo/pencil2d.appdata.xml" +} Added: pencil2d/trunk/pencil2d.appdata.xml =================================================================== --- pencil2d/trunk/pencil2d.appdata.xml (rev 0) +++ pencil2d/trunk/pencil2d.appdata.xml 2020-06-13 15:12:09 UTC (rev 642868) @@ -0,0 +1,56 @@ +<?xml version="1.0" encoding="UTF-8"?> +<component type="desktop"> + <id>org.pencil2d.Pencil2D</id> + <launchable type="desktop-id">pencil2d.desktop</launchable> + <name>Pencil2D</name> + <developer_name>The Pencil2D Team</developer_name> + <metadata_license>CC0-1.0</metadata_license> + <project_license>GPL-2.0</project_license> + <summary>2D animation software supporting bitmap and vector graphics</summary> + <description> + <p> + Pencil2D is a 2D animation program that lets you easily create + hand-drawn graphics using both bitmap and vector graphics. + </p> + </description> + <url type="homepage">https://www.pencil2d.org/</url> + <url type="bugtracker">https://github.com/pencil2d/pencil/issues</url> + <url type="faq">https://www.pencil2d.org/doc/faq.html</url> + <url type="help">https://www.pencil2d.org/doc/</url> + <url type="translate">https://www.transifex.com/pencil2d/pencil2d/</url> + <url type="contact">https://www.pencil2d.org/community/</url> + <screenshots> + <screenshot type="default"> + <image>https://www.pencil2d.org/images/pencil2d-linux.png</image> + </screenshot> + </screenshots> + <content_rating type="oars-1.1"/> + <releases> + <release version="0.6.4" date="2019-06-03"> + <url type="details">https://www.pencil2d.org/2019/05/pencil2d-0.6.4-release.html</url> + </release> + <release version="0.6.3" date="2019-03-17"> + <url type="details">https://www.pencil2d.org/2019/03/pencil2d-0.6.3-release.html</url> + </release> + <release version="0.6.2" date="2018-09-26"> + <url type="details">https://www.pencil2d.org/2018/09/maintenance-release-0.6.2.html</url> + </release> + <release version="0.6.1.1" date="2018-04-16" urgency="high"/> + <release version="0.6.1" date="2018-04-15"> + <url type="details">https://www.pencil2d.org/2018/04/maintenance-release-0.6.1.html</url> + </release> + <release version="0.6.0" date="2017-11-30"> + <url type="details">https://www.pencil2d.org/2017/12/introducing-pencil2d-0.6.html</url> + </release> + <release version="0.5.4" date="2013-07-26"/> + <release version="0.5.3" date="2013-06-28"/> + </releases> + <provides> + <binary>pencil2d</binary> + </provides> + <recommends> + <control>pointing</control> + <control>keyboard</control> + <control>console</control> + </recommends> +</component> Added: pencil2d/trunk/qt5-5.15.patch =================================================================== --- pencil2d/trunk/qt5-5.15.patch (rev 0) +++ pencil2d/trunk/qt5-5.15.patch 2020-06-13 15:12:09 UTC (rev 642868) @@ -0,0 +1,36 @@ +diff --git a/core_lib/src/graphics/bitmap/bitmapimage.cpp b/core_lib/src/graphics/bitmap/bitmapimage.cpp +index 61b41df7e..90b2344ac 100644 +--- a/core_lib/src/graphics/bitmap/bitmapimage.cpp ++++ b/core_lib/src/graphics/bitmap/bitmapimage.cpp +@@ -20,6 +20,7 @@ GNU General Public License for more details. + #include <QDebug> + #include <QtMath> + #include <QFile> ++#include <QPainterPath> + #include "util.h" + + BitmapImage::BitmapImage() +diff --git a/core_lib/src/graphics/vector/beziercurve.cpp b/core_lib/src/graphics/vector/beziercurve.cpp +index 3d38f779b..f0641c26a 100644 +--- a/core_lib/src/graphics/vector/beziercurve.cpp ++++ b/core_lib/src/graphics/vector/beziercurve.cpp +@@ -22,6 +22,7 @@ GNU General Public License for more details. + + #include <cmath> + #include <QList> ++#include <QPainterPath> + #include "object.h" + #include "pencilerror.h" + +diff --git a/core_lib/src/managers/viewmanager.cpp b/core_lib/src/managers/viewmanager.cpp +index 4da36600a..e8d672d43 100644 +--- a/core_lib/src/managers/viewmanager.cpp ++++ b/core_lib/src/managers/viewmanager.cpp +@@ -15,6 +15,7 @@ GNU General Public License for more details. + + */ + ++#include <QPainterPath> + #include "viewmanager.h" + #include "editor.h" + #include "object.h"
