1 | name: vcard-studio
|
---|
2 | title: vCard Studio
|
---|
3 | version: '1.6.0'
|
---|
4 | summary: A contact management application with support for vCard file format.
|
---|
5 | description: |
|
---|
6 | A contact management application with support for vCard file format (.vcf).
|
---|
7 |
|
---|
8 | **Features**:
|
---|
9 | * Add, Edit, Clone or Remove contacts and contact properties
|
---|
10 | * Shows contact fields in multiple tabs General, Home, Work, Social, Chat and Others
|
---|
11 | * Contact photo displayed and can be changed (supported image types JPEG, PNG, GIF and BMP)
|
---|
12 | * Quick filter by table columns in contacts list
|
---|
13 | * Combine multiple contact files together
|
---|
14 | * Split contacts to separate files
|
---|
15 | * Find any value in contacts
|
---|
16 | * Find duplicate contacts to merge
|
---|
17 | * Copy, Cut and Paste contacts from/to clipboard
|
---|
18 | * Multilingual interface (English, Czech, Swedish)
|
---|
19 | * Contact QR code
|
---|
20 | * View contact source with syntax highlighting
|
---|
21 | * Export to CSV, XML, MediaWiki, Excel, JSON, HTML and plain text.
|
---|
22 | * Import from CSV, XML, MediaWiki and JSON.
|
---|
23 | * Compare with another vCard file.
|
---|
24 | confinement: strict
|
---|
25 | base: core20
|
---|
26 | grade: stable
|
---|
27 | icon: "Images/vCard Studio.png"
|
---|
28 | license: NLPL
|
---|
29 |
|
---|
30 | parts:
|
---|
31 | lazarus:
|
---|
32 | plugin: nil
|
---|
33 | source: .
|
---|
34 | source-type: local
|
---|
35 | build-packages:
|
---|
36 | - wget
|
---|
37 | - libgtk2.0-dev
|
---|
38 | override-build: |
|
---|
39 | wget -nc https://downloads.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%203.4/lazarus-project_3.4.0-0_amd64.deb
|
---|
40 | wget -nc https://downloads.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%203.4/fpc-laz_3.2.2-210709_amd64.deb
|
---|
41 | wget -nc https://downloads.sourceforge.net/project/lazarus/Lazarus%20Linux%20amd64%20DEB/Lazarus%203.4/fpc-src_3.2.2-210709_amd64.deb
|
---|
42 | apt install ./lazarus-project_3.4.0-0_amd64.deb ./fpc-laz_3.2.2-210709_amd64.deb ./fpc-src_3.2.2-210709_amd64.deb
|
---|
43 | prime: [-*]
|
---|
44 | vcard-studio:
|
---|
45 | plugin: nil
|
---|
46 | source: .
|
---|
47 | source-type: local
|
---|
48 | override-build: |
|
---|
49 | snapcraftctl build
|
---|
50 | lazbuild --build-mode=Release vCardStudio.lpi
|
---|
51 | install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/bin
|
---|
52 | install -s -m 755 vCardStudio $SNAPCRAFT_PART_INSTALL/usr/bin/vCardStudio
|
---|
53 | install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/vCardStudio/Languages
|
---|
54 | install -m 755 Languages/*.po $SNAPCRAFT_PART_INSTALL/usr/share/vCardStudio/Languages
|
---|
55 | install -m 755 Packages/Common/Languages/*.po $SNAPCRAFT_PART_INSTALL/usr/share/vCardStudio/Languages
|
---|
56 | install -m 755 Packages/VCard/Languages/*.po $SNAPCRAFT_PART_INSTALL/usr/share/vCardStudio/Languages
|
---|
57 | install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/vCardStudio/Images
|
---|
58 | install -m 755 Images/Profile.png $SNAPCRAFT_PART_INSTALL/usr/share/vCardStudio/Images
|
---|
59 | install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/applications
|
---|
60 | install -m 755 Install/snap/local/vCardStudio.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications
|
---|
61 | install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
|
---|
62 | install -m 755 Images/vCard\ Studio.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
|
---|
63 | after:
|
---|
64 | - lazarus
|
---|
65 | - desktop-gtk2
|
---|
66 | stage:
|
---|
67 | - etc
|
---|
68 | - usr
|
---|
69 | - usr/bin
|
---|
70 | - usr/share/vCardStudio
|
---|
71 | - usr/share/applications/vCardStudio.desktop
|
---|
72 | - usr/share/pixmaps
|
---|
73 | stage-packages:
|
---|
74 | - libatk1.0-0
|
---|
75 | - libcairo2
|
---|
76 | - libdatrie1
|
---|
77 | - libfontconfig1
|
---|
78 | - libfreetype6
|
---|
79 | - libfribidi0
|
---|
80 | - libgdk-pixbuf2.0-0
|
---|
81 | - libgraphite2-3
|
---|
82 | - libgtk2.0-0
|
---|
83 | - libharfbuzz0b
|
---|
84 | - libpango-1.0-0
|
---|
85 | - libpangocairo-1.0-0
|
---|
86 | - libpangoft2-1.0-0
|
---|
87 | - libpixman-1-0
|
---|
88 | - libpng16-16
|
---|
89 | - libthai0
|
---|
90 | - libx11-6
|
---|
91 | - libxau6
|
---|
92 | - libxcb-render0
|
---|
93 | - libxcb-shm0
|
---|
94 | - libxcb1
|
---|
95 | - libxcomposite1
|
---|
96 | - libxcursor1
|
---|
97 | - libxdamage1
|
---|
98 | - libxdmcp6
|
---|
99 | - libxext6
|
---|
100 | - libxfixes3
|
---|
101 | - libxi6
|
---|
102 | - libxinerama1
|
---|
103 | - libxrandr2
|
---|
104 | - libxrender1
|
---|
105 |
|
---|
106 | desktop-gtk2:
|
---|
107 | source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
|
---|
108 | source-subdir: gtk
|
---|
109 | plugin: make
|
---|
110 | make-parameters: ["FLAVOR=gtk2"]
|
---|
111 | build-packages:
|
---|
112 | - build-essential
|
---|
113 | - libgtk2.0-dev
|
---|
114 | stage-packages:
|
---|
115 | - libxkbcommon0 # XKB_CONFIG_ROOT
|
---|
116 | - ttf-ubuntu-font-family
|
---|
117 | - dmz-cursor-theme
|
---|
118 | - light-themes
|
---|
119 | - adwaita-icon-theme
|
---|
120 | - gnome-themes-standard
|
---|
121 | - shared-mime-info
|
---|
122 | - libgtk2.0-0
|
---|
123 | - libgdk-pixbuf2.0-0
|
---|
124 | - libglib2.0-bin
|
---|
125 | - libgtk2.0-bin
|
---|
126 | - unity-gtk2-module
|
---|
127 | - locales-all
|
---|
128 | - libappindicator1
|
---|
129 | - xdg-user-dirs
|
---|
130 | - ibus-gtk
|
---|
131 | - libibus-1.0-5
|
---|
132 |
|
---|
133 | # Additional plugs to pick up the GTK theme and icons from the system
|
---|
134 | plugs:
|
---|
135 | icon-themes:
|
---|
136 | interface: content
|
---|
137 | target: $SNAP/data-dir/icons
|
---|
138 | default-provider: gtk-common-themes
|
---|
139 | sound-themes:
|
---|
140 | interface: content
|
---|
141 | target: $SNAP/data-dir/sounds
|
---|
142 | default-provider: gtk-common-themes
|
---|
143 | gtk-2-engines:
|
---|
144 | interface: content
|
---|
145 | target: $SNAP/lib/gtk-2.0
|
---|
146 | default-provider: gtk2-common-themes:gtk-2-engines
|
---|
147 | gtk-2-themes:
|
---|
148 | interface: content
|
---|
149 | target: $SNAP/usr/share/themes
|
---|
150 | default-provider: gtk2-common-themes:gtk-2-themes
|
---|
151 |
|
---|
152 | environment:
|
---|
153 | XDG_DATA_DIRS: $SNAP/usr/share:$XDG_DATA_DIRS
|
---|
154 | GTK_PATH: $SNAP/lib/gtk-2.0
|
---|
155 |
|
---|
156 | apps:
|
---|
157 | vcard-studio:
|
---|
158 | command: usr/bin/vCardStudio
|
---|
159 | command-chain:
|
---|
160 | - bin/desktop-launch
|
---|
161 | desktop: usr/share/applications/vCardStudio.desktop
|
---|
162 | plugs:
|
---|
163 | - desktop
|
---|
164 | - x11
|
---|
165 | - home
|
---|
166 |
|
---|
167 | layout:
|
---|
168 | /usr/share/vCardStudio:
|
---|
169 | bind: $SNAP/usr/share/vCardStudio
|
---|