Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mediaconch_plugin4rosetta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Harbor Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Preservation
mediaconch_plugin4rosetta
Commits
fc6b5804
Commit
fc6b5804
authored
1 year ago
by
Jens Steidl
Committed by
Andreas Romeyke
3 months ago
Browse files
Options
Downloads
Patches
Plain Diff
- refactor: updated & simplified for current SDKs, new JAR file name
parent
9ec29de1
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+8
-12
8 additions, 12 deletions
Makefile
with
8 additions
and
12 deletions
Makefile
+
8
−
12
View file @
fc6b5804
...
...
@@ -2,30 +2,26 @@
# Plugin, welches Matroska/FFv1 via mediaconch validiert
# Pfad zu Java
JAVAPATH
=
$(
wildcard /usr/lib/jvm/java-1.17.0-openjdk-
*
/bin/
)
JAVARELEASE
=
17
JAVAPATH
:
=
$(
wildcard /usr/lib/jvm/java-1.17.0-openjdk-
*
/bin/
)
JAVARELEASE
:
=
17
# Verwendete Rosetta-Version
# ROSETTAVERSION:=7.3.0
ROSETTAVERSION
:=
8.2.0
# Pfad zum Rosetta-SDK
ROSETTASDK
:=
/exlibris/dps/d4_1/system.dir/dps-sdk-
${
ROSETTAVERSION
}
/lib/
# Pfad zum Rosetta-SDK, Deposit-Module
ROSETTASDKDEPOSIT
:=
${
ROSETTASDK
}
/../dps-sdk-projects/dps-sdk-deposit/lib
ROSETTASDKPLUGINS
:=
${
ROSETTASDK
}
/../../bundled_plugins/
ROSETTASDKJARS
=
$(
shell find
${
ROSETTASDKDEPOSIT
}
-name
"*.jar"
)
ROSETTASDK
:=
/exlibris/dps/d4_1/system.dir/dps-sdk-
${
ROSETTAVERSION
}
/dps-sdk-projects/dps-sdk-deposit/lib/
# classpath
JUNITCLASSPATH
:=
/usr/share/java/junit4.jar
#SOURCESCLASSPATH=org/slub/rosetta/dps/repository/plugin/storage/nfs
CLASSPATH
:=
${
ROSETTASDKDEPOSIT
}
/dps-sdk-
${
ROSETTAVERSION
}
.jar
#BUILDPATH=$(CLASSPATH)
CLASSPATH
:=
$(
shell find
${
ROSETTASDK
}
-name
"*.jar"
-print
| xargs
echo
|
sed
-e
"s/ /:/g"
)
# sources
SOURCES
:=
java/org/slub/rosetta/dps/repository/plugin/SLUBMatroskaFFV1FormatValidationPlugin.java
PLUGINCLASS
:=
SLUBMatroskaFFV1FormatValidationPlugin
SOURCES
:=
java/org/slub/rosetta/dps/repository/plugin/
${
PLUGINCLASS
}
.java
OBJS
:=
$(
SOURCES:.java
=
.class
)
JAR
:=
SLUBMatroskaFFV1FormatValidationPlugin.jar
PLUGINVERSION
:=
$(
shell
grep
-o
"<version>.*</version>"
PLUGIN-INF/
*
.xml |
sed
-e
"s#<version>##g"
|
sed
-e
"s#</version>##g"
)
JAR
:=
${
PLUGINCLASS
}
-
${
PLUGINVERSION
}
_sdk-
${
ROSETTAVERSION
}
.jar
BUILD
:=
build/
all
:
$(BUILD) $(JAR)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment