Projects
Multimedia
synfig
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 21
View file
synfig.spec
Changed
@@ -40,6 +40,7 @@ Patch0: synfig-1.0.2_debug.patch Patch1: synfig.gcc7.patch Patch2: synfig.magick7.patch +Patch3: synfig.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libboost_chrono-devel @@ -57,7 +58,7 @@ BuildRequires: pkgconfig(glibmm-2.4) >= 2.24.2 BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libxml++-2.6) -BuildRequires: pkgconfig(mlt++) +BuildRequires: pkgconfig(mlt++-7) BuildRequires: pkgconfig(pango) BuildRequires: pkgconfig(pangocairo) BuildRequires: pkgconfig(sigc++-2.0) @@ -146,11 +147,9 @@ %lang_package %prep -%setup -q -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 +%autosetup -p1 +%build # Don't compile in DATE and TIME BUILDDATE=$(LC_ALL=C date -ur %{_sourcedir}/%{name}.changes +'%b %d %Y') BUILDTIME=$(LC_ALL=C date -ur %{_sourcedir}/%{name}.changes +'%H:%M') @@ -158,8 +157,9 @@ -e "s/__TIME__/\"$BUILDTIME\"/" \ -i $(grep -rl '__DATE__\|__TIME__') -%build autoreconf -fiv +CFLAGS='%optflags -Wno-deprecated-declarations' +CXXFLAGS='%optflags -Wno-deprecated-declarations -Wno-deprecated-copy -std=gnu++11' %configure \ %{!?with_ffmpeg:--without-ffmpeg} \ %{!?with_fontconfig:--without-fontconfig} \
View file
synfig.patch
Added
@@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -448,7 +448,7 @@ PKG_CHECK_MODULES(LIBPANGO, pango pangoc + AC_MSG_ERROR( ** You need to install pango) + ) + +-PKG_CHECK_MODULES(MLTPP, mlt++,, ++PKG_CHECK_MODULES(MLTPP, mlt++-7,, + AC_MSG_ERROR( ** You need to install mlt++.) + ) + CONFIG_DEPS="$CONFIG_DEPS mlt++"
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.