Skip to content

Commit 3dfd770

Browse files
bring back snap but still fail afaik
1 parent 67ffea4 commit 3dfd770

10 files changed

+61
-89
lines changed

flatpak/org.ccextractor.gui.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"app-id": "org.ccextractor.Gui",
2+
"app-id": "com.example.ccxgui",
33
"runtime": "org.gnome.Platform",
44
"runtime-version": "40",
55
"sdk": "org.gnome.Sdk",

linux/flutter/generated_plugin_registrant.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Generated file. Do not edit.
33
//
44

5-
// clang-format off
6-
75
#include "generated_plugin_registrant.h"
86

97
#include <file_selector_linux/file_selector_plugin.h>

linux/flutter/generated_plugin_registrant.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Generated file. Do not edit.
33
//
44

5-
// clang-format off
6-
75
#ifndef GENERATED_PLUGIN_REGISTRANT_
86
#define GENERATED_PLUGIN_REGISTRANT_
97

pubspec.lock

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ packages:
2828
name: async
2929
url: "https://pub.dartlang.org"
3030
source: hosted
31-
version: "2.8.1"
31+
version: "2.6.1"
3232
bloc:
3333
dependency: "direct main"
3434
description:
@@ -56,7 +56,7 @@ packages:
5656
name: build
5757
url: "https://pub.dartlang.org"
5858
source: hosted
59-
version: "2.0.0"
59+
version: "2.1.0"
6060
build_config:
6161
dependency: transitive
6262
description:
@@ -84,14 +84,14 @@ packages:
8484
name: build_runner
8585
url: "https://pub.dartlang.org"
8686
source: hosted
87-
version: "2.0.3"
87+
version: "2.1.0"
8888
build_runner_core:
8989
dependency: transitive
9090
description:
9191
name: build_runner_core
9292
url: "https://pub.dartlang.org"
9393
source: hosted
94-
version: "7.0.0"
94+
version: "7.1.0"
9595
built_collection:
9696
dependency: transitive
9797
description:
@@ -119,7 +119,7 @@ packages:
119119
name: charcode
120120
url: "https://pub.dartlang.org"
121121
source: hosted
122-
version: "1.3.1"
122+
version: "1.2.0"
123123
checked_yaml:
124124
dependency: transitive
125125
description:
@@ -332,19 +332,12 @@ packages:
332332
source: hosted
333333
version: "2.0.0"
334334
hive:
335-
dependency: "direct main"
335+
dependency: transitive
336336
description:
337337
name: hive
338338
url: "https://pub.dartlang.org"
339339
source: hosted
340340
version: "2.0.4"
341-
hive_flutter:
342-
dependency: "direct main"
343-
description:
344-
name: hive_flutter
345-
url: "https://pub.dartlang.org"
346-
source: hosted
347-
version: "1.0.0"
348341
hive_generator:
349342
dependency: "direct dev"
350343
description:
@@ -437,7 +430,7 @@ packages:
437430
name: meta
438431
url: "https://pub.dartlang.org"
439432
source: hosted
440-
version: "1.7.0"
433+
version: "1.3.0"
441434
mime:
442435
dependency: transitive
443436
description:
@@ -717,21 +710,21 @@ packages:
717710
name: test
718711
url: "https://pub.dartlang.org"
719712
source: hosted
720-
version: "1.17.10"
713+
version: "1.16.8"
721714
test_api:
722715
dependency: transitive
723716
description:
724717
name: test_api
725718
url: "https://pub.dartlang.org"
726719
source: hosted
727-
version: "0.4.2"
720+
version: "0.3.0"
728721
test_core:
729722
dependency: transitive
730723
description:
731724
name: test_core
732725
url: "https://pub.dartlang.org"
733726
source: hosted
734-
version: "0.4.0"
727+
version: "0.3.19"
735728
timing:
736729
dependency: transitive
737730
description:

pubspec.yaml

Lines changed: 14 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,13 @@
11
name: ccxgui
22
description: A new Flutter project.
3-
4-
# The following line prevents the package from being accidentally published to
5-
# pub.dev using `pub publish`. This is preferred for private packages.
63
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
74

8-
# The following defines the version and build number for your application.
9-
# A version number is three numbers separated by dots, like 1.2.43
10-
# followed by an optional build number separated by a +.
11-
# Both the version and the builder number may be overridden in flutter
12-
# build by specifying --build-name and --build-number, respectively.
13-
# In Android, build-name is used as versionName while build-number used as versionCode.
14-
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
15-
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
16-
# Read more about iOS versioning at
17-
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
185
version: 1.0.0+1
196

207
environment:
218
sdk: ">=2.12.0 <3.0.0"
229

