Skip to content

Commit

Permalink
multimedia/openshot: Update to 3.1.0
Browse files Browse the repository at this point in the history
ChangeLog: https://www.openshot.org/blog/2023/04/06/new_openshot_release_310/

 * Improved Profiles (400+ Export Profiles, New Profile UI, and more)
 * Huge Time Remapping update (improved audio resampling, support for backwards
   audio, bezier curve support)
 * Improved Undo / Redo system, includes grouping actions (i.e. single undo for
   split-clips and similar multi-step edits)
 * Improved Preview & Split Clip dialog (correct aspect ratio, correct sample
   rate)
 * Improved Caption Effect (high DPI support, improved VTT support)
 * Memory leak fixes (clip caching, memory leak fixes, prevent zombie threads)
 * Improved Performance (FrameMapper & Clip objects now include extra caching
   and optimizations)
 * Improved Keyboard Bindings (arrow keys)
 * Bug fix for Blender Animated Titles using high FPS (incorrect duration)
 * Bug fix for Mac Chroma Key effect (babl color methods)
 * Bug fix for video preview widget resizing, to correctly clear cache
 * Bug fix for Automatic Transition Direction logic (i.e. correctly fade in/out
   based on where the transition is dropped)
 * Fixed issue with AppImage to support newer distros (related to glibc
   compatibility)
 * Improved About dialog (release notes link, remove "candidate" for official
   releases)
 * Expanded default Emojis (adding in Arrows, Shapes, and Brands)
 * Improved File Properties Dialog, to handle replacing files and thumbnails,
   and better support for changing FPS
 * Updated language translations
 * Updated supporters and donors
 * Updated docs / user-guide

PR:		270763
Reported by:	tatsuki_makino@hotmail.com
  • Loading branch information
tatsuki-makino authored and Fernando Apesteguía committed Apr 15, 2023
1 parent 777e6c7 commit 4876c61
Show file tree
Hide file tree
Showing 5 changed files with 1,484 additions and 109 deletions.
7 changes: 3 additions & 4 deletions multimedia/openshot/Makefile
@@ -1,7 +1,6 @@
PORTNAME= openshot
DISTVERSIONPREFIX= v
DISTVERSION= 3.0.0
PORTREVISION= 1
DISTVERSION= 3.1.0
CATEGORIES= multimedia

MAINTAINER= tatsuki_makino@hotmail.com
Expand All @@ -12,7 +11,7 @@ LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING

BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libopenshot>=0.3.0:multimedia/libopenshot@${PY_FLAVOR} \
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libopenshot>=0.3.1:multimedia/libopenshot@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sentry-sdk>=0:devel/py-sentry-sdk@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyzmq>=0:net/py-pyzmq@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}distro>=0:sysutils/py-distro@${PY_FLAVOR} \
Expand Down Expand Up @@ -44,6 +43,6 @@ do-build-DOCS-on:

do-install-DOCS-on:
@(cd ${INSTALL_WRKSRC}/doc/_build &&\
${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR})
${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR} "-not -name \.*")

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions multimedia/openshot/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1670814000
SHA256 (OpenShot-openshot-qt-v3.0.0_GH0.tar.gz) = 9a6b76ebb32f34722a30af0cafeea2dee1ef11daef1d7c9c73ba9b1350ea57f9
SIZE (OpenShot-openshot-qt-v3.0.0_GH0.tar.gz) = 92552771
TIMESTAMP = 1681095600
SHA256 (OpenShot-openshot-qt-v3.1.0_GH0.tar.gz) = 0522bd6c7d2b254e598d0ed53e7b6b8d7af566e6242f1d2af22c281807fc3f9a
SIZE (OpenShot-openshot-qt-v3.1.0_GH0.tar.gz) = 95780829
48 changes: 28 additions & 20 deletions multimedia/openshot/files/patch-setup.py
@@ -1,4 +1,4 @@
--- setup.py.orig 2020-06-15 23:50:00 UTC
--- setup.py.orig 2023-04-01 07:04:04 UTC
+++ setup.py
@@ -68,7 +68,7 @@ os_files = [
# AppStream metadata
Expand All @@ -18,30 +18,38 @@
]

# Find files matching patterns
@@ -120,26 +120,6 @@ if os.path.exists(os.path.join(PATH, "src")):
FAILED = 'Failed to update.\n'

@@ -122,22 +122,28 @@ FAILED = 'Failed to update.\n'
if ROOT and dist != None:
- # update the XDG Shared MIME-Info database cache
- try:
# update the XDG Shared MIME-Info database cache
try:
- sys.stdout.write('Updating the Shared MIME-Info database cache.\n')
- subprocess.call(["update-mime-database", os.path.join(sys.prefix, "share/mime/")])
- except:
- sys.stderr.write(FAILED)
-
- # update the mime.types database
- try:
+ # It would be executed with a pkg trigger of USES=shared-mime-info
+ #sys.stdout.write('Updating the Shared MIME-Info database cache.\n')
+ #subprocess.call(["update-mime-database", os.path.join(sys.prefix, "share/mime/")])
+ pass
except:
sys.stderr.write(FAILED)

# update the mime.types database
try:
- sys.stdout.write('Updating the mime.types database\n')
- subprocess.call("update-mime")
- except:
- sys.stderr.write(FAILED)
-
- # update the XDG .desktop file database
- try:
+ # It is provided by mime-support:misc/mime-support but not installed
+ #sys.stdout.write('Updating the mime.types database\n')
+ #subprocess.call("update-mime")
+ pass
except:
sys.stderr.write(FAILED)

# update the XDG .desktop file database
try:
- sys.stdout.write('Updating the .desktop file database.\n')
- subprocess.call(["update-desktop-database"])
- except:
- sys.stderr.write(FAILED)
+ # It would be executed with a pkg trigger of USES=desktop-file-utils
+ #sys.stdout.write('Updating the .desktop file database.\n')
+ #subprocess.call(["update-desktop-database"])
+ pass
except:
sys.stderr.write(FAILED)
sys.stdout.write("\n-----------------------------------------------")
sys.stdout.write("\nInstallation Finished!")
sys.stdout.write("\nRun OpenShot by typing 'openshot-qt' or through the Applications menu.")
4 changes: 2 additions & 2 deletions multimedia/openshot/files/patch-src_windows_preferences.py
@@ -1,6 +1,6 @@
--- src/windows/preferences.py.orig 2022-12-08 21:31:12 UTC
--- src/windows/preferences.py.orig 2023-04-01 07:04:04 UTC
+++ src/windows/preferences.py
@@ -315,7 +315,7 @@ class Preferences(QDialog):
@@ -318,7 +318,7 @@ class Preferences(QDialog):
value_list.remove(value_item)
elif os_platform == "Windows" and v not in ("0", "3", "4"):
value_list.remove(value_item)
Expand Down

0 comments on commit 4876c61

Please sign in to comment.