New package: synfigstudio-1.2.1

Closes: #10482 [via git-merge-pr]
This commit is contained in:
newbluemoon 2018-01-05 09:26:59 +01:00 committed by Jürgen Buchmüller
parent 6307fba82d
commit d340a612ca
3 changed files with 54 additions and 0 deletions

1
srcpkgs/synfigstudio-devel Symbolic link
View file

@ -0,0 +1 @@
synfigstudio

View file

@ -0,0 +1,26 @@
--- src/gui/app.cpp.orig 2017-09-09 05:03:59.000000000 +0200
+++ src/gui/app.cpp 2017-11-13 07:17:16.769223845 +0100
@@ -153,6 +153,10 @@
#endif
+#ifndef ACCESSPERMS
+# define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO) /* 0777 */
+#endif
+
/* === U S I N G =========================================================== */
using namespace std;
--- src/gui/autorecover.cpp.orig 2017-09-08 11:51:26.000000000 +0200
+++ src/gui/autorecover.cpp 2017-11-13 07:21:41.550697678 +0100
@@ -75,6 +75,10 @@
#endif
+#ifndef ACCESSPERMS
+# define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO) /* 0777 */
+#endif
+
/* === U S I N G =========================================================== */
using namespace std;

View file

@ -0,0 +1,27 @@
# Template file for 'synfigstudio'
pkgname=synfigstudio
version=1.2.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config intltool gettext"
makedepends="ETL synfig-devel gtkmm-devel libltdl-devel boost-devel"
short_desc="Vector based 2D animation studio"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-3"
homepage="http://www.synfig.org/"
distfiles="${SOURCEFORGE_SITE}/synfig/releases/${version}/source/synfigstudio-${version}.tar.gz"
checksum=1a97875e0039895604085649bcd30cf0d6165f4c865299ca13d45d2dfbfab05d
if [ -n "$CROSS_BUILD" ]; then
# uses synfig to create some icons
hostmakedepends+=" synfig"
fi
synfigstudio-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}