2310
dependencies:
24-
flutter:
25-
sdk: flutter
26-
localstorage:
27-
git:
28-
url: git://github.com/Techno-Disaster/flutter_localstorage.git
29-
navigation_rail:
30-
git:
31-
url: git://github.com/Techno-Disaster/navigation_rail.git
32-
window_size:
33-
git:
34-
url: git://github.com/google/flutter-desktop-embedding.git
35-
path: plugins/window_size
3611
bloc: ^7.0.0
3712
bloc_test: ^8.1.0
3813
cupertino_icons: ^1.0.2
@@ -41,58 +16,34 @@ dependencies:
4116
file_selector_linux: ^0.0.2+1
4217
file_selector_macos: ^0.0.4+1
4318
file_selector_windows: ^0.0.2+1
19+
flutter:
20+
sdk: flutter
4421
flutter_bloc: ^7.1.0
4522
flutter_markdown: ^0.6.3
4623
flutter_svg: ^0.22.0
47-
hive: ^2.0.4
48-
hive_flutter: ^1.0.0
4924
http: ^0.13.3
25+
localstorage:
26+
git:
27+
url: git://github.com/Techno-Disaster/flutter_localstorage.git
28+
navigation_rail:
29+
git:
30+
url: git://github.com/Techno-Disaster/navigation_rail.git
5031
path_provider: ^2.0.2
5132
percent_indicator: ^3.0.1
5233
url_launcher: ^6.0.9
34+
window_size:
35+
git:
36+
url: git://github.com/google/flutter-desktop-embedding.git
37+
path: plugins/window_size
5338
dev_dependencies:
5439
flutter_test:
5540
sdk: flutter
56-
build_runner: ^2.0.3
41+
build_runner: ^2.1.0
5742
hive_generator: ^1.1.0
5843
import_sorter: ^4.6.0
5944

60-
# For information on the generic Dart part of this file, see the
61-
# following page: https://dart.dev/tools/pub/pubspec
62-
# The following section is specific to Flutter.
6345
flutter:
64-
65-
# The following line ensures that the Material Icons font is
66-
# included with your application, so that you can use the icons in
67-
# the material Icons class.
6846
uses-material-design: true
69-
7047
assets:
7148
- assets/
72-
# To add assets to your application, add an assets section, like this:
73-
# assets:
74-
# - images/a_dot_burr.jpeg
75-
# - images/a_dot_ham.jpeg
76-
# An image asset can refer to one or more resolution-specific "variants", see
77-
# https://flutter.dev/assets-and-images/#resolution-aware.
78-
# For details regarding adding assets from package dependencies, see
79-
# https://flutter.dev/assets-and-images/#from-packages
80-
# To add custom fonts to your application, add a fonts section here,
81-
# in this "flutter" section. Each entry in this list should have a
82-
# "family" key with the font family name, and a "fonts" key with a
83-
# list giving the asset and other descriptors for the font. For
84-
# example:
85-
# fonts:
86-
# - family: Schyler
87-
# fonts:
88-
# - asset: fonts/Schyler-Regular.ttf
89-
# - asset: fonts/Schyler-Italic.ttf
90-
# style: italic
91-
# - family: Trajan Pro
92-
# fonts:
93-
# - asset: fonts/TrajanPro.ttf
94-
# - asset: fonts/TrajanPro_Bold.ttf
95-
# weight: 700
96-
#
97-
# For details regarding fonts from package dependencies,
98-
# see https://flutter.dev/custom-fonts/#from-packages
49+

snap/gui/ccextractor-gui.desktop

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[Desktop Entry]
2+
Name=CCExtractpr GUI
3+
Comment=Extract subtitles from any media file.
4+
Exec=ccextractor-gui
5+
Icon=${SNAP}/meta/gui/ccextractor-gui.png
6+
Terminal=false
7+
Type=Application
8+
Categories=Media;

snap/gui/ccextractor-gui.png

28 KB
Loading

snap/snapcraft.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: ccextractor-gui
2+
version: 0.1.0
3+
summary: Extract subtitles from any media file.
4+
description: CCExtractor is the de-factor open source standard for closed captions / subtitles extraction from any media file. While the software itself belong to the niche category (main users being universities, media companies and enthusiasts) its output (meaning the .srt files it generates) is used by millions. If you've ever downloaded an external subtitle file for a TV show - most likely the original file came from CCExtractor.
5+
6+
confinement: strict
7+
base: core18
8+
grade: stable
9+
10+
slots:
11+
dbus-ccextractor-gui:
12+
interface: dbus
13+
bus: session
14+
name: org.bar.ccextractor_gui
15+
16+
apps:
17+
ccextractor-gui:
18+
command: ccextractor_gui
19+
extensions: [flutter-master]
20+
plugs:
21+
- network
22+
slots:
23+
- dbus-ccextractor-gui
24+
parts:
25+
ccextractor-gui:
26+
source: .
27+
plugin: flutter
28+
flutter-target: lib/main.dart

windows/flutter/generated_plugin_registrant.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Generated file. Do not edit.
33
//
44

5-
// clang-format off
6-
75
#include "generated_plugin_registrant.h"
86

97
#include <file_selector_windows/file_selector_plugin.h>

windows/flutter/generated_plugin_registrant.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Generated file. Do not edit.
33
//
44

5-
// clang-format off
6-
75
#ifndef GENERATED_PLUGIN_REGISTRANT_
86
#define GENERATED_PLUGIN_REGISTRANT_
97

0 commit comments

Comments
 (0)